WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] Please load CSS conditionally in the head (4 posts)

  1. gillespieza
    Member
    Posted 1 year ago #

    The plugin inserts CSS into the body of the page it is used on. Please could you enqueue the CSS to load in the head of the page instead, so page load-speeds (and YSlow, etc scores) can improve. @scribu has a great tutorial on this: http://scribu.net/wordpress/optimal-script-loading.html

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

  2. gillespieza
    Member
    Posted 1 year ago #

    Doh, never mind - I see in your changelog that it's fixed now (I was using an older version).

  3. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    You read the Changelog? Cool, I often feel that nobody reads the readme.txt file.

    In any case, thank you for the load links. I'd seen them beforehand, but still had to code the JS/CSS into the footer via yet another method because they're dynamically generated based upon id numbers.

    Validation seems to be working, so all is good.

  4. gillespieza
    Member
    Posted 1 year ago #

    I always read the changelog in case its a big change and things break :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.