• Hello,

    I have WordPress installed and I have a menu like that:

    =Page1
    ==Post11
    ==Post12
    =Page2
    ==Post21
    ===Post211
    ===Post212
    ==Post22
    =Page3
    ==Page4
    ===Post41

    I would like, if I’m in the Page1, display the menu, but only showing
    =Post11
    =Post12

    And if I’m in Post21, display
    =Post211
    =Post212

    Is there a way to tweak wp_nav_menu(); in order to achieve that?

    Or something else I could use?

    Thanks a lot.

Viewing 1 replies (of 1 total)
  • Thread Starter salmoliv

    (@salmoliv)

    I meant Category and not Post …

    Page1
    -Category1
    -Category2
    Page2

    If I’m at the home level, I want the full menu to be displayed.
    If I’m on my Page1, I want to display in my page a menu with only
    Category1
    Category2

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Menu in page / post’ is closed to new replies.