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.
OnPoint Plugins
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
techstaff
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);
OnPoint Plugins
HiĀ Giuseppe,
Excellent. I’m glad you were able to fix it!
Have a great day!
Mat Lipe
techstaff
Hello
And as you can see, all the classes in elements are empty, as we told before.
Can you help us?
OnPoint Plugins
Hi W,
If you look at your theme’s
functions.php
file on line 79 there is this calladd_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
techstaff
Perfect, thank you very much