Support » Plugin: WPAdverts - Classifieds Plugin » Changing the link to login page

  • Resolved apetrov4578

    (@apetrov4578)


    Hello again! I am trying to change the link to the login page with a modal login.
    The codes i got from the modal plugin are:
    [csh_login] and <?php cshlg_link_to_login(); ?>
    My question is where i should insert the code to use the modal login instead and not sending teh users to the admin login?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    this will be a bit complicated since the CSH plugin is relaying on a specific CSS class in the link that should trigger the modal window.

    So for example if you want the “Sign In” link here https://demo.wpadverts.com/lite/adverts/add/ to open the modal window, you would need to use a plugin like Say What? https://wordpress.org/plugins/say-what/ and change the phrase

    Create an account for me so I can manage all my ads from one place (password will be emailed to you) or <a href="%s">Sign In</a>

    to

    Create an account for me so I can manage all my ads from one place (password will be emailed to you) or <a href="%s" class="go_to_login_link">Sign In</a>

    then the “Sign In” link should show the modal window instead of redirecting the user.

    Thread Starter apetrov4578

    (@apetrov4578)

    Ok. This should solve the problem. Thanks for your time!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.