[Plugin: Widget Logic] Conditional tags for Custom Post Types
I need to show certain widgets on some of the Custom post types and hide them on some others. What conditional tags I can use for Custom Post Types?
get_post_type() post_type_exists() is_post_type_hierarchical($post_type) is_post_type_hierarchical('book')
I have used these ones but it seems none of them work. Are these the right conditional tags?
- The topic ‘[Plugin: Widget Logic] Conditional tags for Custom Post Types’ is closed to new replies.