-
Author
-
November 8, 2013 at 01:11 #6226wttribeParticipant
Hi, how do I hide the homepage button that says register?
The code is this one:
[kleo_button url="register" style="standard" size="large" round="radius" icon="0,before" target="_self"] Join us for FREE [/kleo_button]
how to hide this when users are logged in?
thanks
November 9, 2013 at 01:17 #6303SQadminKeymasterYou have a shortcode in the Misc section of the visual shortcodes button:
[kleo_only_members]Content to show for members only[/kleo_only_members]Put the button inside the shortcode, like the example above
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 9, 2013 at 12:13 #6326wttribeParticipantThanks for you reply but that’s not what I needed.
I do not want some content to be displayed when logged in:
THE REGISTRATION button for example does not work if one is logged in and therefore it makes no sense to display it when someone is logged in.
How do I hide it when loggend in?
thanks
November 9, 2013 at 13:28 #6329JohnDoeParticipant[kleo_only_guests]
[kleo_button url="register" style="standard" size="large" round="radius" icon="0,before" target="_self"] Join us for FREE [/kleo_button]
[/kleo_only_guests]
This will show the button only to people who are not logged in.
I think the admin made a mistake :pNovember 9, 2013 at 13:41 #6330wttribeParticipantHi, thanks. That’s what I needed!
Problem solved.
Thank you again
November 9, 2013 at 13:44 #6331JohnDoeParticipantIn the folder u downloaded when u bought the theme, there’s a documentation folder.
You should check it out, it has alot of nice information.
All the default sweetdate shortcodes etc.
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.