4
4
4yk7772018-06-17 14:51:46
WordPress
4yk777, 2018-06-17 14:51:46

How to make a menu from a wordpress submenu?

There is a main menu with the "services" item, you need to display the sub-items of this menu elsewhere on the site

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Kozlov, 2018-06-17
@trampick

There are many options
- Write your own menu output function using wp_get_nav_menu_items.
- Use the wp structure correctly. Let the service page be a page. For services, we will create child pages that are necessary. Well, in that place in the template where it is necessary, we will receive child pages through wp_query, and if they exist, then display them as a menu.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question