Only adding scripts where the shortcode is being used
-
Not the biggest deal in the world but an important enhancement is that the scripts should only be added where the shortcode is being used rather than everywhere on the page.
This article explains it better:
https://scribu.net/wordpress/optimal-script-loading.html
Currently, all scripts are being loaded regardless of the shortcode being used or not.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Only adding scripts where the shortcode is being used’ is closed to new replies.