Should I use the following code?
<meta name='robots' content='noindex, nofollow' />
For example, main and footer menus have been created. How do I access the main menu values?
The names of the menus are not mentioned in the wp_posts table.
I have access to all menu lists using the following code.
$results = $wpdb->get_results( “SELECT * FROM {$wpdb->prefix}posts WHERE post_type = ‘nav_menu_item’ “, OBJECT );
What is the use of this variable in the function?
Why is the menu code in the index.php file not in the wp-admin folder?
I want to know why the menu code in the index.php file is not in the wp-admin folder
Understanding WordPress core