Skip to main content

New answers tagged

0 votes

Check if SEO plugin installed

For most popular plugin, 'Yoast SEO', its possbile to check if WPSEO_VERSION constant exists: if (defined('WPSEO_VERSION')) { ... }
AndreyP's user avatar
  • 141
3 votes

Deferring Script wp-i18n causes a console error 'wp is not defined' - Gravityforms

It is necessary to exclude defer addition for files that have -js-after In my case, the error was caused by the files hooks.min.js and i18n.min.js. This function worked great in my case: function ...
Boris Michourin's user avatar

Top 50 recent answers are included