Archived topic
Injecting custom field into the GeneratePress archive loop?
1 reply · Started by Henry on August 8, 2020
This is really a part 2 to this post: https://generatepress.com/forums/topic/question-on-a-mysterious-discovery/
So, I have Custom Post Types that are looped in a category archive page but only the "Title" and "Featured Image" of the post.
Is it possible to add other fields that are associated with the Custom Posts?
Is there a way to include those into the loop per post?
Thanks
Hi there,
if you're using the GP archives templates or a duplicate of - then the GP hooks should be still present. Which you can access via the Hook element:
https://docs.generatepress.com/article/hooks-element-overview/