Categories
WordPress

Display Contact Form 7 acceptance checkbox error message

Add following line to your Contact Form 7 forms Additional Settings field
acceptance_as_validation: on

Categories
WordPress

Redirect to another page after Contact Form 7 submission

Add following line to your forms “Additional Settings”.
on_sent_ok: "location = 'http://example.com/thankyou';"

Categories
PHP WordPress

Remove automatically inserted paragraph tags from Contact Form 7

Add following line to your wp-config.php

define( 'WPCF7_AUTOP', false );