Support » Plugin: Testimonials Widget » Load scripts and stylesheets only on Testimonials Page?

  • Resolved oregonriverchic

    (@oregonriverchic)


    Great Testimonials tool! I really love it. I am looking for a way to remove the css call from each page and move it to only the page where the testimonials appear. I have 2 such pages, but these files are being called on each page, slowing my page load speed:
    ../wp-content/plugins/testimonials-widget/testimonials-widget.css?ver=3.6.1
    ../wp-content/plugins/testimonials-widget/testimonials-widget-ie7.css?ver=3.6.1

    Is there a way to have css only appear on testimonial widget pages?

    Thank you for your help!

    http://wordpress.org/plugins/testimonials-widget/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Cannon

    (@comprock)

    Great idea, I’ll add it to the todo for an upcoming release. Should be completed within a month.

    In the meantime, why don’t you use Autoptimize to combine all of these scripts and styelsheets together to reduce your http requests and overall load?

    Plugin Contributor Michael Cannon

    (@comprock)

    The next release will only load scripts and styles as needed.

    Thread Starter oregonriverchic

    (@oregonriverchic)

    Thank you for updating the plugin. I was not able to locate where in the control panel for testimonials widget where this feature is available. Do I need to edit the code, or add a call in my wp-config.php file? Or does it do it automatically? I appreciate your help.

    Best Regards,
    Crystal

    Plugin Contributor Michael Cannon

    (@comprock)

    Crystal, It’s automatic.

    Thread Starter oregonriverchic

    (@oregonriverchic)

    That’s wonderful Michael! Thank you so much. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Load scripts and stylesheets only on Testimonials Page?’ is closed to new replies.