- This topic has 7 replies, 2 voices, and was last updated 1 year ago by Tom.
October 16, 2020 at 4:35 am #1491750Paul
I’ve created a CPT using the Post Types Unlimited plugin. This has a taxonomy called Section, and a post type called Article.
I have the Taxonomy page using a basic WPSP list:
On that page, the Header element assigned isn’t displayed. And it also seems to be using a right sidebar layout. I’ve tried removing
generate_construct_sidebars();from my taxonomy-section.php file but the sidebar area remains. I’ve also tried creating a Layout element with content(no sidebars) but that doesn’t make a difference either.
How can I get the Header and Layout elements to apply?
They do apply on an Article page:
Excuse the slight look of disrepair the site is in, I’m trying to nail down the functionality first.
I may need more help to display related posts on individual articles as they don’t display either but I’ll raise a seperate request for that.
Paul.October 16, 2020 at 10:01 am #1492316TomLead DeveloperLead DeveloperOctober 17, 2020 at 2:07 am #1492871Paul
The article header applies, the section header does not.
Paul.October 17, 2020 at 11:28 am #1493518TomLead DeveloperLead Developer
Is there an Article Section Archive option in Display Rules? Right now it looks like it’s only set the About page and single posts inside the Article Section taxonomy.October 18, 2020 at 10:29 am #1494550Paul
No, under the Articles subheader for display rules I have ‘Article’ and ‘Article Section’.October 18, 2020 at 12:27 pm #1494703TomLead DeveloperLead DeveloperOctober 19, 2020 at 2:29 am #1495192Paul
I hadn’t enabled the ‘has archive’ option on the CPT. All working now, thanks for your help.October 19, 2020 at 9:43 am #1495865
- You must be logged in to reply to this topic.