Hi Anouar,
Thanks for getting in touch with us.
Did you follow the instructions we offered in the other ticket?
If that doesn’t work, we might need to take a closer look at the settings. Please open a new ticket here and include your WP logins in the designated Sensitive Data section.
https://support.rankmath.com
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I was able to reproduce this issue on my setup. The problem is HappyForms shortcode is adding the Form style and script in the body with the shortcode content. This will create problem with any plugin or theme that processes the content.
Instead of adding the scripts in the shortcode content they should use WordPress recommended wp_register_style and wp_enqueue_style functions.
Please contact the plugin team and forward this information so they could fix this in their plugin.
For now, to fix the issue on your site, please add following code in functions.php file:
add_action( 'rank_math/head', function() {
add_filter( 'happyforms_enqueue_style', '__return_false' );
});
add_action( 'rank_math/head', function() {
add_filter( 'happyforms_enqueue_style', '__return_true' );
}, 999999 );
Hope that helps. If there is anything else, please let us know.
Thank you.
Thank you so much Pratik.
YES, it (the snippet code) worked. I also forwarded your message to HappyForms.
All the best,
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.