• My requirement is to have menu like this in WordPress

    –Country
    —City
    —–Places to see
    ———Top 10 attractions
    ———Attractions for honeymooners
    —–Hotels
    ———Family Hotels
    ———Romantic Hotels

    and so on Thus, If country is Spain, then cities in Child Menu items will be that of selected city in Spain(places to see and Hotels). If country is France, the cities menu will refer to that of destinations in France and so on

    I am struggling to make this happen in WordPress unless I use a network [multisite]. Grateful if someone can state how menu can be organized in wordpress for desired result.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    I think in order to answer this question, we’ll need some more details from you. Are we assuming that all of these menu items are either pages or an archive of posts? Are any of them purely for categorizing?

    Thanks!

    To clarify all menu are posts. There are no menu items for categorization

    Hi again,

    If these are all posts, would creating a menu on the dashboard help? On the sidebar, under Appearance > Menus, you can create links to these posts and also manually order them by dragging.

    You would insert your menu or create locations for new menus using the wp_nav_menu function in your theme.

    If you’re looking for filters instead, meaning the user chooses Spain as a category which then changes the results to posts for Spain, perhaps looking into a filter plugin might help. It kind of sounds like you don’t want a literal menu, but for the user to choose from one level before it dynamically changes it’s child items depending on what the user picked.

    https://wordpress.org/plugins/search-filter/

    Hope that helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu’ is closed to new replies.