Site logo

Archived topic

Content resitriction via Display rules for WP Show Posts

3 replies · Started by Martin on November 9, 2020

Viewing posts 1–4 of 4

Hi,

Non coder here. I am using three different WP Show Posts each in it's own column on a static page via the shortcode. As we have a membership service I want to use the Display rules of GP Elements to control access for different user roles. Basically I want to show only 1 of the WP Show Posts to the public. The predefined hook positions can't be used of course but I wonder if I can set a custom hook inside each column and then hook a page with just the WP Show Posts shortcode?

The parent page is static meaning that the columnn position won't change.

Can this be done? And if yes, how?

Hi there,

tricky one - we're looking at adding User Roles permissions to GenerateBlocks Pro in the future, which will allow this sort of thing.

In the meantime - maybe give this plugin a go ( untested ):

https://wordpress.org/plugins/conditional-blocks/

Great news on the GenerateBlocks Extension! I will check out the proposed plugin in the meantime.

Thank you!

You're welcome - let us know how that plugin works ( or not )

This archived topic is closed to new replies.