[Resolved] Custom Post Type Taxonomy Page

Home Forums Support [Resolved] Custom Post Type Taxonomy Page

Home Forums Support Custom Post Type Taxonomy Page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1491750
    Paul

    Hi,

    I’ve created a CPT using the Post Types Unlimited plugin. This has a taxonomy called Section, and a post type called Article.

    Following the guide here:
    https://generatepress.com/forums/topic/create-custom-category-php-template-wp-show-posts-wpsp/#post-1491733

    I have the Taxonomy page using a basic WPSP list:
    https://style960.com/sites/nerccu/section/education/

    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:
    https://style960.com/sites/nerccu/article/cma-law/

    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.

    Thanks,
    Paul.

    #1492316
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Can you show us a screenshot of your Display Rules for both the Layout and Header Elements?

    Let us know ๐Ÿ™‚

    #1492871
    Paul

    Yeah sure…

    https://style960.com/sites/nerccu/element-section-header.JPG
    https://style960.com/sites/nerccu/element-article-header.JPG

    The article header applies, the section header does not.

    Thanks,
    Paul.

    #1493518
    Tom
    Lead Developer
    Lead 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.

    #1494550
    Paul

    No, under the Articles subheader for display rules I have ‘Article’ and ‘Article Section’.

    #1494703
    Tom
    Lead Developer
    Lead Developer

    There’s nothing for the Archives? Perhaps somewhere else in the list?

    Is the taxonomy/post type set to allow archives?

    #1495192
    Paul

    I hadn’t enabled the ‘has archive’ option on the CPT. All working now, thanks for your help.

    #1495865
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad I could help ๐Ÿ™‚

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.