karlherrick.com

reCAPTCHA plugin styling

Sunday, 13 January 2008

Installing a CAPTCHA implementation on WordPress is quite easy when using the reCAPTCHA plugin, however the styling is hard coded into the main php file included.

Goto the installation directory, for example, “wp-content/plugins/recaptcha-wordpress-2.7” and edit recaptcha.php. Look for the line that embeds the theme type and change it.

var RecaptchaOptions = {theme: "red", tabindex: 5};

I used the “clean” theme. There are other options and ideas for editing the code with css changes.


Home

About

Portfolio

Web Apps Web Enabled Applications Corporate Sites Personal Sites
Preferences Dark Theme Light Theme Notifications
Social GitHub LinkedIn RSS Feed Icon