Remove stylesheets and javascript on which pagebuilder is not used
-
I want to remove
<link rel=’stylesheet’ id=’wr-pb-font-icomoon-css’ href=’wp-content/plugins/wr-pagebuilder/assets/3rd-party/font-icomoon/css/icomoon.css’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’wr-pb-bootstrap-css’ href=’wp-content/plugins/wr-pagebuilder/assets/3rd-party/bootstrap3/css/bootstrap_frontend.min.css’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’wr-pb-joomlashine-frontend-css’ href=’wp-content/plugins/wr-pagebuilder/assets/woorockets/css/jsn-gui-frontend.css’ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’wr-pb-frontend-css’ href=’wp-content/plugins/wr-pagebuilder/assets/woorockets/css/front_end.css’><script type=’text/javascript’ src=’wp-content/plugins/wr-pagebuilder/assets/3rd-party/bootstrap3/js/bootstrap_frontend.min.js?ver=3.0.2′></script>
<script type=’text/javascript’ src=’wp-content/plugins/wr-pagebuilder/assets/3rd-party/scrollreveal/scrollReveal.js?ver=0.1.2′></script>
<script type=’text/javascript’ src=’wp-content/plugins/wr-pagebuilder/assets/3rd-party/stellar/stellar.js?ver=0.6.2′></script>All these files from all other pages only show them on page where page builder is used.
How to do that?
- The topic ‘Remove stylesheets and javascript on which pagebuilder is not used’ is closed to new replies.