Home › Forums › Support › Posts not showing on Tag archive This topic has 11 replies, 3 voices, and was last updated 2 years, 9 months ago by David. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts December 7, 2022 at 1:53 am #2452624 David Hello I’ve set up a query loop and set it to show on tag archive, but archive pages are showing up blank… https://www.hatfieldinteriors.com/tag/ffe/ Please see image attached – any ideas why nothing is showing? https://ibb.co/B6JcGR3 Thanks Dave December 7, 2022 at 3:51 am #2452772 DavidStaff Customer Support Hi there, in the query Loop settings you will see an Option to: Inherit Query from Template – enable that. December 7, 2022 at 3:56 am #2452781 David I’ve done that but it’s still shows up blank… https://www.hatfieldinteriors.com/tag/ffe/ December 7, 2022 at 4:10 am #2452814 DavidStaff Customer Support Can you uncheck that option. Remove any of the other paramters that were added. And then re-enable that option. December 7, 2022 at 4:16 am #2452822 David No luck with that. I’ve provided credentials. It’s in elements > Block : Projects Archive Tag Can you take a look and see what I’m doing wrong. December 7, 2022 at 11:23 am #2453527 YingStaff Customer Support Hi David, Can we see the original tag archive without this element being activated? Just want to make sure there’re posts in this tag archive. Let me know! December 8, 2022 at 1:53 am #2454198 David Hi Ying, I’ve done that, nothing found… https://www.hatfieldinteriors.com/tag/ffe/ December 8, 2022 at 4:16 am #2454330 DavidStaff Customer Support Are those Tags being used the core Tags ie. for Posts ? December 8, 2022 at 4:18 am #2454332 David I think so, is it possible to separate them out? Do I need to set up a specific taxonomy that sits in posts? December 8, 2022 at 7:30 am #2454588 DavidStaff Customer Support Try this PHP Snippet to include your CPT in those tag archives: function db_custom_post_type_for_tags_archive( $query ) { if ( $query->is_main_query() && ! is_admin() && ( is_tag() && empty( $query->query_vars['suppress_filters'] ) ) ) { $query->set( 'post_type', array( 'post', 'your_post_type_slug' ) ); } } add_action( 'pre_get_posts', 'db_custom_post_type_for_tags_archive' ); Change the your_post_type_slug accordingly. December 8, 2022 at 8:47 am #2454802 David I’ve ended up setting a taxonomy called categories and assigned it to Projects and that’s working… https://www.hatfieldinteriors.com/categories/colleges/ December 8, 2022 at 9:08 am #2454827 DavidStaff Customer Support Glad to hear that ! Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In