Exclude category

There are a few ways you can exclude posts in certain categories from your listings. By Category ID By default, the category_id parameter limits results to posts IN these categories. For instance, displays posts in the category with an ID of 123. You can use negative numbers to exclude categories. If you want posts in […]

Include the post categories in the listing

Display Posts can include a list of terms associated with each post in the listing. These can be categories, tags, or any custom taxonomy. If you set category_display=”true” it will include a listing of the categories. You can also list tags ( category_display=”post_tag”) or any custom taxonomy ( category_display=”taxonomy_name”). Here’s an example from this site. […]