WordPress “add to menu” button not working

Try looking at the following areas to try and debug; First and foremost, flush the cache for the url, either by hard reload cmd/ctrl + refresh > Hard reload. Or via any caching plugin you may be using. Use the inspector to look at the console, when changing items in the backend and loading the … Read more

How to add nofollow to the_post_navigation?

The only option I see is using {$adjacent}_post_link hook and replacing the fragment of final link or prepare the link yourself from scratch. Replace: add_filter( ‘next_post_link’, ‘se334246_nofollow_link’, 20, 5); add_filter( ‘previous_post_link’, ‘se334246_nofollow_link’, 20, 5); function se334246_nofollow_link( $output, $format, $link, $post, $adjacent ) { $search = sprintf(‘rel=”%s”‘, $adjacent); $output = str_replace($search, ‘rel=”nofollow”‘, $output); return $output; } … Read more

How to set menu Display location

You can retrieve nav menu locations with get_nav_menu_locations int[] Associative array of registered navigation menu IDs keyed by their location name. If none are registered, an empty array. https://developer.wordpress.org/reference/functions/get_nav_menu_locations/ This refers to a theme mod internally named nav_menu_locations which can be used to update the locations. You can modify that returned value and then save … Read more