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

Not assigning classes

Resolved

Requested: 7 years and 3 weeks ago

Hello,

we bought the pro version in order to use the accordion menu.

But with out graphical theme, it does not assign any class to <li> elements, they all look <li class> ….

Changing the theme, fixes all.

Any suggestion?

 

PS+

We thought it was due to WP versions, or JQuery version, or JQuery loading time in page (in our theme it was at the end of file), but after using right version of all, and loading jquery at the beginning of page, still did not fix any.

Plugin: Advanced Sidebar Menu

  1. Avatar for OnPoint PluginsOnPoint Plugins

    7 years and 3 weeks ago

    HiĀ Giuseppe,

    It sounds like your theme is tapping into the filters which control which classes show up. If you would like to send me which widget you are using I can direct you to which filters affect the classes.

    Otherwise, if you prefer sending me a link to where I may see the menu, I can find out which filters from there.

    Have a great day!

    Mat Lipe

  2. Avatar for techstafftechstaff

    7 years and 3 weeks ago

    Hello

    The original theme uses a different jquery version, but modifying line 123 of funchions.php like this, fixes it
    //wp_register_script(‘jquery’, get_template_directory_uri().’/js/vendor/jquery.min.js’, false, ”, true);
    wp_register_script(‘jquery’, ‘https://code.jquery.com/jquery-1.12.4.min.js’, false, ”, true);

  3. Avatar for OnPoint PluginsOnPoint Plugins

    7 years and 3 weeks ago

    HiĀ Giuseppe,

    Excellent. I’m glad you were able to fix it!

    Have a great day!

    Mat Lipe

  4. Avatar for techstafftechstaff

    7 years and 3 weeks ago

    Hello

    And as you can see, all the classes in elements are empty, as we told before.
    Can you help us?

  5. Avatar for OnPoint PluginsOnPoint Plugins

    7 years and 3 weeks ago

    Hi W,

    If you look at your theme’s functions.php file on line 79 there is this call
    add_filter('page_css_class', 'my_css_attributes_filter', 100, 1);
    I suspect this is what is breaking the menu classes. If you remove this line it is likely they will work again.

    Have a great day!

    Mat Lipe

  6. Avatar for techstafftechstaff

    7 years and 3 weeks ago

    Perfect, thank you very much

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