Hi,
Since the latest update the dropdown menu “Clinic” has stopped functioning.
Using x, not pro.
thanks,
Brent
Hi,
Since the latest update the dropdown menu “Clinic” has stopped functioning.
Using x, not pro.
thanks,
Brent
Hi @Brent-St,
Thanks for writing in.
I could see that you have an error on your custom JS. To check, try to remove your script if it will work again
Let us know how it goes.
Thanks…
Hi Nico,
Not sure which custom JS you are talking about?
Can you point me in the right direction?
thanks,
Brent
Hi Brent,
It’s one of the theme’s js code that is returning an error but it shouldn’t be.
Can you try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
If that doesn’t help, kindly provide us your wordpress admin login in Secure Note.
Thanks
Hi,
I deactivated all of the plugins and the drop down issue persisted.
if i use the parent theme the issue goes away.
using the child theme makes the issue happen again.
any help is greatly appreciated.
thanks,
Brent
Hi Brent,
I check and it’s your defer js code that is causing the issue.
// Defer Javascripts
// Defer jQuery Parsing using the HTML5 defer property
if (!(is_admin() )) {
function defer_parsing_of_js ( $url ) {
if ( FALSE === strpos( $url, '.js' ) ) return $url;
if ( strpos( $url, 'jquery.js' ) ) return $url;
// return "$url' defer ";
return "$url' defer onload='";
}
add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );
}
Kindly refer to the link below
Thanks
thanks very much for your help
That resolved the issue.
Brent
You’re welcome!