Support » Plugin: Slideshow » Invalid Markup?

  • Resolved gstricklind


    Validating for HTML5 and I’m getting: Element link is missing required attribute property for the following lines:

    <link rel='stylesheet' id='slideshow-jquery-image-gallery-stylesheet_functional-css' href='[website]/wp-content/plugins/slideshow-jquery-image-gallery/style/SlideshowPlugin/functional.css?ver=2.2.19' type='text/css' media='all' />
    <link rel='stylesheet' id='slideshow-jquery-image-gallery-ajax-stylesheet_style-light-css' href='[website]/wp-admin/admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=style-light&ver=2.2.19' type='text/css' media='all' />

    I believe these need to be called in the head of the document.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefan Boonstra


    You’re right.

    The stylesheets are loaded in the footer to make sure they’re not loaded when they’re not needed by the website. However, there’s a setting to change this behaviour.

    In the WordPress dashboard menu go to “Slideshows”, then click “General Settings”. The “General Settings” page will apear on which you’ll see the “Stylesheet location” setting. Set this setting to “Head” to load the stylesheets in the head of the document.



    Thanks. I thought I remembered seeing this somewhere but couldn’t remember. Have you though about creating a warning of sorts for that setting?

    Btw, this plugin has grown nicely. Great job.

    Plugin Author Stefan Boonstra


    Thanks for the compliment!

    I haven’t. Most people don’t seem to mind the compromise in HTML markup when it means their pages will have a better performance when loading.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid Markup?’ is closed to new replies.