Sidebar Login
Registration link (3 posts)

  1. Vasyltech
    Posted 4 years ago #

    Hi jolley_small,
    One request. I was using this plugin several times and always have the same problem - registration link.
    It means I'm not satisfied with standard WordPress registration form that is why I'm using profile builder. And I need no change the link to registration page.
    In your plugin this link is hardcoded. The easiest solution is to add filter for this link in code.



  2. WiseCapra
    Posted 3 years ago #

    I second this motion!
    I'm looking to open the registration page of wp (or simple-forum) in a lightbox after the reg page has been skinned to match the site theme. Sadly the registration link is hardcoded in sidebar-login.php. Now mine is calling "sblogin".


    I would like to call:

    <a data-lightbox="transitionIn:elastic;transitionOut:elastic;width:400;height:600;" href="/wp-login.php?action=register&view=forum">Register</a>

    Does anybody have a suggestion which was would be the easiset to change it?


  3. invisnet
    Posted 3 years ago #

    @WiseCapra: Just ran into a similar issue today.

    As Vasyl Martyniuk said, the problem is that the plugin builds the link itself; it really should call wp_register(). If you change line 170 of sidebar-login.php to:

    $links .= wp_register('<li>','</li>',false);

    in functions.php you can then do something like (N.B. I've not tested this):

    function fixup_link($link) {
        return '<a data-lightbox="transitionIn:elastic;transitionOut:elastic;width:400;height:600;" '.substr($link,3);

    Hopefully the author can be persuaded to change the plugin too....

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sidebar Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic