OnPoint Plugins

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

Open accordion on clicking of grandchild links

Resolved

Requested: 1 year and 10 months ago

Hello!

Can you help me please? there are some pages that don´t have content, these pages are only to make a correct map site estructure, to separate from parents and children, for example you can see this image:

As you can see Facial and Body are parents and don´t have content, are pages but there is no content, so in the menu item i would like to active dropdown in accordeon instead of link to page for these item options.

sorry for my english

It woulbe helpfully to have the option in every page, to configure i you like link to page or only drop down accordeon.

The link again:

http://www.sitiodemo4.com/wp-content/uploads/2021/03/support-menu.jpg

I hope your response

Regards!

Rodrigo Reyes

 

 

 

Plugin: Advanced Sidebar Menu

  1. OnPoint Plugins

    1 year and 10 months ago

    Hi Rodrigo,

    The way the accordion is setup it does not allow for targeting specific links but you may target particular levels to make links open the accordion instead of going to the page.

    If you add the following JavaScript to your site, clicking on any of first level of your grandchildren will open the accordions:

    Have a great night!

     

  2. Rodrigo Reyes

    1 year and 10 months ago

    Hello!  Thanks for your answer

    I inserted the code in <head> after and before, </body> after and before but it doesn’t work, you can see in action:

    http://www.sitiodemo4.com/products/cosmeceuticals/

    What it could be?

    Regards!

    Rodrigo R.

  3. OnPoint Plugins

    1 year and 10 months ago

    Hi Rodrigo,

    Turns out your menu is not displaying the highest level menu items. No problem, just needs slightly adjusted JavaScript.

    Have a great day!

  4. Rodrigo Reyes

    1 year and 10 months ago

    Wow! it works, many many thanks!!

  5. OnPoint Plugins

    1 year and 6 months ago

    Hi Rodrigo,

    I wanted to stop in to let you know PRO version 8.4.0 is now available which includes widget options for using links as open/close. You may now use the widget options instead of the custom JavaScript.

    Documentation is here.

    Enjoy!

  6. Rodrigo Reyes

    1 year and 6 months ago

    Thank you!!

    Very useful!

    Regards

    RR

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