free tuts

There are few ways to display Custom Post Type posts of specific category. Here are two ways displaying posts with featured image and post title:

where we show 3 posts from CPT “the_specials”, taxonomy “recommended” and taxonomy term “recommended”.

where we show 3 posts from CPT “the_shop”, taxonomy… continue reading Display CPT posts from specific category

By default number of posts in certain category comes included into parenthesis. Sometimes we want to remove it and style post number count. To do that we need to add simple function to page or sidebar (depends where we want to populate category list):


Depends, whether we… continue reading Removing parenthesis and styling post categories list

Unlike normal posts categories list where categories are populated with simple function

or just with default widget “Categories”, CPT categories require more work to be populated on page or on sidebar. Assuming that we already created CPT function (or better plugin) where we registered CPT and related taxonomy (categories… continue reading Creating, populating and styling Custom Post Type categories