<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WordPress Single Category Search</title>
	<atom:link href="http://alexmansfield.com/wordpress/category-search/feed" rel="self" type="application/rss+xml" />
	<link>http://alexmansfield.com/wordpress/category-search</link>
	<description>WordPress Developer</description>
	<lastBuildDate>Sat, 14 Apr 2012 06:13:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: The Blog of Hanas &#8250; links for 2010-12-20</title>
		<link>http://alexmansfield.com/wordpress/category-search#comment-95</link>
		<dc:creator>The Blog of Hanas &#8250; links for 2010-12-20</dc:creator>
		<pubDate>Mon, 20 Dec 2010 14:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=309#comment-95</guid>
		<description>[...] WordPress Single Category Search &#8211; Alex Mansfield Single category search WordPress hack. (tags: wordpress) [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress Single Category Search &#8211; Alex Mansfield Single category search WordPress hack. (tags: wordpress) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/category-search#comment-94</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Mon, 14 Jun 2010 10:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=309#comment-94</guid>
		<description>You&#039;re welcome. I&#039;m glad you found it useful!</description>
		<content:encoded><![CDATA[<p>You&#8217;re welcome. I&#8217;m glad you found it useful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WPExplorer</title>
		<link>http://alexmansfield.com/wordpress/category-search#comment-93</link>
		<dc:creator>WPExplorer</dc:creator>
		<pubDate>Mon, 14 Jun 2010 08:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=309#comment-93</guid>
		<description>This is really helpful. I was trying to limit my search bar so results from my blog would not show up...works great. thanks!</description>
		<content:encoded><![CDATA[<p>This is really helpful. I was trying to limit my search bar so results from my blog would not show up&#8230;works great. thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/category-search#comment-92</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Fri, 30 Oct 2009 07:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=309#comment-92</guid>
		<description>Interesting idea. I haven&#039;t actually tried this, but here&#039;s how I think I would go about it. First, I would grab the category with the get_the_category() function (http://codex.wordpress.org/Function_Reference/get_the_category). This returns an array of the categories belonging to that post. Then I would extract the first category of the array and use that instead of the hard coded category. I&#039;m not really sure if I explained that very well or not. Let me know how it goes.</description>
		<content:encoded><![CDATA[<p>Interesting idea. I haven&#8217;t actually tried this, but here&#8217;s how I think I would go about it. First, I would grab the category with the get_the_category() function (<a href="http://codex.wordpress.org/Function_Reference/get_the_category" rel="nofollow">http://codex.wordpress.org/Function_Reference/get_the_category</a>). This returns an array of the categories belonging to that post. Then I would extract the first category of the array and use that instead of the hard coded category. I&#8217;m not really sure if I explained that very well or not. Let me know how it goes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shawn</title>
		<link>http://alexmansfield.com/wordpress/category-search#comment-91</link>
		<dc:creator>shawn</dc:creator>
		<pubDate>Sat, 24 Oct 2009 21:06:54 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=309#comment-91</guid>
		<description>How would I go about doing this dynamically?

Meaning a person is viewing either a category archive page, or a single article and wants to search for other articles within the category page they are viewing.

So I could have a search box on the sidebar, where if a person is viewing cat &#039;abc&#039; it would search cat &#039;abc&#039; and if a person is viewing an article or archive for cat &#039;xyz&#039; they would get to search &#039;xyz&#039;..

Basically dumping the hardcode and replacing with a dynamic variable determined via the cat displayed.</description>
		<content:encoded><![CDATA[<p>How would I go about doing this dynamically?</p>
<p>Meaning a person is viewing either a category archive page, or a single article and wants to search for other articles within the category page they are viewing.</p>
<p>So I could have a search box on the sidebar, where if a person is viewing cat &#8216;abc&#8217; it would search cat &#8216;abc&#8217; and if a person is viewing an article or archive for cat &#8216;xyz&#8217; they would get to search &#8216;xyz&#8217;..</p>
<p>Basically dumping the hardcode and replacing with a dynamic variable determined via the cat displayed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexmansfield</title>
		<link>http://alexmansfield.com/wordpress/category-search#comment-90</link>
		<dc:creator>alexmansfield</dc:creator>
		<pubDate>Mon, 07 Sep 2009 19:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=309#comment-90</guid>
		<description>Thanks for the heads up on the footer link.

I&#039;m using SyntaxHighlighter Plus, but I edited the stylesheet a little. It&#039;s been working great for me, however, it&#039;s no longer maintained. You might want to check out SyntaxHighlighter Evolved instead (http://wordpress.org/extend/plugins/syntaxhighlighter/).</description>
		<content:encoded><![CDATA[<p>Thanks for the heads up on the footer link.</p>
<p>I&#8217;m using SyntaxHighlighter Plus, but I edited the stylesheet a little. It&#8217;s been working great for me, however, it&#8217;s no longer maintained. You might want to check out SyntaxHighlighter Evolved instead (<a href="http://wordpress.org/extend/plugins/syntaxhighlighter/" rel="nofollow">http://wordpress.org/extend/plugins/syntaxhighlighter/</a>).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Purkiss</title>
		<link>http://alexmansfield.com/wordpress/category-search#comment-89</link>
		<dc:creator>Brian Purkiss</dc:creator>
		<pubDate>Mon, 07 Sep 2009 17:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://alexmansfield.com/?p=309#comment-89</guid>
		<description>Dang!
That&#039;s a great WP &#039;hack!&#039;
I am definitely going to have to use that!

What code highlighter are you using? It&#039;s nice.

(fyi, you have a broken link in your footer.)</description>
		<content:encoded><![CDATA[<p>Dang!<br />
That&#8217;s a great WP &#8216;hack!&#8217;<br />
I am definitely going to have to use that!</p>
<p>What code highlighter are you using? It&#8217;s nice.</p>
<p>(fyi, you have a broken link in your footer.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

