Blog

Yoast Breadcrumbs for Custom Post Types and Blog Posts

There are a couple tricky settings that affect how Yoast’s breadcrumbs display for Custom Post Types and Blog Posts. It can be a bit frustrating when breadcrumbs are not displaying correctly and you don’t know why. I figured out today, it’s all in the settings. Custom Post Types Breadcrumbs When…

Ensure Form Notification Emails don’t end up in Spam.

If you are relying on an email notification to let you know someone filled out your contact form, you better be sure that notification arrives in your inbox and doesn’t get trapped in spam – or worse, never makes it to your email at all. Because of spammers and scammers,…

Events Calendar tribe_get_events and timezones

Today I spent a frustratingly amount of time trying to list upcoming Events Calendar events on a website, and getting them to stay listed through the start and end time of the event. The reason why events were falling off early is because of the timezone. Events Calendar’s documentation (which…

Deleting Pages and SEO

When you have a page on the site that isn’t relevant anymore, what should you do? The page is indexed by Google so might show up in Google searches and other sites might have linked to it, but so-and-so is no longer with your company or the event has passed….

Setting up Google Cloud Platform Account for Maps

Every site that embeds Google Maps through Google’s Maps APIs is now required to be associated with a Billing account. The Billing account is set up in Google’s Cloud Platform. Every account receives $200 in free credits per month. For most sites, the $200 credit covers the costs associated with…

WordPress’ Privacy Policy Guide

WordPress 4.9.6 included the following Privacy Policy Guide. It is a bit buried in the admin though (/wp-admin/tools.php?wp-privacy-policy-guide) so I copied it here for clients to view.  It is intended to help create a Privacy Policy that complies with the new GDPR. Below is copied from WordPress’ Privacy Policy Guide…

Remove Post Tags from WordPress Admin

Remove from Posts sub menu in left side WordPress Admin Menu: function unbox_change_menus () { remove_submenu_page( ‘edit.php’, ‘edit-tags.php?taxonomy=post_tag’ ); } add_action(‘admin_menu’, ‘unbox_change_menus’); Remove Tags column from List of Posts in Admin: add_filter(‘manage_posts_columns’, ‘unbox_custom_columns_posts’); function unbox_custom_columns_posts( $defaults ) { unset($defaults[‘tags’]); //remove tags return $defaults; } Remove Tags Side Box when editing/creating…

Single Post Template Functions

Get the date – always prints date even if on second post on same day. $post_id is optional if inside of posts loop. See Formatting_Date_and_Time for $format value. <?php $date = get_the_date( $format, $post_id ); ?> does not print date if displaying second post on same day in loop. <?php the_date()…