<?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>zeo &#187; comment</title>
	<atom:link href="http://zeo.unic.net.my/tag/comment/feed/" rel="self" type="application/rss+xml" />
	<link>http://zeo.unic.net.my</link>
	<description>Safirul Alredha on web, WordPress, K2, Apple, ...</description>
	<lastBuildDate>Thu, 02 Jun 2011 01:31:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>WordPress Comment Form Skip Link</title>
		<link>http://zeo.unic.net.my/wordpress-comment-form-skip-link/</link>
		<comments>http://zeo.unic.net.my/wordpress-comment-form-skip-link/#comments</comments>
		<pubDate>Fri, 09 May 2008 06:28:51 +0000</pubDate>
		<dc:creator>zeo</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[skip]]></category>

		<guid isPermaLink="false">http://zeo.unic.net.my/?p=831</guid>
		<description><![CDATA[Skip link (or Skip Navigation link) for comment form is really important when your entry has a lot of comments. But there&#8217;s no point in having one when your comment form is just few pixel away after the entry. This is how you can show the skip link if the comment reach n number of [...]]]></description>
			<content:encoded><![CDATA[<p>Skip link (or Skip Navigation link) for comment form is really important when your entry has a lot of comments. But there&#8217;s no point in having one when your comment form is just few pixel away after the entry.</p>
<p>This is how you can show the skip link if the comment reach <tt>n</tt> number of comments. Example below will make the skip link appear if 1) comment status is open 2) comment count is more and equal to 4.</p>
<ol>
<li>Open your Theme&#8217;s <tt>comments.php</tt> file.</li>
<li>After <code>&lt;?php if ( have_comments() ) : ?&gt;</code> (or anywhere you find suitable) paste these lines:
<pre>
&lt;?php if ( comments_open() &#038;&#038; ( 4 <= get_comments_number()) ) : ?&gt;
	&lt;a href=&quot;#respond&quot;&gt;Skip to comment form&lt;/a&gt;
&lt;?php endif; ?&gt;
</pre>
<p>Example:</p>
<pre>
&lt;h3 id=&quot;comments&quot;&gt;&lt;?php comments_number(&#39;No Responses&#39;, &#39;One Response&#39;, &#39;% Responses&#39; );?&gt; to &amp;#8220;&lt;?php the_title(); ?&gt;&amp;#8221;&lt;/h3&gt;
&lt;?php if ( comments_open() &#038;&#038; ( 4 <= get_comments_number()) ) : ?&gt;
	&lt;a href=&quot;#respond&quot;&gt;Skip to comment form&lt;/a&gt;
&lt;?php endif; ?&gt;
</pre>
<p>Don't forget to style the codes to match your layout.
</li>
<li>Finally, make sure that an element with ID attribute <code>respond</code> is added or assigned. For example:
<pre>
&lt;h3 id=&quot;respond&quot;&gt;Leave a Reply&lt;/h3&gt;
</pre>
<p>Preferably right before the comment form. </p>
<p>Using named anchor (<code>&lt;a name=&quot;respond&quot; id=&quot;respond&quot;&gt;&lt;a/&gt;</code>) is outdated but still possible.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://zeo.unic.net.my/wordpress-comment-form-skip-link/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

