• Hi

    Great Plugin. Thank you.
    But i have a Problem. I have MainMenu in the header position with 3 Menulinks (Home, Projects, About us)
    I configured the Plugin that it starts with depht 2. So When i click on “Project 1” i have intro, help, contact on the left sidebar. Perfect. Bu now, when i click on About us (with only two levels), i have all menulinks ther instead of philosophy, team, contact. Is there a solution for this?

    Tahnk you
    Christoph

    Home

    Projects
    – Project 1
    – intro
    – help
    – contact
    – Project 2
    – intro
    – help
    – contact

    About us
    -Philosophy
    -Team
    -Contact

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Hey galbur,

    Are you using the function, or the widget? If using the function can you post a snippet of the arguments you are using?

    Matt Keys

    Thread Starter galbur

    (@galbur)

    Hi Matt

    Thank you. It seems i am using the widget?

    Best regards
    Christoph

    Plugin Author Matt Keys

    (@mattkeys)

    Okay thanks for that info. WordPress has a ‘fallback’ function that is called when a menu is supposed to display, but no items are found. By default it calls ‘wp_page_menu’ which lists out all pages. It sounds like that is what is happening on your About Us page.

    The odd thing, is that the widget should automatically take care of this by using our own fallback function which displays nothing at all when no menu items are found. I’ve recreated your menu structure and verified in my local environment that the widget/plugin are functioning as expected.

    So my best guess for your situation is that some other plugin or theme functionality is overriding the default behavior of the plugin. You may be able to diagnose this by temporarily disabling plugins or theme code and testing to see if the problem goes away. If you are able to narrow it down to a plugin, please share it here so I can see if anything can/should be done to maintain compatibility between the two.

    • This reply was modified 6 years, 4 months ago by Matt Keys.
    Thread Starter galbur

    (@galbur)

    Hi Matt

    Thank you for helping. I use the Ocean WP Template and there is Plugin “Ocean Extra”. And it seems that this Plugin causes the effect. Ok. But the WP Nav Plus Plugin is still not working as expected. And.. i need the “Ocean Extra” Plugin

    The Project-Link works as expected, and whe i use “Project 1” i can see the sub-links (intro, help, contact) on the left sidebar.

    When i use “About us” i can’t see the sub-links from the second level (philosophy, team, contact) on the left sidebar.


    Projects

    – Project 1
    – – intro
    – – help
    – – contact
    – Project 2
    – – intro
    – – help
    – – contact

    About us
    – Philosophy
    – Team
    – Contact

    Maybe this information helps to find a solution.

    Thank you
    Regards
    Christoph

    Plugin Author Matt Keys

    (@mattkeys)

    Hey Christoph,

    It sounds like the plugin is working as expected now. The reason that you see nothing when clicked into ‘about us’ is because you have it set to only show menu links 2 levels deep, but that section only has links 1 level deep.

    You could create a new widget area that only appears on the about us sidebar and set that WP Nav Plus widget to show levels 1 deep.

    With the original problem, good job identifying the conflicting plugin. If you wanted to investigate further you could search for the text “fallback_cb” within that plugins files which might help you pinpoint where it is interfering. Maybe you would be able to disable that aspect of the plugin and continue using the rest.

    Thread Starter galbur

    (@galbur)

    Hi Matt

    Thank you again! I think i found the fallback_cb part in the ocean extra plugin. I comment it out and…. it works. Great.

    The part with the new widget area is a good idea. But “shame on me”. I don’t know how to do that. Do i need a Plugin? Is this Possible with a core WP-Installation?

    Thank you
    Best Regards
    Christoph

    Thread Starter galbur

    (@galbur)

    Hi Matt

    False Alarm. I found a plugin “Dynamic Widgets”. And now with your suggestion everything works perfect.

    Thank you
    Christoph

    Thread Starter galbur

    (@galbur)

    Hi Matt

    Sorry. It’s me again. It still doesn’t work as expected.
    I have two WP Nav Plus Menue Widgets in the default Sidebar. But when i change the Start Depht in the Split Menue Options, it changes in the Other Widget and vice versa.
    I thought they would work independently of each other.

    Best regards
    Christoph

    Plugin Author Matt Keys

    (@mattkeys)

    Two widgets should work side by side without issues. I’ve tested in my local environment just now and everything seems to work as expected.

    If you have specific steps to reproduce the issue let me know and I can test further.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘All Menulinks shown’ is closed to new replies.