Post Types – Posts, Pages, Blog, Archives

This condition lets you restrict access to all or individual post types, and post type archives – including the Blog page and WooCommerce Shop page.

 

Custom Post Types are automatically supported as conditions.

 

Example – Individual Products

Only authorized users will have access to the pages for Product 1 or Product 2.

 

Example – Blog or Post Type Archive

Only authorized users will have access to the Blog page (Posts archive).

 

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?