Displaying Content to both Logged In and Not Logged In
-
Hello, Christian.
I’m now in the process of finally implementing the plugin into a proper website rather than just my test one, and I’ve got another question.
I have some static content on a page that I want to display whether or not a user is logged in, with the login panel shortcode at the bottom.
If I do have this content outside [seplog] shortcodes, the [seplog] tagged content appears at the top, so I got round this by having my static content inside [seplog_show_if_not_logged] shortcodes, but in order for it to still display to a logged in user, I have to have the same content twice – inside [seplog_show_if_not_logged] shortcodes and again inside [seplog_show_if_logged] shortcodes.
Is there a trick to getting this working correctly, such as nested shortcodes, or would it be possible for another pair of shortcodes to be implemented for content that’s to be visible all the time, or even to be able to control the placement of [seplog] content relative to content outside shortcodes?
Many thanks,
T.
- The topic ‘Displaying Content to both Logged In and Not Logged In’ is closed to new replies.