Support » Plugin: Sidebar Login » [Plugin: Sidebar Login] Registration link

Viewing 2 replies - 1 through 2 (of 2 total)
  • WiseCapra


    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?




    @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….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Sidebar Login] Registration link’ is closed to new replies.