WPIntell

Source evidence

Loading js/css only when shortcode present

WP Charts and Graphs – WordPress Chart Plugin · support · 2021-10-16T20:51:00+00:00

mixedsentiment
mediumseverity
0.72relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 32 rows with source links

12.5% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
grzechus resolved
Hello, is it possible to force loading plugin files (js/css) only when there is a shortcode on the post/page? Hi, Just updated the plugin and added a feature to include or exclude the plugin files on specified pages/posts only. Unfortunately, it is not possible to implement the plugin files when a shortcode is exists as the files added technically before the shortcodes can be checked. Best regards, Pantherius Hi, I have a blank page in settings. I use AssetCleanup Pro to unload the plugin on all my pages and archives and it works fine. I just need to unload it on posts where I don’t use chart.js as well. Thanks. Hi, Just fixed the issue, please check it again. Regards, Pantherius

Comments

3 shown
pantherius 2021-10-19T18:23:00+00:00

Hi, Just updated the plugin and added a feature to include or exclude the plugin files on specified pages/posts only. Unfortunately, it is not possible to implement the plugin files when a shortcode is exists as the files added technically before the shortcodes can be checked. Best regards, Pantherius

grzechus 2021-10-19T21:06:00+00:00

Hi, I have a blank page in settings. I use AssetCleanup Pro to unload the plugin on all my pages and archives and it works fine. I just need to unload it on posts where I don’t use chart.js as well. Thanks.

pantherius 2021-11-16T11:31:00+00:00

Hi, Just fixed the issue, please check it again. Regards, Pantherius