This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Template Builder – different content for logged in / logged out user

  • Creator
    Topic
  • #25081
    claussieb
    Member

    Hi,
    your theme / framework is really great!
    I want to show different template elements depending on the log-in state of a user, e.g. Promo-Box A for logged in user, Promo-Box B for logged out. I am sure it can be done easily and in an non-messi 😉 way but I have been scanning through the fora and can’t find anything.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #25087
    Jason Bobich
    Keymaster

    Hi,

    I’m honestly not sure how you’d incorporate this into the layout builder in any kind of non-programatic way, without child theme customization. I think you’d just need to create two different pages and limit who can see those pages with a user management plugin. Several user management plugins have a shortcode that you can use to hide/show content based on user. So you could utilize that to a certain extent in the layout builder within various content chunks, but it wouldn’t work to replace an entire elements.

    #25093
    claussieb
    Member

    This may work, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.