Support » Plugin: Slide Anything - Responsive Content / HTML Slider and Carousel » Omit doctype etc in generated HTML

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Please explain why I need these suggested code changes – this is a bit out the blue and whatever changes I make I will have to do some testing to see what impact they have. I’m away on holiday for 2 weeks and will probably only be able to look at this when I get back.

    OK, sure.

    When using this plugin, the generated markup has a full HTML document for each slide, which is invalid HTML. It is not allowed to use doctype, html, head, body tags within the body. They serve no purpose and are just generated by mistake from using loadHTML() and saveHTML().

    The change makes the extra invalid markup go away.

    Plugin Author simonpedge

    (@simonpedge)

    Ok, have a look at the latest version of Slide Anything, version 2.2.8, which I’ve just released.

    This version will have these changes implemented.

    Excellent, thank you!

    Plugin Author simonpedge

    (@simonpedge)

    Ok, it seems the change you suggest I make has broken my plugin. See here:
    https://wordpress.org/support/topic/latest-update-breaks-slide-html/#post-11311414

    So I will have to probably revert this change back to the previous version 2.2.7.

    Plugin Author simonpedge

    (@simonpedge)

    Download version 2.3.0 of Slide Anything.

    With this version, when you enable the ‘Lazy Load Images’ or ‘Remove JavaScript’ options the HTML, DOCTYPE & BODY tags are now stripped-out from the front-end code.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.