Title: [Plugin: WordPress Mobile Pack] Solution for failed html validation
Last modified: August 20, 2016

---

# [Plugin: WordPress Mobile Pack] Solution for failed html validation

 *  [geraki](https://wordpress.org/support/users/geraki/)
 * (@geraki)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-solution-for-failed-html-validation/)
 * My blog was never validating when using WordPress Mobile Pack, because an ambersand
   contained in a link in the barcode widget. I had some time to find in which file
   it should be repaired, and I had to do it again everytime I was upgrading. If
   someone needs to (and dear developer please include the patch so we don’t have
   to do it every time) edit the file **wpmp_barcode.php** in the directory `/plugins/
   wordpress-mobile-pack/plugins/wpmp_barcode`
 * Change line 93 from:
    `$link .= "&wpmp_switcher=mobile";` to: `$link .= "& amp;
   wpmp_switcher=mobile";`
 * Note: the parser in this forum is changing the & a m p ; to &. There should be
   no spaces in the above code.
 * [http://wordpress.org/extend/plugins/wordpress-mobile-pack/](http://wordpress.org/extend/plugins/wordpress-mobile-pack/)

The topic ‘[Plugin: WordPress Mobile Pack] Solution for failed html validation’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-mobile-pack_7b7875.svg)
 * [WordPress Mobile Pack - Mobile Plugin for Progressive Web Apps & Hybrid Mobile Apps](https://wordpress.org/plugins/wordpress-mobile-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-mobile-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-mobile-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-mobile-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-mobile-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-mobile-pack/reviews/)

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 0 replies
 * 1 participant
 * Last reply from: [geraki](https://wordpress.org/support/users/geraki/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpress-mobile-pack-solution-for-failed-html-validation/)
 * Status: not resolved