Using reCaptcha in a Wordpress Page
<p>All,
I've got a Page in Wordpress that I'm creating to allow some people to submit some feedback on to me. On my page I've got the following code to include the reCaptcha:</p>

<pre><code>&lt;?php
require_once('http://localhost/website/recaptchalib.php');
$publickey = "12345"; // you got this from the signup page
?&gt;
</code></pre>

<p>Then where I want the reCaptcha displayed I've got the following bit of code:</p>

<pre><code> &lt;?php echo recaptcha_get_html($publickey); ?&gt;&lt;div id="captchaStatus"&gt;&lt;/div&gt;
</code></pre>

<p>However, when I try and display this page I get the following error message from Wordpress:</p>

<pre>Fatal error: Call to undefined function recaptcha_get_html()</pre>

<p>Is there a better way to include the reCaptcha on a Wordpress page? I know there is a reCaptcha plugin but I believe that is only for pages with Comments on it which isn't my need here.</p>

<p>Do I need to not include it as a link and instead a path to the recaptcha page? If so, how can I do that from a page in Wordpress to my base folder?</p>

<p>Any advice is greatly appreciated.</p>

<p>Thanks</p>
