Site logo

[Support request] Custom Taxonomy Page with Full Block Capabilities

Home Forums Support [Support request] Custom Taxonomy Page with Full Block Capabilities

Home Forums Support Custom Taxonomy Page with Full Block Capabilities

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2443267
    Jim

    Hello,

    My site uses a custom taxonomy. For a handful of the most important taxonomy terms, I’d like to display a completely customized page that includes a full-length article and blocks, depending on the specific taxonomy term. At the bottom of the page, I’d still like to include a list of all articles like a standard archive page. So for example, if I had a taxonomy for animals, I might have something like this:

    example.com/animal/giraffe (archive template)
    example.com/animal/zebra (archive template)
    example.com/animal/elephant (custom static page with full block capability)

    It reminds me of the standard Reading setting in WordPress that allows you to specify whether you want your homepage to display your latest posts or a static page. It would be amazing if taxonomy terms had the same option.

    Any suggestions on a high-level approach to achieve this? Not asking for a full solution. Just a high-level approach that’s efficient and aligned with the way GeneratePress does things.

    #2443460
    Ying
    Staff
    Customer Support

    Hi Jim,

    Try using a block element, and choose loop_template as the element type, assign it to the CPT taxonomy archive as location.

    You can add all the blocks you want, then add a GB query loop block to display the default archive loop.

    This block element will replace the default archive loop completely.

    #2443494
    Jim

    Hi Ying,

    Thanks so much. This looks promising. I tried adding a block element, but when I try to select the element type, I don’t see loop-template as an option:

    https://app.screencast.com/D6ReDcP2J3C4v

    Is that only available in newer versions of GP?

    #2443516
    Ying
    Staff
    Customer Support

    Are your GP theme and GP premium plugin up to date? Yes, it’s a new option.

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