Questions tagged [menus]

Navigation Menu is a theme feature introduced with Version 3.0. WordPress includes an easy to use mechanism for introducing customised navigation menus into a theme. In order to incorporate menu support into your theme, you need to add a few code segments to your theme files.

Filter by
Sorted by
Tagged with
-1
votes
1answer
7 views

Global Navigation menu in diiferrent wordpress setups

I have 2 different wordpress sites but I have deployed it like www.xyz.com and www.xyz.com/news Now I am trying to get main menu from www.xyz.com and it should work with www.xyz.com/news main purpose ...
0
votes
0answers
15 views

WP Menu editor is hiding options for menu items

I don't know why, but in my theme, customizer is hiding the options like css class for nav menu items, see the css code: .control-section-nav_menu .field-css-classes, .control-section-nav_menu .field-...
0
votes
0answers
17 views

Show alternative menu based on page template AND post category

I'm trying to display a menu based on the page template AND the post category is used. I got it to work for the page template like this: if (is_page_template('page-template-heroes.php')){ ...
0
votes
0answers
16 views

Change the navigation items on mobile menu on custom theme

Im working on a website previously created by an agency, they used their own theme, but I am looking to move the mobile view menu items, so that Find Help Now, and the language settings are at the top ...
0
votes
0answers
12 views

Custom submenu nav Walker

I am using a custom nav walker and would like to create a tree menu. Here is the HTML Structure for the full navigation <ul class="navbar-nav"> <li class="...
0
votes
0answers
21 views

Nav_walker add id to dropdown ul

I'm trying to add an id to the dropdown ul in bootstrap navwalker. So at the moment this is what I've got: <ul id="menu-primary-menu" class="list-unstyled components"> <...
0
votes
1answer
26 views

Navbar is hidden behind carousel when using wp-boostrap-navwalker

I'm trying to show a navbar over a carousel within wordpress. To achive this I'm using WP Bootstrap Navwalker (https://github.com/wp-bootstrap/wp-bootstrap-navwalker) Without WP Bootstrap Navwalker ...
0
votes
0answers
18 views

Scale Sticky Nav Logo

I have recently moved my Wordpress site to a new domain name. www.mylatest.co.za. Since then I couldn't come right getting my logo in the sticky nav bar to look good. Every time I tried to remove the ...
0
votes
0answers
10 views

Show all posts without pagination in menu editor selection panel

Which file do I need to modify to make the editor's item selection box display all posts without pagination? For color, this question derives from the fact that I need to manually build a complex ...
-1
votes
0answers
7 views

Change the font size in Zoom Box item

I'm having a problem with my page, specifically in the font size when it's zoomed in in zoom box items. I don't know whether workaround to resolve this exists but I've tried looking back and forth but ...
0
votes
1answer
16 views

rename navigation menu label in wordpress theme by code

Hello there i have a navigation menu in my wordpress theme. The navigation menu has two items. One has the label “home” and the other “categories”. I need to rename the label “home” to something else ...
0
votes
0answers
13 views

How to create a custom link for menu notifications for all users, not just a specific user

I'm currently building a menu on my Wordpress site, on which I am running the Buddypress plugin. I've been adding menu items via custom links, which have all worked out, except for notifications and ...
0
votes
0answers
10 views

Change social navigation menu default icons with customized icons (twentyseventeen theme)

I'm taking the first steps as a self-taught in the wordpress world. My problem is the following: modify the icons that the "Twentyseventeen" theme assigns by default in the social media menu. I ...
0
votes
0answers
20 views

Assign a different menu depending on custom taxonomy archive and post pages assigned to taxonomy

I've been googling, tinkering around and investigating/testing settings however nothing seems to work so please bear with me on this and please help me if you can. Thanks so much! I have the custom ...
0
votes
1answer
25 views

Insert menu with a custom walker into page / post body using shortcode?

I'm trying to add a menu using a custom walker class into a page or post body and settled on using a shortcode. I don't have to use a shortcode, but I do have to embed the menu into the central ...
0
votes
1answer
13 views

Assign a different menu depending on custom taxonomy

I've been googling, tinkering around and investigating/testing settings however nothing seems to work so please bear with me on this and please help me if you can. Thanks so much! I have the custom ...
0
votes
0answers
16 views

changin the url (permalink as it goes these days) on one specific menu layer

all the google results and youtube searches did not give me an answer. I hope the WP mothership can. I am building a small shop (im an artist, few products 3 categories, 1 sublevel) The shop page (...
0
votes
1answer
13 views

Adding widget to sidebar which contains current page's submenu

Need to insert the sub menu of the current page into the current page's sidebar. Is this possible? What I'm interested in developing would be a menu that looks like this: menuItem1 => subitem1, ...
0
votes
0answers
25 views

Wordpress nav-menus not finding page

So I have a Wordpress site with around 1500 pages. When wanting to create a custom menu (/wp-admin/nav-menus.php), you luckily can search through the pages. Lets say I want to include the page "My ...
-1
votes
0answers
12 views

Page update error after add nav-walker

I added a bootstrap nav-walker provided on https://github.com/wp-bootstrap/wp-bootstrap-navwalker in my site it is working fine but after adding it i get an error on my page and other places when i am ...
1
vote
2answers
16 views

Trouble creating conditional PHP for nav menu items with children for custom Walker

I'm trying to create a nav menu with a clickable dropdown function but minimize scripting at the same time, so I found out a way to achieve this with an invisible input box and CSS. My only problem is ...
0
votes
0answers
14 views

Show Subcategories in Specific Menu item Using Walker Class

I want to show subcategories in specific menu item with custom div structure using walker class, My scenario is when I add a category in the menu from backend so show subcategories in that specific ...
0
votes
2answers
24 views

Problem in applying active class to wordpress menu

I am learning wordpress by my own and this is the code of html template. <div class="collapse navbar-collapse" id="ftco-nav"> <ul class="navbar-nav ml-auto"> <...
0
votes
0answers
15 views

Circular Menu to show on pages

I am looking for a plugin, preferably free but I am willing to pay. The plugin must be able to let me create a circular nav menu that I can place in the center of my page/s. It must be based on the ...
0
votes
0answers
21 views

Full submenu not displaying in wordpress

I am using Maco theme.I have added 5 submenu item.But when i hover on the parent menu item only one is being shown. PFB my website url:- http://blythehealth.com/ In this the services menu has 5 ...
0
votes
1answer
11 views

Somehow lost my MENU from my home page- help!

I am a total newbie to Wordpress (and an "old school" person!) Somehow though, I managed to begin to set up a basic website using Astra - and all was going well. Then I messed around, added some ...
0
votes
1answer
26 views

Create a Custom menu item fetched by Product Categories and Sub Categories

So one of our clients uses an ERP in order to update the products of woocomerce in his wordpress website. The ERP is updating the database directly for everything regarding the products,categories,...
0
votes
1answer
23 views

Homepage Menu Link Won't Function

I am fairly new to Wordpress. I have been setting up sites using a template in a multisite installation. On the home page, one of the links "Twin Tiers Saves" is unresponsive but it shows in the ...
0
votes
0answers
6 views

Mega menu 3rd level sub menu overlapping with second level menu [duplicate]

i am created mega menu two levels worked fine 3rd level sub child menu overlapping with second level menu problem with Z-index my website url : http://3.9.10.5/ (3rd menu Treatments > Wrinkle ...
-1
votes
1answer
12 views

How to display a submenu as a popup when clicking a button?

I have a submenu that contains several items. The submenu currently displays when the user hovers over a main menu item in the top menu bar. I want to place a button in the middle of the page that, ...
0
votes
1answer
16 views

WP admin style not refreshing

Im trying to modify WP admin area. I put this in the functions.php but the styling only takes effect the first time it runs the stylesheet, if I do any changes afterwards it doesnt update. For now it ...
0
votes
0answers
13 views

Navigation sticky box with anchor links and highlight

I have long pages in my site, in which I would like to put a sticky box containing the titles of the paragraphs/sectiones, so that it will be easy to navigate through the page: by clicking on one of ...
0
votes
0answers
10 views

Passing a variable in a customer url menu

I'm trying to add a link to my menu that leads to the following page: /ar/variable where the variable is the page the user is currently visiting for example: when the user is on page site.com/contact ...
0
votes
2answers
29 views

Hide menu item based on user's custom capability

I need to show one item from menu only for users that are logged in and have certain custom capability set. Is it doable from theme functions.php or it needs a custom plugin? Note: I already use ...
0
votes
0answers
25 views

How do I add this custom nav menu to my wordpress?

So I'm trying to recreate the nav menu over from stripe.com over on wordpress, and I found this tutorial. I haven't found any plugins that can recreate the stripe nav menu effect so I'm resorting to ...
0
votes
0answers
10 views

Hiding specific navigation menus from specific roles in admin panel

So what I'm trying to do is make 13 different user roles on my website and I have 13 different navigation menus. Each of these menus is displayed on the front end on separate pages. I need to let ...
0
votes
1answer
21 views

Parent menu item does not display posts when I add the sub-items

I have created 3 categories; Europe (as a parent category) and then I have two sub-categories Croatia and Wales. In Dashboard > Appearance > Menu I when I only add the category Europe as a menu item,...
0
votes
0answers
11 views

Restrict user to edit only edit a certain menu

I'm using a plugin (User Role Editor) to take care of the user roles. This works fine, except that you can't give a user acces to only a certain menu. I have two menu's in my website. One 'main' menu ...
0
votes
0answers
24 views

An error appeared in the console in the priority-menu.js

Im on WordPress engine latest version. The site maxg5.ru The console appeared errors in the file priority-menu.js. Because of this error in the mobile version, menu items are displayed in the wrong ...
1
vote
1answer
35 views

Remove pagination from WooCommerce product categories on admin edit navigation menus

I am creating a WooCommerce store with a very big nested menu structure. Is there a way to stop my product categories from paginating? I need them to all show in one big list so that I can use Ctrl+...
0
votes
0answers
9 views

hide submenu from dashboard, wp v 5.2

i know there are lot of threads and tutorials out there. but none has worked for me. i am trying to hide a submenu from "User". a plugin creates this submenu. my code is as below..... add_action('...
0
votes
0answers
12 views

How to make a section id menu w/multiple pages

I have pages with multiple sections like /about#section_one /about#section_two Thats how I add them in Menus under Custom Links but Wordpress changes to /about/#section_one (adding a slash ...
0
votes
0answers
15 views

How to add Buddypress user avatar to navigation menu item

So i have installed buddypress on localhost what i am looking to do is add user profile image (avatar) to navigation menu item something like this,
0
votes
0answers
15 views

Adding social icons to (copyright) menu

I have a copyright menu at the bottom of my page and I don't want this hardcoded in my theme. I want the admins of the site to be able to edit this. So I made a copyright menu which to this point has ...
0
votes
1answer
42 views

wp_nav_menu not working correctly in my underscores theme

I'm using a theme based on underscores, and I have registered my menus in the following way. function register_my_menu() { register_nav_menus( array( 'primary' => esc_html__( 'Primary' ...
0
votes
1answer
21 views

sidebar navigation problem with child pages not all display.?

Corsetería is parant pages and 25 sub pages. but display only 17 pages
0
votes
1answer
9 views

How to point menu to my homepage

So basicially i have a long-long homepage where you can scroll down and find a services section, if you scroll down more you see important informations and etc. but i have a menu. I want to make the ...
0
votes
0answers
29 views

Customize wp_login_form appearance

I embedded a login form in my websites header for not logged in users. I added it using this code in my navigation-top.php: <?php if ( is_user_logged_in() ) { ?> <?php } else { ?> ...
0
votes
0answers
90 views

How to create a mobile menu full screen overlay using Understraps Bootstrap 4 theme

I'm using the Understrap theme for Wordpress and looking to modify the default menu on mobile when the user clicks the hamburger menu. Essentially I am trying to get the menu to fully overlay the ...
0
votes
0answers
27 views

Dynamically populate Wordpress menu with custom taxonomy

I have a pretty long custom taxonomy and don't want to manually put it into my menu. Additionally I have to do it for 3 languages (using Polylang). Any ideas how it can be done dynamically?