• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Exclude Post Format From Genesis Blog Post Template, Archives & Home Page

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.

Register for full access

Related Content

  • Post Format Archive Page for Specific Post Formats
  • Use tax_query To Remove Terms From Search Results in WordPress

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems