Tag Archive: get_post_type

Checking for A Specific Post Type in WordPress


Conditional Tags are one of my all-time favorite tools to use when developing a WordPress theme.  It's an intelligent use of programming logic that allows even non-coders to grasp the basics and, in turn, create complex and functional WordPress themes.  With the advent of custom post types, a method was needed to check for the presence of a certain post type, and display the…

Continue Reading