Site logo

Archived topic

Showing custom taxonomy type below post?

1 reply · Started by Reuben on December 7, 2022

Viewing posts 1–2 of 2

Hi there,

Right now, at the bottom of each post, GeneratePress would show the categories and tags attached to each post. Apart from these, I also have a custom taxonomy called "type" which I would like to slot in after "Categories" but also before the "Leave a comment" wordings on the main page.

Is there an easy way for me to do so? I noticed the "generate_do_post_meta_item" function cannot be replaced via a child theme.

Hi Reuben,

You can use a block element and the headline block to dynamically pull the data from the custom taxonomy, then hook it using the generate_after_entry_content hook.

This archived topic is closed to new replies.