OnPoint Plugins

  • Plugins
    • Advanced Sidebar Menu
    • Go Live Update Urls
  • About
    • Services
    • Showcase
  • Blog
  • Contact
  • Support
  • Log In
← Back to support

Include cousins within the accordion menu.

Resolved

Requested: 4 months and 2 weeks ago

Is there a way to  display the siblings children (cousins) when the page has no children?

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    4 months and 2 weeks ago

    Hi Nicole,

    Sounds like the option you are looking for is “Always display child pages”.

    Using the “Always display child pages” option in conjunction with accordions will allow all family pages to be available within your accordion regardless of which page you are on.

    Have a great day!

  2. Nicole Smith, Univ of Lynchburg

    4 months and 2 weeks ago

    I already have that selected and it doesn’t work as you can see from the images I shared.

  3. OnPoint Plugins

    4 months and 2 weeks ago

    Hi Nicole,

    Can you send me a link to where I can see this in action?

    There are many possible combinations of blocks, widgets and settings which you might be using. I tested all the ones I could think of on our end and so far everything is working correctly using “Always display child pages” option.

  4. Nicole Smith, Univ of Lynchburg

    4 months and 2 weeks ago

    Here is the link.

  5. OnPoint Plugins

    4 months and 2 weeks ago

    Hi Nicole,

    I was able to track down the issue to the use of the “Display the current page’s direct family only” option. When this option is checked, the menu is limited to only items which exist below or above the current item which is why there are no cousins being shown.

    A solution is to uncheck the “Display the current page’s direct family only” option. Be default all first level children will be shown when this option is unchecked. To hide the first level children which are not ancestors of the currently page, you may add the following filter to your active theme’s functions.php file:

    This will allow the accordion to include the cousins while preventing extra menu sections from showing.

    Have a great day!

New Response Cancel reply

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

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

  • Plugins
  • Blog
  • Contact