WPIntell

Source evidence

Unhook (or remove) Menu Link

WP AJAX Login and Register · support · 2016-04-14T15:45:00+00:00

complaintsentiment
mediumseverity
0.86relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 21 rows with source links

23.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

16 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
maggew unresolved
I 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.

Comments

3 shown
newbiesup 2016-04-17T03:00:00+00:00

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' ), ) );

maggew 2016-04-17T17:25:00+00:00

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 ^ _ ^

newbiesup 2016-04-19T03:48:00+00:00

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.