This plugin shows the xhtml and css validity of an entry, in the entry.
$name='wp-w3-validation'; $domain='haveyougotanypets'; echo $email = $name . '@' . $domain . '.com'; // no spam
As this plugin is really only ment for entry editors/admins only the plugin only adds its code when it knows a user has editing rights. As such it will not slow the end users page loading anywhere near so much as the admins. (The following two points do not apply to end users)
The main reason for slower page loading times is the requirement of an external
call to various validators APIs. If your feeling extra enthusiastic you could install
your own instances of the validators on your server. If so then you can change
the locations of in the
wp_w3_validation classes global vars
See the validators homepages for more details.
This plugin uses its own stylesheet hence another request is needed to complete
the page to improve speed you may wish to combine the contents of
with your main css file.
you can call the individual validators by making a call to the validator hence:
$wp_w3_validation = new wp_w3_validation(); $wp_w3_validation->display_html_validity(); // for xhtml validation $wp_w3_validation->display_css_validity(); // for css validation
Note: i will try and keep these function calls the same but im NOT promising anything on future updates.
Requires: 2.7 or higher
Compatible up to: 2.7.1
Last Updated: 7 years ago
Active Installs: 10+
Got something to say? Need help?