Quantcast
Viewing all articles
Browse latest Browse all 11471

Chouby on "[Plugin: Polylang] Translate text or html string inside a jquery file"

I've tried using a php code embedded in the main.js file but it does not work.

php is executed by the server and js by the browser. It can't work

You need to find the php line which loads your main.js. It should use the wp_enqueue_script function (hopefully !)


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>