enqueue css/js only on applicable pages
-
Hi There,
I found those 3 assets are injected to the <head> on every page. The google pagespeed insights complains about the unused files downloaded.
/wp-content/plugins/feed-them-social/feeds/css/styles.css
/wp-content/plugins/feed-them-social/feeds/js/powered-by.js
/wp-content/plugins/feed-them-social/feeds/js/fts-global.jsI wonder if there’s an options to enqueue those files only on applicable pages? For example only those pages where the widget is used?
Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘enqueue css/js only on applicable pages’ is closed to new replies.