Site logo

Archived topic

Taxonomy Post Archive Content template - Dynamic content

3 replies · Started by Alfredo on April 2, 2023

Viewing posts 1–4 of 4

I'm creating a content template for the post archive of a custom taxonomy "topics". And I have 2 problems:

1. I want to display the title of each topic dynamically but I'm not able to select "topics" inside "taxonomy". Maybe because I'm in the archive and not in a single post? Any way to go around it?

https://ibb.co/5xGRSSn

1. I would like to display the taxonomy custom field "category_image" to display a background image dynamically but I'm not able to do it from the interface either

I would like to format all these things from GB

Hi there,

1. for that list of terms, use the GP Dynamic Data options for now:

https://docs.generatepress.com/article/dynamic-data/

It has a free field for typing in your taxonomy.

2. so in the Content Template you want to display an image that is stored in a tax custom field?
Just want to be clear before i look for the code that would be required.

Thanks for your answer, David!

I figured out the 1st one. A little confusing that there are 3 different tools to use dynamic content. Would be so nice to have them all in the right panel so you can add them to any element you create

2. It is stored in a term custom field of the custom taxonomy to be exact

This archived topic is closed to new replies.