WordPress Comments Form Validation

Created by: Andrew Saint

Rating:
Downloaded: 811 times

Issues

This plugin was designed to work with the default comment form markup, it should work with most themes if they have stuck to the same naming conventions for field names.

Tips

Remove Default Styling

If you would like to use your own styling for the error elements then you can easily remove the default styling by placing the following code inside a ‘wp_enqueue_scripts’ callback function.

`php

function themeslug_dequeue_style() {
wp_dequeue_style( ‘wp-cf-validation’ );
}
add_action( ‘wp_enqueue_scripts’, ‘themeslug_dequeue_style’ );
`

Screenshots

    Categories

    Get New Themes & Resources