Site logo

Archived topic

Field for category description

5 replies · Started by andrea on March 8, 2023

Viewing posts 1–6 of 6

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!

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

How can I find the right meta field name?

Hi there,

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

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

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.

This archived topic is closed to new replies.