WordPress.org

Ready to get started?Download WordPress

Forums

BAW Login/Logout menu
Wrong way to get registration URL (2 posts)

  1. sccr410
    Member
    Posted 1 year ago #

    Need to use http://codex.wordpress.org/Function_Reference/wp_registration_url because it uses the registration_url filter. You currently build the URL manually.

    Change frontend-noajax.inc.php, line 36

    case '#bawregister#' : 	if( is_user_logged_in() ) $item->title = '#bawregister#'; else $item->url = site_url( 'wp-login.php?action=register', 'login' ); break;

    to

    case '#bawregister#' : 	if( is_user_logged_in() ) $item->title = '#bawregister#'; else $item->url = wp_registration_url(); break;

    https://wordpress.org/plugins/baw-login-logout-menu/

  2. WebEndev
    Member
    Posted 11 months ago #

    This is a great plugin. But it has not been updated in quite a while.

    Does anyone know if the developer is still actively working on the plugin?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.