This code enables you to exclude one or more specific post formats conditionally.
In this example, the code excludes one specific post format type from the home page, the blog page template and all archives.
Simply add the code to the end of your child themes functions file using a code editor.
Related Content
- Post Format Archive Page for Specific Post Formats
- Use tax_query To Remove Terms From Search Results in WordPress
Was this helpful?
Thanks for your feedback!

Leave a Reply
You must be logged in to post a comment.