Title: [Plugin: TPG Get Posts] Breaks HTML validation
Last modified: August 20, 2016

---

# [Plugin: TPG Get Posts] Breaks HTML validation

 *  Resolved [theamazingfartface](https://wordpress.org/support/users/theamazingfartface/)
 * (@theamazingfartface)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-tpg-get-posts-breaks-html-validation/)
 * Using [http://validator.w3.org/](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/](http://wordpress.org/extend/plugins/tpg-get-posts/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Criss Swaim](https://wordpress.org/support/users/cswaim/)
 * (@cswaim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-tpg-get-posts-breaks-html-validation/#post-2959833)
 * 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.
 *  Plugin Author [Criss Swaim](https://wordpress.org/support/users/cswaim/)
 * (@cswaim)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-tpg-get-posts-breaks-html-validation/#post-2959839)
 * 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.
 *  Thread Starter [theamazingfartface](https://wordpress.org/support/users/theamazingfartface/)
 * (@theamazingfartface)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-tpg-get-posts-breaks-html-validation/#post-2959840)
 * 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!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: TPG Get Posts] Breaks HTML validation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/tpg-get-posts_dfefe0.svg)
 * [TPG Get Posts](https://wordpress.org/plugins/tpg-get-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tpg-get-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tpg-get-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/tpg-get-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tpg-get-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tpg-get-posts/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [theamazingfartface](https://wordpress.org/support/users/theamazingfartface/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-tpg-get-posts-breaks-html-validation/#post-2959840)
 * Status: resolved