This topic has 4 replies, 2 voices, and was last updated 10 years by iusethemes.
-
Author
Tagged: login shortcode
-
November 10, 2014 at 16:54 #34897iusethemesParticipant
looking for the best way to have login used on page via shortcode, thanks
November 10, 2014 at 18:06 #34904sharmstrModeratorDepends on what you’re after. Do you want it to pop up in a modal or display the actual form?
Adding the login modal is easy. You just need to trigger it via setting the kleo-show-login class name.
here’s an example using a button
COPY CODE[kleo_button title='Login' style='see-through' icon='star-empty' tooltip_position='left' tooltip_action='hover' size='lg' el_class='kleo-show-login']
I’m not sure if there is a shortcode to display the form on a page. If not, you can probably hack it by creating a sidebar (wp admin – appearance – sidebar), then add the buddypress login widget to it (wp admin – appearance – widgets) then use the VC Widgetised Sidebar shortcode to display it.
If you use a layout with a sidebar, you can just add the Buddypress login widget to the sidebar and it will show up on all of your pages.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 10, 2014 at 18:20 #34905iusethemesParticipantsharmstr, I don’t mean to sound like Im kissing butt, but Im really thankful that your apart of the support forum. Your easy to communicate with and you aim to give the right answer the 1st time around.
I honestly forgot Kleo had the ability to widgetise. Im looking to display a simply login form.
November 10, 2014 at 18:42 #34908sharmstrModeratorThank you. I appreciate that.
I tested out the widgetised sidebar idea and it works, but you’ll have to wrap it in a div to keep it from stretching across the entire width of the page.
@abe. Is there a simple shortcode to display the form? I cant recall ever seeing one.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.