Home › Forums › Support › Custom Post Type Not Displaying Properly on Category/Tag Archives This topic has 19 replies, 4 voices, and was last updated 3 years, 2 months ago by Sampat Jangir. Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 Author Posts December 22, 2020 at 2:25 pm #1591259 Goran Dragutinovic I removed is_archive() from the above 2nd if statement and it seems to have done the trick. Also removed the 3rd if statement as it is showing up in search even without that code. Thoughts? December 23, 2020 at 11:12 am #1592393 TomLead Developer Lead Developer That code will include your CPT posts in your regular archives. Is that the intention? It seems like you shouldn’t really need that function at all if you’re wanting to keep things separate. December 23, 2020 at 9:48 pm #1592773 Goran Dragutinovic The intention is to have CPTs in regular archives, but not regular archives in CPT archives. Seems to be working that way now. Do you foresee any issues with leaving it as is? Otherwise, I can mark this as solved. December 24, 2020 at 10:58 am #1593486 TomLead Developer Lead Developer That should be fine – you’re only altering the query for the category taxonomy and the main blog page 🙂 January 27, 2021 at 12:35 pm #1636118 Sampat Jangir Thank You Bro……………….. Author Posts Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In