Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

category name and category description in Dynamic data

  • Hi,

    I’m trying to create a custom category page.
    At the top I want the categorys name exampel “Pillows”, and under the heading I want the category description.
    I’m using the Headline block, and trying to access the name and the description in Dynamic data, but it doesn’t seems to work.
    I have figured out how to get category description with using the old block “Dynamic Content” and choosing “Term description”. But there is no where to find the category name field.
    I have been trying to use “Title” as content source in Dynamic content, but when doing that, it just pulls the title from the newest blogpost in that category.

    So how do I make a nice custom category archive page? 🙂

    Best regards
    Martin

  • hi there,

    To fetch the title of the category archive, try using the GP dynamic option in the floating bar, and set it to title:
    https://app.screencast.com/LoEPeUd83Z37x

  • Perfect thanks!
    Can I do the same with the category description or do I need to use the block ““Dynamic Content”? I rather use the heading block for more customization. 🙂

  • Hi there,

    for now you need to use the GP Dynamic Content block to display the Term Description.
    You can place it inside a GB Container Block, where you can apply styles including Typography and the dynamic content will inherit those styles.

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