• Resolved tonyzyc

    (@tonyzyc)


    I found that this plugin also adds CSS and JS to pages not related to review (homepage, contact us, about us, faq, Privacy Policy etc.)

    This causes some problems with these pages, it will add Lightbox related code to these pages, I only disable Lightbox in this plugin, these codes will disappear. These codes will cause the link on the top bar to be unclickable

    I enabled Trust Badges by accident and then disabled it, but the CSS and JS can’t be removed

    How can I remove these JS and CSS from pages that are not related to the review?

    Or how to clear the settings of this plugin in the database and then reinstall the plugin?

    For example, 3 CSS and 2 JS are added to the home page
    wp-content/plugins/customer-reviews-woocommerce/css/frontend.css
    wp-content/plugins/customer-reviews-woocommerce/css/badges.css
    wp-content/plugins/customer-reviews-woocommerce/css/reviews-grid.css
    wp-content/plugins/customer-reviews-woocommerce/js/frontend.js
    wp-content/plugins/customer-reviews-woocommerce/js/colcade.js

    the following code will add to pages not related to review (homepage, contact us, about us, faq, Privacy Policy etc.), it will cause the link on the top bar to be unclickable, when I disable Lightbox in this plugin, these codes will disappear.

    <div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    	<div class="pswp__bg"></div>
    	<div class="pswp__scroll-wrap">
    		<div class="pswp__container">
    			<div class="pswp__item"></div>
    			<div class="pswp__item"></div>
    			<div class="pswp__item"></div>
    		</div>
    		<div class="pswp__ui pswp__ui--hidden">
    			<div class="pswp__top-bar">
    				<div class="pswp__counter"></div>
    				<button class="pswp__button pswp__button--close" aria-label="Close (Esc)"></button>
    				<button class="pswp__button pswp__button--share" aria-label="Share"></button>
    				<button class="pswp__button pswp__button--fs" aria-label="Toggle fullscreen"></button>
    				<button class="pswp__button pswp__button--zoom" aria-label="Zoom in/out"></button>
    				<div class="pswp__preloader">
    					<div class="pswp__preloader__icn">
    						<div class="pswp__preloader__cut">
    							<div class="pswp__preloader__donut"></div>
    						</div>
    					</div>
    				</div>
    			</div>
    			<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
    				<div class="pswp__share-tooltip"></div>
    			</div>
    			<button class="pswp__button pswp__button--arrow--left" aria-label="Previous (arrow left)"></button>
    			<button class="pswp__button pswp__button--arrow--right" aria-label="Next (arrow right)"></button>
    			<div class="pswp__caption">
    				<div class="pswp__caption__center"></div>
    			</div>
    		</div>
    	</div>
    </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Clear the settings of this plugin in the database’ is closed to new replies.