Home › Forums › Support › Using {{post_terms.category}} This topic has 7 replies, 3 voices, and was last updated 4 years, 3 months ago by Leo. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts December 6, 2019 at 1:48 pm #1096392 Aref Hi Team, When I use {{post_terms.category}} in Page Hero element it seems to remove the category meta from the post page that is positioned at the bottom. Is there anyway to keep the original category at the post page bottom as well as adding it to the Page Hero section? December 6, 2019 at 8:09 pm #1096594 TomLead Developer Lead Developer Hi there, Give this PHP a shot: add_action( 'wp', function() { add_filter( 'generate_show_categories', '__return_true' ); }, 150 ); Let me know π December 6, 2019 at 8:39 pm #1096606 Aref Help please π no idea where to add it?! December 6, 2019 at 8:45 pm #1096613 LeoStaff Customer Support One of these methods: https://docs.generatepress.com/article/adding-php/ December 6, 2019 at 10:12 pm #1096642 Aref It worked, thanks. Any chance I can add the category and tag on the top of the posts pages as well as keeping them at the bottom? December 7, 2019 at 9:26 am #1097142 LeoStaff Customer Support So the category is already working so you just need to do the same for tags? If so try this: add_action( 'wp', function() { add_filter( 'generate_show_categories', '__return_true' ); add_filter( 'generate_show_tags', '__return_true' ); }, 150 ); December 7, 2019 at 4:33 pm #1097397 Aref Thank you. December 7, 2019 at 4:45 pm #1097414 LeoStaff Customer Support No problem π Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In