WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar Login
[resolved] Wrong pass redirects to wp login page (5 posts)

  1. PaloPerez
    Member
    Posted 1 year ago #

    When adding the plugin to my theme using <?php sidebarlogin(); ?>
    if i insert the wrong password it redirects to wp default login page

    is there a way to avoid this behavior?

    thank you for your help

    http://wordpress.org/extend/plugins/sidebar-login/

  2. PaloPerez
    Member
    Posted 1 year ago #

    Got it, ajax functions are targeting an element with the class "widget_wp_sidebarlogin".

    <div class="widget_wp_sidebarlogin">
       <?php sidebarlogin(); ?>
    </div>

    Thanks for this plugin, it´s a real time saver

  3. approachpeople
    Member
    Posted 1 year ago #

    Hi,

    Would you mind explaining to me how you did it?

    I also want to avoid this behaviour.

    Thanks!

  4. PaloPerez
    Member
    Posted 1 year ago #

    approachpeople: Would you mind explaining to me how you did it?

    Put the sidebarlogin function:

    <?php sidebarlogin(); ?>

    inside an element with the class "widget_wp_sidebarlogin":

    <div class="widget_wp_sidebarlogin">
       <?php sidebarlogin(); ?>
    </div>
  5. JakeMacManus
    Member
    Posted 1 year ago #

    Hi PaloPerez,
    I'd really like to get this fixed for my site. Where/what page in my wordpress core files do I place the above code;
    <div class="widget_wp_sidebarlogin">
    <?php sidebarlogin(); ?>
    </div>

    consider me a newbie in coding,
    thank you
    Jake

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.