All Questions
Tagged with menus customization
174 questions
0
votes
0
answers
22
views
How can I keep a WordPress dropdown menu open when navigating to a child page?
I'm using WordPress with the Astra theme (free version), along with Elementor Header & Footer Builder (free version) and the WP Mobile Menu (free version). I've set up a dropdown menu, but it ...
0
votes
2
answers
622
views
Add line break for menu items
I have some items in my menu that I would like to be set on two lines.
For example I have these items :
Home - Get in touch - Contact us
For the item "Get in touch" i would like the "in ...
0
votes
0
answers
120
views
Dynamic Menu Item
I'm a complete WordPress n00b, so your guidance is very much appreciated. Long story short I am running a theme with a child theme attached.
I need a function that will retrieve my site's latest post ...
0
votes
1
answer
163
views
Custom menu not showing even though it shows as being registered?
I'm running into a really weird problem.
Some quick background: I cloned this workflow from one I've been using before but just updated everything including node packages and the gulp functions and ...
0
votes
1
answer
846
views
Display posts by alphabetical order
I just purchased a WordPress theme. I’m trying to sort post on one category into an alphabetical listing (glossary type of listing).
Example : https://www.udiscovermusic.com/browse-artists/
There are ...
0
votes
2
answers
611
views
Looking replicate static HTML Menu into WordPress Dynamic Menu [closed]
We are converting our static HTML site to Wordpress. The conversion is going fine (for the most part) but the part I cannot figure out is how to build the menu so that I can retain the menu look from ...
0
votes
1
answer
272
views
Custom CSS Nav Menu Style Not Being Applied
I have created a plugin and custom CSS page to display a custom navigation menu on one page of my WordPress site. I am attempting to show the navigation menu using a Custom HTML block on the page of ...
1
vote
0
answers
484
views
How to create left and right menu with logo center in a custom theme?
I recently developed a new custom theme in wordpress. I want the following menu structure:
Left menu LOGO Right menu
For example:
Home About LOGO HERE Blog Contact
I created the following code:
<...
0
votes
0
answers
25
views
Replace the page url with a menu link?
i want to make a multilangual site, where the secondary language is a copy of the site in a different folder. For example:
Primary language url: example.com
Secondary language url: example.com/en
So ...
0
votes
1
answer
25
views
Header menu aligned right on all pages except for single-post page [closed]
I have a header with a logo, menu items and a search bar. I have aligned the menu on the right (close to the search bar), but in the 'single-post' page, the menu items appear on the left, starting ...
2
votes
1
answer
475
views
Change default status and replace the icon for an hamburger menu
When the screen becomes too small (i.e. if I restrict the browser window, or if I open my website from mobile) the menu becomes an hamburger (☰). I want to know how to do the following two things:
...
1
vote
0
answers
148
views
Add clickable arrows to parent menu items with children elements e.g. with <em>
I am currently working on a website with a custom theme where the following behaviour should be possible for the mobile version:
The navigation can be opened via a hamburger button. Then all parent ...
1
vote
1
answer
26
views
How Do I Remove The Right Hand Block On The Main Header?
I want to expand the main header across the full width of the page. Currently, the surrounding colour block around the text box, seems to stretch above the top menu bar on the right, and it looks ...
0
votes
0
answers
259
views
Current menu item highlights wrong
The menu is with different types of links equipped. The first is a link to a subsite. The other is with to an anchor link.
The problem is that the anchorlink is highlighted on the homesite. If I don't ...
0
votes
0
answers
76
views
Add producthunt badge to wordpress menu
I'm new to wordpress and i want to add a producthunt badge to the menu of my wordpress site.
I tried editing the page, tried in appearance->menu but could not find a place to include the block of ...
2
votes
0
answers
437
views
How to extend nav-menu-item-control data in Appearance > Customize?
I have one question as for Nav Menu Items custom fields in the Appearance > Customizer screen.
Since 5.4. there are 2 new hooks:
wp_nav_menu_item_custom_fields - it works for Appearance > Menus ...
0
votes
1
answer
284
views
Woocommerce custom "My Account" Tab - Add Save button
I've added a new tab into my "My-account" page on woocommerce using a hybrid of the following:
New Tab:
Woocommerce add new tab to account page
New Content to tab:
Add content to tab
I've been ...
0
votes
2
answers
955
views
Add custom WordPress admin page with pretty url via code
WordPress add_menu_page and add_submenu_page support adding custom page. The page created have url with a slug similar to wp-admin/admin.php?page=our-custom-page
How can create a admin page which ...
2
votes
0
answers
602
views
Hide Login information in Account settings in Buddy Boss
First time working with Buddy Boss.
I managed to customize the navigation items on the profile page, but I can't find a solution for the Account settings page.
What I'm trying to achieve is to hide/...
-1
votes
1
answer
188
views
Custom CSS File wont work on second Page
i created a custom Theme in WordPress and everything is working fine and the CSS is loading to my index.php. So now i copy-pasted the index.php and renamed it, then i went to the indexCopy site and ...
0
votes
1
answer
339
views
Stop Expansion of Top Level Menu in the WordPress Admin Sidebar
Can anyone tell me how to stop the top level menu items in the WordPress Admin sidebar auto-expanding when that top level item is clicked, or a submenu item chosen from the fly-out menu?
For clarity, ...
0
votes
0
answers
369
views
Adding a drop-down (select tag) option under Menu Settings in WordPress Admin
I looked (surfed) around a lot to get idea of how can I add custom field/drop-down under "Menu Settings" in WordPress Admin.
I want a select tag with options from which I can get value based on the ...
0
votes
1
answer
36
views
Create survey that redirects to sidebar menu customized to answers
EXPLAINED:
I want to create a survey for my users about who they are and what they most want to get out of my services. After the survey is completed I would like the users to be redirected to a page ...
0
votes
1
answer
19
views
How to add a template - so that i can choose a different menu for some pages
Hi I would like to know how I can add a template just to choose a different menu for some pages,
Any help appreciated!
0
votes
1
answer
414
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 ...
1
vote
2
answers
237
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 ...
2
votes
1
answer
3k
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
2
answers
55
views
how to display a specific wordpress menu?
Below is my code:
wp_nav_menu( array(
'menu', _('My Custom Header Menu'),
'theme_location' => 'my_custom_location',
) );
And as result, I obtain all ...
1
vote
1
answer
62
views
Adding posts to custom menu [closed]
I can’t see a “posts” box to check under the screen option of my custom menu. Help please. I’m lost.
0
votes
1
answer
92
views
Implement a Walker with custom object rather than Wordpress database object
I am trying to implement a Custom Walker to navigate through a hierarchy of objects. When I do a var_dump on the $item variable in the start_el function I see a wordpress database object (blog, page, ...
0
votes
1
answer
1k
views
clickable toggle menu, help
I'm trying to edit the toggle menu so that instead of having to click on the icon near the menu, the menu would open up by clicking on the words instead.
How to do this? I understood how to remove ...
0
votes
0
answers
51
views
How to create custom post type selection to nav menu
I added a custom post type in my navigation menu.
with this code
register_post_type(
'post_type_name', array(
'exclude_from_search' => false,
'label' ...
3
votes
2
answers
2k
views
Adding Custom Link anchors in the top menu that points to specific sections of the site home page
My site is using a nav menu in my custom theme. I want to add navigation links to anchored links that points to specific sections of the site home page using a Custom Link in the nav menu.
I want to ...
0
votes
1
answer
284
views
Help needed creating a custom Hamburger menu in header
I’m hoping you can help me out. I’m working on adding an extra custom menu to my header. I would like this to be a hamburger menu with slide-in function which is visible (and working) on desktop and ...
0
votes
1
answer
27
views
Menu selection for header
I have created multiple menus. What I wish to accomplish is give viewers the ability to select which menu they want to use for the header. Closest ive gotten to is the conditional menu plugin but that ...
0
votes
1
answer
570
views
Deleted a user with administrator rights. Now all the data/content/images are lost. how to recover them back
I have Deleted a user with administrator rights. Now all the data/content/images are lost. how to recover the lost content and images back
0
votes
0
answers
69
views
How to create a custom menu for specific user
Hi it is a way to create custom menus for each user and user roles.
Each user needs to have specific page.
0
votes
2
answers
55
views
menu customization
I am using a premium theme on my page. The theme only accepts one menu in the whole site.
The site is a single page site. And the way the theme works is that we have to set up a Home Page and then ...
1
vote
1
answer
66
views
create a select input with menus created on a custom options page
In a custom wordpress page, I want the user to select a desired menu from a custom options page.
Something like that
Here I record the fields, now I only have one field type text to do some tests
...
0
votes
0
answers
75
views
How to customize WordPress vertical menu?
I must make change view on the menu on the website, but I do not know how.
Can someone help me, please? How can I make a hook in function for example or another method with edit CSS file?
I want to ...
0
votes
2
answers
47
views
Custom font size nav bar
I'm trying to increase the font size on my nav bar.
I'm using Monstroid2. http://new.cascaderelays.com/
I'm guessing I'll need to add custom css somewhere. Can anyone help?
1
vote
2
answers
2k
views
How to wrap the list with custom class using wp_nav_menu?
I want to display 4 column footer menu. but when I add new menu the wp_nav_menu create a < li > and add every menu items to it.
now, how can I wrap every li element with a custom div tag with a ...
0
votes
1
answer
177
views
Creating a dynamic URL for an external link inside content
I run the website hightowerlowdown.org. We use an external CRM for email and donation management (SalsaLabs), and I'd like to be able to take advantage of some of the tagging features available within....
0
votes
3
answers
668
views
remove or hide Link Relationship (XFN) form Menus tab
I'm looking for how hide or remove Link Relationship (XFN) from Menus tab (In red on the picture below)
0
votes
1
answer
33
views
My connecting URL form in html to PHP does not work
as my previous question here maybe miss lead, my code does not work, what am i missing, i write in functions.php then, i call in header.php
this is my form in functions.php:
<form name="formvideo"...
0
votes
1
answer
345
views
After Wordpress 4.8 upgrade, wp_nav_menu() string search / replace not working
Before upgrading to Wordpress 4.8, I could do a string search and replace on the wp_nav_menu(). I had a few sites running 4.7.5 and code was working. Soon as upgrading code below did nothing.
<...
0
votes
1
answer
559
views
disable Tab post on nav-menus page (Admin)
Looking for to hide post on nav-menus page like in the picture.
I tried admin Adminimize but it's does not work. so I'm looking for a custom code to add on functions.php
1
vote
1
answer
753
views
Alphabetical Custom Menu
I'd like to create an alphabetical a to z to # custom menu on top of the regular menu. My website is about artists and lyrics. I'd like to have something similar to this menu structure.
when you ...
0
votes
1
answer
23
views
User Wordpress menu in custom page
I have a third party app installed (such as a forum) that I've linked with my Wordpress menu (as a custom link). However I wish to show the same wordpress menu above this app (I have it's source code ...
0
votes
1
answer
65
views
How can I tag a menu item as visited for each unique user?
I'm creating a learning platform and I have a separate menu for different sections.
What I'd like to do is mark these menu items once the unique registered user has seen it.
Like:
.menu-item li{
[...