• Resolved willowcreekcommunity

    (@willowcreekcommunity)


    Is there a way to hide a section/block from users that are logged in?

    On my site, the home page is visible to everyone – whether they are logged in or not. There is a prominent “call to action” block there that links to the Register page that currently shows to everyone but I would prefer it to only show to users NOT logged in.

    Is that possible to do with shortcodes?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Use this shortcode to show content to only users who are *not* logged in:

    
    [members_not_logged_in]
    Your content goes here.
    [/members_not_logged_in]
    
Viewing 1 replies (of 1 total)
  • The topic ‘Hide from not logged in users?’ is closed to new replies.