I am making wordpress template. I've made mega menu on it. Such as on screenshot. But it is only in html. How to add custom settings in wordpress console for users, to add menu items etc.. ?
The wordpress function to create menus is wp_nav_menu however I'm not sure it will work with your menu, it will depend of the structure you developed your mega menu and if it's like the default output by the wp_nav_menu function.
If it's not you will need to write a menu nav walker function.
You can check more about that here
Maybe if you can shere your mega menu code I could help you more.
Related
I had to create a custom page borrowing the Divi theme code in order to use my shopping carts include file. The problem is the responsible WP menu will not work on the custom pages.
Is there are anyone who has had this issue who could help? It seems like the problem is in the page container and its overlapping the menu - but am struggling to pin point the problem.
Link to a test page: https://hookedonsunshine.co/products2.php
How to convert this awesome menu to wordpress.
Menu demo link.
Wordpress has its own default feature to display a menu with using wp_nav_menu function.
You can create a menu from WordPress backend and call it using this function so your menu will be dynamically and you can set the last menu with label ... and select as a custom link with # then you can add another sub child under this menu as well.
You can apply same CSS to this menu also to look same as you want.
I hope this will be helpful for you.
Thanks.
I would like to be able to create a navigation menu in WordPress in which the top-level nav items are not pages, but rather menu headings, which expand the sub menu when clicked.
The default WP menu behavior is that all menu items are links to content (pages, posts, etc), and that sub-items are viewed upon hover.
I'm looking for a way to make it work more like the menu behavior built into Twitter Bootstrap (and for the same usability reason).
I'm looking for a solution that either already exists as a plugin, or which I can build into a plugin, so that anyone can create a new menu like this in the WordPress menu editor.
checkout this tutorial :
https://digwp.com/2011/11/html-formatting-custom-menus/
If you dont want any custom html structure than you can simply add the classed to menu and for top level menu create a custom link with # as href.
I am a total beginner on the platform wordpress ... bought a theme, installed it, everything right, the menus appeared. But I would like to include a submenu, the parent menus in a theme and create a page to add.
How do I do that?
I'm lost.
Ok, so on your dashboard you see the main menu down the left hand side. The editor for menus is under Appearance -> Menus.
In there you should be able to easily structure your menus and sub-menus with a simple drag and drop editor, as long as your theme supports editable menus and sub-menus.
As for creating pages, you do that by going to Pages -> Add New. Once you have created a page it should show up in the menu editor to be added.
Hope that helps.
I am new to wordpress. I want to know how can I customize a navigation menu in wordpress. I want to be able to change the look and contents of the navigation menu according to my need.I searched for plugins but none matches with the requirement. How should I proceed?
The menu is built up by the pages that you create. All the other stuff that you see are made up from widgets which you can drag and drop in the widgets menu.
So what are your plans exactly and what is the url so we can help a little bit better?