Site logo

[Support request] Field for category description

Home Forums Support [Support request] Field for category description

Home Forums Support Field for category description

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2559693
    andrea

    Hello I am trying to create an header for categories for a custom post type in my GeneratePress Template.

    This is the thing:
    – I wanto to create just one element and dynamically compile it with infos from each one of the 10 categories I have for this CPT;
    – I simply need to show the category description in those headers.

    The question is, how should I use the headline block/dynamic option in order to make this possible?

    Thanks!

    #2559725
    Fernando
    Customer Support

    Hi Andrea,

    You can create a Block Element – Page Hero, and add Dynamic Blocks for the term meta.

    Example: https://share.getcloudapp.com/yAuJoB96

    Reference: https://docs.generatepress.com/article/dynamic-blocks/#dynamic-content

    #2559742
    andrea

    Hi Fernando, perfect, I was already on the right way.

    How can I find the right meta field name?

    #2559957
    David
    Staff
    Customer Support

    Hi there,

    is this in a element ? If so use the GP Dynamic Content block as that has an option to display: Term Description

    #2560110
    andrea

    Maybe I am not beeing able to let you guys understand, sorry…

    I want the headline to show a “category description” which is a standard field that wordpress generates for a category when you create one. I am having an hard time to understand which is the exact “meta field name” that I have to use to do so.

    Have a look at the comment I left here
    https://share.getcloudapp.com/yAuJoB96

    #2560340
    David
    Staff
    Customer Support

    The Term Description isn’t stored in the Term Meta, so you cannot display it in a Headline Block.
    Today, you need to add a GP Dynamic Content Block instead.
    If you want to format the typography, then add the block inside a Container Block and use its Typography settings.

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