WordPress Footer menu showing in the Top menu place - php

For some reason when I created a footer menu and the location as footer, it also shows up in the top menu location.
I have checked that both menus are set to their correct locations in the Admin -> Menu area and also checked my child theme code to ensure my navigation.php is pulling the correct wp_nav_menu which it is. What is also strange is when the site is in mobile mode, it shows the correct menu and isn't a problem.
I'm lost now as to what else to look into to solve this problem.
Any help is much appreciated.
(just let me know in the comments if you need any screenshots or more info)

In the menu options, there is a checkbox as Display location to enable the location where that menu should place.
Please check the footer menu which has enabled both options Primary Menu &Footer Menu, If so uncheck the Primary menu checkbox.

Related

I want ask about opencart to remove footer nav img was there

it's a problem I m facing in
I want to know that how can I remove this brand text from footer nav ?
Log Into Your Opencart Admin
Left side menu click on CATALOG to unfold options
Under Catalog click on INFORMATION
On right side, you will see all the texts you have under the INFROMATION section in the footer. Select the BRANDS and aither EDIT or DELETE it.

Left Sidebar on Wordpress won't create menu

I tried googling this, but not having much luck...
I have been able to create a menu using wordpress and entering this code in my header:
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>
And this in my scripts part:
function register_custom_menu() {
register_nav_menu('header-menu',__( 'Header Menu' ));
}
add_action( 'init', 'register_custom_menu' );
But it seems that when trying to sort it, using the left side bar in the customize theme mode, it will not sort the menu nor will it remove any part of the menu that I add or remove using it.
From what I can tell it's just pulling my pages that I created within wordpress.
Keep in mind, this is a new theme I'm creating - my first theme. I have no PHP experience. Trying to learn as I go.
Picture of issue
I removed some of the names of the links for public view. I need to figure out how to also style this properly, but I've seen some other posts about it, so I'll review those later.
If someone can help me get this side menu to work with my current menu that would be great!
If you try altering your wp_nav_menu call to the following (no parameters):
<?php wp_nav_menu(); ?>
It should fall back on the first non-empty menu. While you may want additional menus later/will likely want to customize your menu(s) more, this should help with troubleshooting as whatever initial menu you have created (is non-empty) is the menu being edited by the customize page.
From what I can tell it's just pulling my pages that I created within
wordpress.
This likely relates to the setting "Automatically add new top-level pages to this menu" in the menu settings tab. This may be found under Appearance >> Menus, or under Customize >> Menus >> Clicking on the arrow to the right of your primary menu >> menu options (at the bottom of the resulting tab on the left).
Have you tried building the menu through Appearance-->Menu?
In the Wordpress backend, go to "Design > Menus", create a new menu there, add all entries you want to have, give it a name and in the "positions" tab on that page, assign it to the defined position in your theme (header-menu in your case). And disable the option to add all new pages/posts automatically.

Wordpress menu items not showing in menu location?

we are working on a WordPress website using one engine theme ,the menu items in the website are added from the admin dashboard using appearance->menus and added menu items, we added two items the two items showing neatly from the admin dashboard preview but come to the live website it is showing only one menu link that is HOME link , why it happens and what is the solution to fix this
have u register your menu? if yes then create a menu name from the admin side after that u will get manage menu tab select your menu from select box and hit save
When you save finally your two menu the lower side checkbox should be checked by default then only will show the menu

Primary nav menu would not relocate to the header

I'm using the Genesis framework in wordpress, I have a header set with a logo and a menu that currently is displayed under the header, I want it in the header.
I know about the option to use a custom men and drag it to the menu right widget, but that simply does not work, everything is unticked in the menu settings but it just wouldn't snap there, it just stays under the header.
Please check the below link it will help you
https://my.studiopress.com/snippets/navigation-menus/
OR Use This
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before_header', 'genesis_do_nav' );
What actually solved the problem is something I tried before but didn't work.
The first stage is to use the custom menu on the Widgets and drag it to the Menu Right widget, save it and add the menu to it.
In the menu settings, everything has to be ticked off (all the 3 check boxes).
Then I had to insert the logo into the menu right widget and float it to the left to make sure it's aligned properly with the menu.
I hope it helps anyone.

how to make drupal pages into menus and submenus like administrator menu

I'am new to Drupal, i just want to create a website which contains pages like about us, contact us and other static information that may be changed after a long time.
Now i can create the pages and sub pages to main pages. The links are displaying on the top of the logo and the sub pages were showing on the side of the main page.
i installed the dhtml_menu module but not working.
are there any changes required to dhtml_menu module to make work for pages?
or
i need to use any other module?
please help me to solve this issue
Thanks.
Your question is pretty confusing. If you just want to display the pages in a tree just like the administration menu (which seems to be what you're asking), then you don't need any extra modules.
Just create your pages and put them all in the primary menu. Then, once your pages are created add the Primary links block (in Administer, Blocks) anywhere you want. That block will display the navigation tree of your pages, just like the administrator menu does.
edit
Oh, so you want the drop down menus? Then you don't want dhtml_menu (which will only prevent unneccessary page loading when you open pages), but need something like simplemenu. Create your primary links, goto Administer, Site Configuration, SimpleMenu and set the "Menu" setting to "< Primary links >". That will display a drop down menu bar to navigate through your site...
First i need to say thanks to wimvds. "Thankyou wimvds for your edit it take me to find more modules and themes".
found the solution in a theme "admire_grunge" the drop down menu needs to be defined in the themes it self.
found some more themes that work like this.
Thanks.

Categories