{"id":713,"date":"2009-07-23T12:14:12","date_gmt":"2009-07-23T02:14:12","guid":{"rendered":"https:\/\/eisabainyo.net\/weblog\/?p=713"},"modified":"2009-07-23T12:23:39","modified_gmt":"2009-07-23T02:23:39","slug":"customising-recaptcha-theme","status":"publish","type":"post","link":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/","title":{"rendered":"Customising reCAPTCHA Theme"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif\" alt=\"reCAPTCHA Custom Theme\" title=\"reCAPTCHA Custom Theme\" width=\"469\" height=\"150\" class=\"alignnone size-full wp-image-714\" \/><\/p>\n<p>I have been using <a href=\"http:\/\/recaptcha.net\/\">reCAPTCHA<\/a> a lot lately, but the default UI is not very intuitive nor pretty.  Thanks to <a href=\"http:\/\/wiki.recaptcha.net\/index.php\/Theme\">reCAPTCHA Wiki<\/a>, I found out that you can customise the look and feel of reCAPTCHA using theme option.    See below for my sample code.  <\/p>\n<pre>&lt;script type=&quot;text\/javascript&quot;&gt;\r\n    var RecaptchaOptions = {\r\n        theme : 'custom'\r\n    };\r\n&lt;\/script&gt;\r\n\r\n&lt;div id=&quot;recaptcha_container&quot;&gt;\r\n    &lt;label for=&quot;recaptcha_response_field&quot;&gt;Enter the two words below:&lt;\/label&gt;\r\n    &lt;input type=&quot;text&quot; id=&quot;recaptcha_response_field&quot; name=&quot;recaptcha_response_field&quot; class=&quot;text&quot; \/&gt;\r\n    &lt;div id=&quot;recaptcha_image&quot;&gt;&lt;\/div&gt;\r\n    &lt;p&gt;Choose captcha format: &lt;a href=&quot;javascript:Recaptcha.switch_type('image');&quot;&gt;Image&lt;\/a&gt; or &lt;a href=&quot;javascript:Recaptcha.switch_type('audio');&quot;&gt;Audio&lt;\/a&gt; &lt;\/p&gt;\r\n    &lt;input type=&quot;button&quot; id=&quot;recaptcha_reload_btn&quot; value=&quot;Get new words&quot; onclick=&quot;Recaptcha.reload();&quot; \/&gt;\r\n&lt;\/div&gt;\r\n\t\t\t\t      \t\r\n&lt;script type=&quot;text\/javascript&quot; src=&quot;http:\/\/api.recaptcha.net\/challenge?k=INSERT_KEY_HERE&quot;&gt;\r\n&lt;\/script&gt;\r\n\t\t\t\t\t\t\r\n&lt;noscript&gt;\r\n    &lt;iframe src=&quot;http:\/\/api.recaptcha.net\/noscript?k=INSERT_KEY_HERE&quot;&gt; height=&quot;300&quot; width=&quot;500&quot; frameborder=&quot;0&quot;&gt;&lt;\/iframe&gt;\r\n    &lt;textarea name=&quot;recaptcha_challenge_field&quot; rows=&quot;3&quot; cols=&quot;40&quot;&gt;&lt;\/textarea&gt;\r\n    &lt;input type=&quot;hidden&quot; name=&quot;recaptcha_response_field&quot; value=&quot;manual_challenge&quot; \/&gt;\r\n&lt;\/noscript&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have been using reCAPTCHA a lot lately, but the default UI is not very<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11],"tags":[],"class_list":["post-713","post","type-post","status-publish","format-standard","hentry","category-snippets","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Customising reCAPTCHA Theme | Tech Leadership Advice &amp; Resources<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Customising reCAPTCHA Theme | Tech Leadership Advice &amp; Resources\" \/>\n<meta property=\"og:description\" content=\"I have been using reCAPTCHA a lot lately, but the default UI is not very\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech Leadership Advice &amp; Resources\" \/>\n<meta property=\"article:published_time\" content=\"2009-07-23T02:14:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2009-07-23T02:23:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif\" \/>\n<meta name=\"author\" content=\"Isabel Nyo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Isabel Nyo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/\"},\"author\":{\"name\":\"Isabel Nyo\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"headline\":\"Customising reCAPTCHA Theme\",\"datePublished\":\"2009-07-23T02:14:12+00:00\",\"dateModified\":\"2009-07-23T02:23:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/\"},\"wordCount\":47,\"commentCount\":11,\"publisher\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"image\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif\",\"articleSection\":[\"Snippets\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/\",\"url\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/\",\"name\":\"Customising reCAPTCHA Theme | Tech Leadership Advice &amp; Resources\",\"isPartOf\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif\",\"datePublished\":\"2009-07-23T02:14:12+00:00\",\"dateModified\":\"2009-07-23T02:23:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage\",\"url\":\"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif\",\"contentUrl\":\"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif\",\"width\":\"469\",\"height\":\"150\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eisabainyo.net\/weblog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Customising reCAPTCHA Theme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#website\",\"url\":\"https:\/\/eisabainyo.net\/weblog\/\",\"name\":\"Career Resources for Professionals in Tech\",\"description\":\"Books, worksheets, templates, frameworks and other useful resources for Chief Technology Officers (CTOs), VPs of Engineering &amp; Technology Directors\",\"publisher\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eisabainyo.net\/weblog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\",\"name\":\"Isabel Nyo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\",\"caption\":\"Isabel Nyo\"},\"logo\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/\"},\"description\":\"My interests: Web Development, Web Design, Web Applications, Web 2.0, AJAX, Search Engine Optimisation, Latest Technologies and more..\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Customising reCAPTCHA Theme | Tech Leadership Advice &amp; Resources","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/","og_locale":"en_US","og_type":"article","og_title":"Customising reCAPTCHA Theme | Tech Leadership Advice &amp; Resources","og_description":"I have been using reCAPTCHA a lot lately, but the default UI is not very","og_url":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/","og_site_name":"Tech Leadership Advice &amp; Resources","article_published_time":"2009-07-23T02:14:12+00:00","article_modified_time":"2009-07-23T02:23:39+00:00","og_image":[{"url":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif","type":"","width":"","height":""}],"author":"Isabel Nyo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Isabel Nyo","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#article","isPartOf":{"@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/"},"author":{"name":"Isabel Nyo","@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"headline":"Customising reCAPTCHA Theme","datePublished":"2009-07-23T02:14:12+00:00","dateModified":"2009-07-23T02:23:39+00:00","mainEntityOfPage":{"@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/"},"wordCount":47,"commentCount":11,"publisher":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"image":{"@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage"},"thumbnailUrl":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif","articleSection":["Snippets","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/","url":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/","name":"Customising reCAPTCHA Theme | Tech Leadership Advice &amp; Resources","isPartOf":{"@id":"https:\/\/eisabainyo.net\/weblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage"},"image":{"@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage"},"thumbnailUrl":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif","datePublished":"2009-07-23T02:14:12+00:00","dateModified":"2009-07-23T02:23:39+00:00","breadcrumb":{"@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#primaryimage","url":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif","contentUrl":"https:\/\/eisabainyo.net\/weblog\/wp-content\/uploads\/2009\/07\/custom_recaptcha.gif","width":"469","height":"150"},{"@type":"BreadcrumbList","@id":"https:\/\/eisabainyo.net\/weblog\/2009\/07\/23\/customising-recaptcha-theme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eisabainyo.net\/weblog\/"},{"@type":"ListItem","position":2,"name":"Customising reCAPTCHA Theme"}]},{"@type":"WebSite","@id":"https:\/\/eisabainyo.net\/weblog\/#website","url":"https:\/\/eisabainyo.net\/weblog\/","name":"Career Resources for Professionals in Tech","description":"Books, worksheets, templates, frameworks and other useful resources for Chief Technology Officers (CTOs), VPs of Engineering &amp; Technology Directors","publisher":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eisabainyo.net\/weblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab","name":"Isabel Nyo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g","caption":"Isabel Nyo"},"logo":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/"},"description":"My interests: Web Development, Web Design, Web Applications, Web 2.0, AJAX, Search Engine Optimisation, Latest Technologies and more.."}]}},"_links":{"self":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/comments?post=713"}],"version-history":[{"count":7,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/713\/revisions"}],"predecessor-version":[{"id":722,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/713\/revisions\/722"}],"wp:attachment":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/media?parent=713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/categories?post=713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/tags?post=713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}