<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>G to The Square &#187; Compositio</title>
	<atom:link href="http://www.gtothesquare.com/tag/compositio/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gtothesquare.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Sep 2011 22:05:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Making the Compositio WordPress theme work with reCaptcha</title>
		<link>http://www.gtothesquare.com/2009/03/09/making-the-compositio-wordpress-theme-work-with-recaptcha/</link>
		<comments>http://www.gtothesquare.com/2009/03/09/making-the-compositio-wordpress-theme-work-with-recaptcha/#comments</comments>
		<pubDate>Mon, 09 Mar 2009 13:59:59 +0000</pubDate>
		<dc:creator>Geries Handal</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Compositio]]></category>
		<category><![CDATA[Design Disease]]></category>
		<category><![CDATA[reCaptcha]]></category>
		<category><![CDATA[Smashing Magazine]]></category>
		<category><![CDATA[Wp-reCaptcha]]></category>

		<guid isPermaLink="false">http://www.gtothesquare.com/making-the-compositio-wordpress-theme-work-with-recaptcha/</guid>
		<description><![CDATA[The Compositio WordPress theme was design by Design Disease and brought to you, thanks to Smashing Magazine. Now that my blog is self hosted I decided to install the WP-reCaptcha plugin as a antispam measure for the comments. The plugin worked well with other themes, so that is how I new the problem was with [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.gtothesquare.com%2F2009%2F03%2F09%2Fmaking-the-compositio-wordpress-theme-work-with-recaptcha%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.gtothesquare.com%2F2009%2F03%2F09%2Fmaking-the-compositio-wordpress-theme-work-with-recaptcha%2F&amp;source=gtothesquare&amp;style=normal&amp;service=TinyURL.com&amp;hashtags=Compositio,Design+Disease,reCaptcha,Smashing+Magazine,Wordpress,Wp-reCaptcha&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The Compositio WordPress theme was design by <a href="http://designdisease.com/blog/compositio-wordpress-theme/" target="_blank">Design Disease</a> and brought to you, thanks to <a href="http://www.smashingmagazine.com/2009/02/18/compositio-clean-beautiful-and-free-wordpress-theme/" target="_blank">Smashing Magazine</a>. Now that my blog is self hosted I decided to install the <a href="http://www.blaenkdenum.com/wp-recaptcha/" target="_blank">WP-reCaptcha plugin</a> as a antispam measure for the comments. The plugin worked well with other themes, so that is how I new the problem was with the theme. Tried to fixed by myself, looking at the comments left in the plugins home page, however I couldn&#8217;t. So, I left a comment and <a href="http://www.blaenkdenum.com" target="_blank">Blaenk Denum</a> was kind enough to help. Apparently is a common problem when the reCaptcha box doesn&#8217;t appear bellow the comments textbox. </p>
<p>The solution is to put</p>
<blockquote><p>&lt;?php do_action(&#8216;comment_form&#8217;, $post-&gt;ID); ?&gt;</p>
</blockquote>
<p>in the comments.php file just before line 70 (or before &lt;/form&gt; tag) for the Compsitio Theme, as <a href="http://www.blaenkdenum.com/wp-recaptcha/#comment-33443" target="_blank">stated by Bleank</a>. For the other themes look for the &lt;/form&gt; tag&#160; and paste the code just before. </p>
<p>The code we insert, is call to a Action Hook. Based on the <a href="http://codex.wordpress.org/Theme_Development#Plugin_API_Hooks" target="_blank">Theme Development guidelines</a> there are some Plugin Api Action Hooks that should be included on all themes. These actions hook need to be present in the theme, for the Plugins to display information directly in the header, footer, sidebar, or in the page body. In the case of the comments the following is stated:</p>
<blockquote><dl>
<dt><strong>comment_form</strong> </dt>
<dd>Goes in <tt>comments.php</tt> and <tt>comments-popup.php</tt>, directly before the comment form&#8217;s closing tag (<code>&lt;/form&gt;</code>). Example plugin use: display a comment preview. </dd>
</dl>
<dl>
<dd>Usage: <tt>&lt;?php do_action('comment_form', $post-&gt;ID); ?&gt;</tt></dd>
</dl>
</blockquote>
<p>For the case of the Compsitio theme, this line of code was only missing in the comments.php and was present in the comments-popup.php.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gtothesquare.com/2009/03/09/making-the-compositio-wordpress-theme-work-with-recaptcha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

