Since the YOOtheme Pro builder module is only allowed to top and bottom there is struggle to show some content only to guests or logged in users. We made this simple plugin that extends YooTheme Pro with two more classes.
is only being showed to guests
is only being showed to logged in users (registered)
Just add the class to a section or an element to remove it from the dom.
Login or logout to see the effect in the following demos.
No. The content will be generated in the source code and after the page is loaded it will be removed from the document.
a bug if multiple classes were found without jQuery activated
the plugin uses jQuery now automatically if it is loaded on the site
wrapped up in an easy installable and updatable plugin