WordPress.org

Ready to get started?Download WordPress

Forums

TPG Get Posts
[resolved] Breaks HTML validation (4 posts)

  1. theamazingfartface
    Member
    Posted 1 year ago #

    Using http://validator.w3.org/ I noticed how the use of this plugin breaks validation rendering the entire site invalid. I think this is reproducable on every website using the plugin.

    http://wordpress.org/extend/plugins/tpg-get-posts/

  2. cswaim
    Member
    Plugin Author

    Posted 1 year ago #

    Unfortunately, you are correct. I can clean up some of the errors easily, like removing the invalid / and empty id attribute. However, a couple of changes will not be so easy - ie duplicate ids. Making the ids unique may break styling markup on existing sites.

    I am not sure how to proceed with that change. I will push the easy changes out within a week but the other changes will need to wait until I have a solution that does not break other sites.

  3. cswaim
    Member
    Plugin Author

    Posted 1 year ago #

    With version 1.3.8, all the validation errors have been cleared up. I changed the id to classes for the division and hope that it will not break too many sites.

    Thanks for the heads up on this.

  4. theamazingfartface
    Member
    Posted 1 year ago #

    Wow, you are fast. I think changing it to a class would be a good solution. I'll toy around with it some more next week. Thanks for the feedback, I really appreciate it.

    Have a great weekend!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic