Conditional tags for custom post types? (2 posts)

  1. bwinn
    Posted 4 years ago #

    I am trying to get categories to show up on a clients blog, but we are also using Cart66, which uses custom post types for products. The problem I am having is that the categories are showing up in the sidebar of the products (because they are posts) and I only want them to show in the blog.

    Is there a conditional statement that will allow me to do something like this?

    If custom post type = show this?

    I have tried a few things I found in the codex but had no luck.


Topic Closed

This topic has been closed to new replies.

About this Topic