This topic has 2 replies, 3 voices, and was last updated 8 years by geo7thqueen.

  • Author
  • #99181
     monkeytoldme
    Participant

    Hello,

    I am using the Kleo theme and when I click the log-in menu item the pop-up kleo login modal appears. Is there anyway to activate this modal by clicking a button.

    For example, if I made a button on my register page called Login In Here how would I call the pop-up modal? Is there a class I can add to my a href to make it appear?

    <a href=’#’ class=’Popup Login’>Login In Here</a>

    Also, how can I edit the text that appears on the pop-up login modal?

    #99194
     sharmstr
    Moderator

    You can make anything launch the modal by adding ‘kleo-show-login’ class to it.

    Kleo uses the standard way of changing text which is translating it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #150254
     geo7thqueen
    Participant

    (Adding to existing thread rather than opening a new one.)

    First off, the examples aren’t loading on the documentation: https://archived.seventhqueen.com/documentation/kleo#login-redirection

    Neither the ‘kleo-show-login’ class nor the #show-login seems to be working for me right now, but I’d like to see the examples to confirm it is being done right.

    Additionally, using a plug-in to hide all content from non-logged in users. Plug in requests a URL for registration/login redirects, but I’d rather not load a page and just have any/all login&registration done through the same popup. Do I just have to make a register page (BuddyPress) and just make it a blank page with a kleo-show-login code on it?

    Oh, and is the kleo-show-login and the #show-login intelligent enough to not load if user is already logged in?

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?