in the options table: siteurl – is optionally the subdirectory where wp-config etc. live home – is the address the user types in to see the home page. in index.php /** Loads the WordPress Environment and Template */ require(‘./my_subdir/wp-blog-header.php’); in wp-config: /** Absolute path to the WordPress directory. */ if ( !defined(‘ABSPATH’) ) define(‘ABSPATH’, dirname(__FILE__) […]
No Frills Pdf Button
function pdf_button_filter( $content ) { $pre_content = $post_content = ‘<a class=”pdf-button btn” href=”javascript:pdf_url=location.href;location.href=\’http://pdfmyurl.com?s=l&url=\’+escape(pdf_url)”>A pdf button!</a>’; $content = $pre_content . $content . $post_content; return $content; } function add_pdf_button_content(){//whatever template condition you want here //if(is_single())//for just posts //if(is_page())//for just pages if(is_singular( ‘park’ ))// park is the custom post type add_filter(‘the_content’, ‘pdf_button_filter’, 1); } add_action(‘template_redirect’, ‘add_pdf_button_content’);
Favorite Google Fonts
Alegreya SC (small caps) Alegreya Sans SC (small caps) Alex Brush Allura Antic Slab Cinzel Raleway Gruppo Indie Flower Gloria Hallelujah Poiret One Dancing Script Questrial Audiowide Special Elite Philosopher Playball PT Sans Caption Rock Salt Orbitron Calligraffitti Parisienne Pinyon Script Nixie One UnifrakturCook Yanone Kaffeesatz (indian type foundry)
Broken Link Checker
I try to avoid unnecessary plugins. To that end I use http://www.brokenlinkcheck.com to check for broken links.
Required Plugins
You need these unless their functionality is being replaced by something else in hosting. Block Navigation Blocks CSS: CSS Editor for Gutenberg Blocks Easy Google Fonts Block Libraries Getwid – Gutenberg Blocks Gutenberg Blocks by Kadence Blocks Ultimate Addons for Gutenberg Wordfence Security Google Analytics Redirection WordPress SEO (by Yoast)
Social Sharing Toolkit
I used to use the Share and Follow plugin for social icon display, but support for it (at least on the repository) has ceased. I really liked the fixed tab on the side of the page that Share and Follow provided. My solution as a replacement is The Social Share Toolkit. It has options to […]
Xara Designer (Free 30-day Trial)
I would have to say my favorite little known piece of software is a vector graphics program called Xara Designer. I have all the Adobe Suite software, even taken college courses in their use (which is a necessity due to their complexity). Xara as a vector program renders on screen faster than Illustrator and shows […]