Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Richard Archambault

    (@richardmtl)

    Thanks for letting us know about your concerns. I will bring them to the team and get back to you. Meanwhile, you can over-ride using !important in your CSS. I understand that this is not ideal, but it is a workaround for you for the moment.

    Plugin Contributor Richard Archambault

    (@richardmtl)

    Hi Mike,

    Here’s some information for you regarding the decision to include the CSS in the page body:

    Carousel only loads its assets if it’s present in a post, which isn’t known when wp_head fires. Thanks to an update in 3.3, assets enqueued during page rendering are output in wp_footer unless already present when wp_head fired.

    For Carousel’s assets to be output at wp_head, we’d either have to enqueue them on every page once the module is active, or review all posts to be output for a given request and enqueue if the gallery shortcode is found. Either approach would ensure that Carousel’s assets appear in the <head> of the user’s page, at the expense of performance. While the W3C doesn’t provide for <link> tags in the body, browsers don’t generally care.

    I hope this answers your concerns and explains why it was decided to include the <link> in the body. If you have any suggestions on how to improve this, please let me know so that I can pass it on!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slideshow outputs link element in body’ is closed to new replies.