OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
      • Basic Version
        • Documenation
        • Usage
        • Developer Docs
      • PRO Version
        • Demo
        • Usage
        • Developer Docs
    • Go Live Update Urls
      • Basic Version
        • Documenation
        • Usage
        • Troubleshooting
      • PRO Version
        • Demo
        • Usage
        • URL History
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Only have second or three level

Resolved

Requested: 4 years and 9 months ago

In each category from menu I can only have the second or third level?

Plugin: Advanced Sidebar Menu

  1. Avatar for OnPoint PluginsOnPoint Plugins

    4 years and 9 months ago

    Hello Δημήτρης,

    By default the category widget will limit the levels to 3, however you may change this to 10 by adding the following filter to your active theme’s functions.php file:

    If you prefer not to use a filter, you may instead use the “Always display child categories” option which lets you chose the levels of categories to display.


    For the issue with accordions, I see the example menu only has 1 level of menu items. For accordions to function, the menu must have at least 2 levels of menu items. Otherwise, it won’t have anything to open or close.

    If you would like to make your existing navigation menu an accordion menu, you may use the following steps:

    1. Add a new “Custom Links” to your existing menu.
      1. Give it a “#” URL which will prevent it from sending the user to a new page.
      2. Set the link text to something descriptive like “Related Content” or “Menu.
    2. Move all existing menu items under the new item.
    3. In the widget settings check the box marked, “Include highest level parent in accordion”.

    This will display your custom link as the top level parent and have all the existing menu items within an accordion.


    Have a great day!

  2. Avatar for Δημήτρης ΕυαγγέλουΔημήτρης Ευαγγέλου

    4 years and 9 months ago

    1) I can not fix it accordion menu, could you fix for me?

    2) In each category from menu I can only have the second or third level?

    I mean that the left sidebar i want dispay only second level of menu.

    For example see please https://ibb.co/b2y721R

    Is it possible?

  3. Avatar for OnPoint PluginsOnPoint Plugins

    4 years and 9 months ago

    Hi Δημήτρης,

    This may be accomplished with the following changes:

    1. Select the same menu showing in your header in the existing “Advanced Sidebar Navigation Menu” widget.
    2. Check the “Display the current item’s section only” widget option.

    Add the following filter to your active theme’s functions.php file:

    This will adjust the widget as follows:

    1. The menu will only display a single level of items.
    2. If the current item has children, the menu will include the current items children only.
    3. If the current item does not have children, the menu will display the current item and it’s siblings only.
    4. If the current item does not exist in the menu, the menu will not display.

    Have a great day!

  4. Avatar for Δημήτρης ΕυαγγέλουΔημήτρης Ευαγγέλου

    4 years and 8 months ago

    Hi,

    I think it does not work.

    Can you please give me an example on my website?

  5. Avatar for OnPoint PluginsOnPoint Plugins

    4 years and 8 months ago

    Good Morning Δημήτρης,

    It appears the sidebar widget may be using a different menu than the one which is shown in the header of the site. Please select the same menu which is shown in the header of the site for the filters to start working.

    Have a great day!

  6. Avatar for Δημήτρης ΕυαγγέλουΔημήτρης Ευαγγέλου

    4 years and 8 months ago

    Thank you very much!

    I need something more please!

    It will be the last.

    I want the last and pro last menu to appear in the left sidebar. That is, the 3rd and the 4th Child.

    Such us https://ibb.co/YTwF6N7

    It is possible?

  7. Avatar for OnPoint PluginsOnPoint Plugins

    4 years and 8 months ago

    Hi Δημήτρης,

    Are you requesting the menu show 2 levels instead of just the bottom level? Using your screenshot as an example, if a user is viewing any of the the KEOAAIO or ENOTHTA pages, the menu would show all of the KEOAAIO and ENOTHTA pages?

  8. Avatar for Δημήτρης ΕυαγγέλουΔημήτρης Ευαγγέλου

    4 years and 8 months ago

    Yes right

  9. Avatar for OnPoint PluginsOnPoint Plugins

    4 years and 8 months ago

    Hi Δημήτρης,

    This series of filters will limit the menu to display the current item’s siblings and the first level of it’s children. When on the bottom level, the current item’s parent, the parent’s siblings, and the current item’s siblings will display. The menu will always be 2 or less levels.

    For this to work, you must:

    1. Uncheck the widget option “Display the current item’s section only”.
    2. Remove the filters we provided you earlier.

  10. Avatar for Δημήτρης ΕυαγγέλουΔημήτρης Ευαγγέλου

    4 years and 8 months ago

    Thank you very much for all!

Newer Responses »

New Response Cancel reply

You must be logged in to respond. Only PRO members are allowed to respond to support requests.

© 2025 · WordPress Development · Terms Of Service · Privacy Policy · Cookie Policy · Log in

  • Plugins
  • Blog
  • Contact