Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You can use the [pms-restrict] shortcode to restrict certain parts of content.

    The shortcode can take the display_to parameter with the value of “not_logged_in” to display the content only to logged out users.

    Let me know if this is what you are looking for.

    Best regards,

    Thread Starter Mizunga

    (@mizunga)

    I was looking for a PHP snippet to use in the templates. But maybe I can use it with do_shortcode.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Active Users PHP Snippet for Conditional Content via Templates’ is closed to new replies.