Forums
Home / Fixing WordPress / sidebar for post type and category
(@patrickquirke)
9 years, 8 months ago
I am wanting to show a sidebar based on a certain post type (news) and Category slug or ID e.g pediatrics or ID 24 using the single.php page
I know it is an if else statement I just don;t know how to write it.
(@janet4now)
Instructions for this are here: http://codex.wordpress.org/Conditional_Tags