Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jdgrimes/wp-html-validator

WordPress plugin that validates your site's HTML and reports any errors. Works for local sites too!
https://github.com/jdgrimes/wp-html-validator

Last synced: 13 days ago
JSON representation

WordPress plugin that validates your site's HTML and reports any errors. Works for local sites too!

Awesome Lists containing this project

README

        

WP HTML Validator
=================

WordPress plugin that validates your site's HTML and reports any errors. Works for
local sites too!

# Installation

Install and activate it as you would any other plugin. Then visit any webpage on your
site (on the front end or the administration panels). You can scroll down to the
footer and see whether the HTML is valid.

# Configuration

The results are cached per-URL using transients, and the default expiration is 2
minutes. You can change this by defining `WP_HTML_VALIDATOR_CACHE_EXPIRATION` in your
`wp-config.php`:

```php
define( 'WP_HTML_VALIDATOR_CACHE_EXPIRATION', 15 * 60 ); // 15 minutes
```