Conversation
supportI double-checked in the WP Admin > Menu area but didn’t see anything… I would prefer not to use CSS neither. Right now, I’m using the code snippet on your site : add_filter('login_menu_location', function(){return 'footer';}); I don’t have a footer menu, but I guess this works… https://wordpress.org/plugins/wp-ajax-login-and-register/
Hi, This plugin by default add the login/register link to the “primary” menu location and you can alter the location with the hook you posted. You may need to check the existing menu locations registered by your theme normally you can find it in your functions.php . It looks like: register_nav_menus( array( 'primary' => __( 'Primary Menu' ), 'footer' => __( 'Footer Primary Menu' ), 'social' => __( 'Social Links Menu' ), ) );
I don’t need auto. I use custom image in footer (like logo) to trigger. How do I unhook all together? Thanks for response and cool name / avatar ^ _ ^
hmmmm..nice try… I’ll add an option to disable the “auto” feature. For now, I think you just hook it to a non-existing menu location and it should work.
Hi, This plugin by default add the login/register link to the “primary” menu location and you can alter the location with the hook you posted. You may need to check the existing menu locations registered by your theme normally you can find it in your functions.php . It looks like: register_nav_menus( array( 'primary' => __( 'Primary Menu' ), 'footer' => __( 'Footer Primary Menu' ), 'social' => __( 'Social Links Menu' ), ) );
I don’t need auto. I use custom image in footer (like logo) to trigger. How do I unhook all together? Thanks for response and cool name / avatar ^ _ ^
hmmmm..nice try… I’ll add an option to disable the “auto” feature. For now, I think you just hook it to a non-existing menu location and it should work.