Category: WordPress

List Categories and Taxonomies in Template.

All regular Post Categories All Terms in Taxonomy

Single Post/CPT Category/Taxonomy Template Tags

Below are functions to display categories or taxonomies attached to a single post or custom post type. Some functions work only on the built in Post ‘category’. Others work on taxonomies which can be attached to the built in Post or a Custom Post Type. Display Single Post’s Categories Display Custom Taxonomies attached to Post […]

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 creating Custom Post Types with […]

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. Chances are, the best thing […]

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 (updated on 4/17/2019). Under each […]

Remove Post Tags from WordPress Admin

Remove from Posts sub menu in left side WordPress Admin Menu: Remove Tags column from List of Posts in Admin: Remove Tags Side Box when editing/creating post:

Single Post Template Functions

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. Does not print date if displaying second post on same day in loop, or second time used on single post. (For example, if you use this function to display the time and also […]

Retrieve Pages by Path or Template in WordPress

By Template: Check if got anything and use it from query above: By Path:

Do NOT follow this link or you will be banned from the site!