Post Types – Posts, Pages, Blog, Archives

This condition lets you display custom sidebars on all or individual post types and on post type archives – including the Blog page or WooCommerce Shop page.

 

Custom Post Types are automatically supported as conditions.

 

Example – Individual Products

Display sidebar only if the visited webpage is Product 1 or Product 2.

 

Example – Blog or Post Type Archive

Display the sidebar only if the visited webpage is the Blog page (Posts archive). It is important not to select the single page that represents the blog (if any), but instead leave the input empty.

 

Good to know: This approach will work for all special pages acting as post type archives, for example the WooCommerce Shop page.

 

Was this article helpful to you?