Unanswered Questions
446 questions with no answers
3
votes
0
answers
1k
views
Add Product categories to Wordpress menu without losing hierarchy
I need to add product categories to Wordpress menu, but when I'm doing this with WP interface it lose the hierarchy
I tried with WP-CLI, but there is no method to specify wich item is the child.
...
3
votes
0
answers
1k
views
Create Custom Post Type Archive Page with Sub Categories Navigation Sidebar
I have 8 custom post types (which are actually for 8 different blogs and used as "blog landing pages"). Each custom post type is also a Blog Category and each has several sub categories to it. For ...
3
votes
0
answers
1k
views
How to add ID and class in nav menu walker?
I would like to set up a custom walker that produces the following output:
<div id="navbarHolder">
<div id="navbar">
<ul>
<li><a id="nav_about" ...
3
votes
0
answers
1k
views
wp_nav_menu custom walker - child items
I have written a custom walker to integrate a jQuery drop-down nav script into my WordPress template. I need to add .dropdown-link to each of my parent menu items and .dropdown-wrapper to the ...
2
votes
0
answers
878
views
Add acf custom fields so sub item in menus
Please, can anybody help me, I've been struggling so long with this
Basically, I want to add custom fields to sub menu items, I want to add an image and a link. I can see fields showing up in sub ...
2
votes
0
answers
510
views
You do not have permission to create Navigation Menus - Twenty Twenty-Two theme
I have a WP Multisite, where I am the super-admin of the Network and the only admin (also super-admin) of this particular site.
Everything is working fine, but whenever I try to edit/add Navigation ...
2
votes
0
answers
231
views
Header Button Chance Polylang Elementor
Currently, I am making a Bilingual website, and I made a button on the header as well, and I want to make the button bilingual as well, but I don't know how could I change its language because it is ...
2
votes
0
answers
438
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 ...
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/...
2
votes
0
answers
218
views
Get menu item by name or slug
I would like to retrieve a menu item object by name. I am not sure what method to use.
A similar method that works for menu names is wp_get_nav_menu_object(). If you read the documentation, you can ...
2
votes
0
answers
43
views
Use walker for specific menu, or avoid use of walker
I'm trying to solve a particular problem and having trouble figuring out which way is best. So, I have a menu (generated through WP's menu creator) and would like to pull the featured image of each ...
2
votes
0
answers
308
views
Building custom API and using wp_get_nav_menu_items to get menu items. Only works when logged in, returns nothing when I'm not
Working on a custom api for a site I'm building and I found a weird issue with wp_get_nav_menu_items.
Essentially - wp_get_nav_menu_items only works and returns items when I'm logged in. If I'm not ...
2
votes
0
answers
422
views
Custom Category/Subcategory structure
I am building a site with several sections, and one of them is a special page to navigate through categories in a hierarchical style (you can navigate into categories/subcategories and see their ...
2
votes
0
answers
308
views
Import menu tree to custom menu from csv or xml, many nested menu points
what would you recommend to import about 6000 menu items (yes it is ab big catalog with many nested categroies, depth about 6) to a custom menu in Wordpress.
I have a text file with the following ...
2
votes
0
answers
1k
views
Update Nav Menu Items Programmatically
I know this may sound stupid, but I created a code which (in theory) should add a few submenus to my primary menu.
However I don't seem to be able to display this new menu because I don't know when I ...