I just need to say in single.php if post type = x then display y. Else, don't display it.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
Should do it, alternately you can use templates to handle that, which wordpress has setup pretty well by default. See the codex page on template hierarchy, specifically I find the visual overview to be quite useful. |
|||
|
|
|
Is this what you're looking for? (where 'product' would be the post type)
|
|||
|
|
|
It depends a bit on what exactly |
|||
|
|
