JS and CSS load on every page
-
Hi there,
I am using the wp-polls only on home page as widget and archive page apart from these two location i don’t need to load css/js or any related thing to polls on every page.Any idea how can i disable the following on every page
<script type='text/javascript'> /* <![CDATA[ */ var pollsL10n = {bla bla bla}; /* ]]> */ </script> <script type='text/javascript' src='your_domain/plugins/wp-polls/polls-js.js?ver=2.68'></script>
and the following css
<style type="text/css"> .wp-polls .pollbar { margin: 1px; font-size: 6px; line-height: 8px; height: 8px; background-image: url('https://cile/en/wp-content/plugins/wp-polls/images/default/pollbg.gif'); border: 1px solid #c8c8c8; } </style>
Thanks in advance
- The topic ‘JS and CSS load on every page’ is closed to new replies.