5 reputation
1
bio website
location
age
visits member for 1 year, 7 months
seen Oct 16 at 20:13

Mar
26
accepted Show specific content on parent custom post type and all children
Mar
26
comment Show specific content on parent custom post type and all children
I ended up changing is_page to is_single and that did the trick. Thanks again for the help!
Mar
26
comment Show specific content on parent custom post type and all children
Thanks! It's showing the content on the child pages but not the parent. How do I show it on the parent as well? Thanks for your help.
Mar
26
comment Show specific content on parent custom post type and all children
Yes, that's correct.
Mar
26
comment Show specific content on parent custom post type and all children
Sorry it was unclear. If I have a custom post type named Markets and under Markets are 5 posts (auto, aerospace, marine, rail, energy). if, say, Rail, needs a menu in the sidebar on the parent and all children then I am looking for a conditional statement that will show the menu only on those specific pages. I am using one template file named "single-market.php". Is that clearer?
Mar
26
asked Show specific content on parent custom post type and all children
Mar
2
awarded  Scholar
Mar
2
comment Option to feature custom post type on home page
Thank you. This is perfect.
Mar
2
accepted Option to feature custom post type on home page
Mar
1
asked Option to feature custom post type on home page