<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2539" -->
<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"
		>
	<channel>
		<title>WordPress.com Forums &#187; Topic: Can&#039;t use tags or categories as search criteria</title>
		<link>http://en.forums.wordpress.com/topic/cant-use-tags-or-categories-as-search-criteria</link>
		<description>WordPress.com Forums &#187; Topic: Can&#039;t use tags or categories as search criteria</description>
		<language>en</language>
		<pubDate>Wed, 22 May 2013 00:30:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2539</generator>
				<atom:link href="http://en.forums.wordpress.com/rss/topic/cant-use-tags-or-categories-as-search-criteria" rel="self" type="application/rss+xml" />

		<item>
			<title>nikhilzoom on "Can&#039;t use tags or categories as search criteria"</title>
			<link>http://en.forums.wordpress.com/topic/cant-use-tags-or-categories-as-search-criteria#post-951359</link>
			<pubDate>Sat, 21 Jul 2012 04:30:50 +0000</pubDate>
			<dc:creator>nikhilzoom</dc:creator>
			<guid isPermaLink="false">951359@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>hi ravensmarch,</p>
<p>i too have the same problem but i put custom query to search.php that help me find the desired result. here is the query that i used</p>
<p><code>&lt;br /&gt;
global $wpdb;&lt;/p&gt;
&lt;p&gt;$querystr = &quot;&lt;br /&gt;
SELECT wposts.* FROM $wpdb-&gt;posts wposts&lt;br /&gt;
INNER JOIN $wpdb-&gt;term_relationships ttr ON wposts.ID = ttr.object_id&lt;br /&gt;
INNER JOIN $wpdb-&gt;term_taxonomy trm ON ttr.term_taxonomy_id = trm.term_taxonomy_id&lt;br /&gt;
INNER JOIN $wpdb-&gt;terms tm ON tm.term_id = trm.term_id&lt;br /&gt;
WHERE (tm.name LIKE &#039;%&quot;.$_REQUEST[&#039;s&#039;].&quot;%&#039; OR wposts.post_title LIKE &#039;%&quot;.$_REQUEST[&#039;s&#039;].&quot;%&#039; OR wposts.post_content LIKE &#039;%&quot;.$_REQUEST[&#039;s&#039;].&quot;%&#039;) AND wposts.post_status = &#039;publish&#039; AND wposts.post_type =&#039;post&#039; GROUP BY wposts.ID ORDER BY wposts.post_date&quot;;&lt;/p&gt;
&lt;p&gt;$pageposts = $wpdb-&gt;get_results($querystr, OBJECT);&lt;br /&gt;
</code>
</p>
]]></description>
					</item>
		<item>
			<title>raincoaster on "Can&#039;t use tags or categories as search criteria"</title>
			<link>http://en.forums.wordpress.com/topic/cant-use-tags-or-categories-as-search-criteria#post-941397</link>
			<pubDate>Thu, 12 Jul 2012 21:59:09 +0000</pubDate>
			<dc:creator>raincoaster</dc:creator>
			<guid isPermaLink="false">941397@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>True. That's why I never use tags, but have over 400 categories. The WP.com search doesn't search tags and categories, but Google does. Unfortunately you can't use Google on a private blog.
</p>
]]></description>
					</item>
		<item>
			<title>ravensmarch on "Can&#039;t use tags or categories as search criteria"</title>
			<link>http://en.forums.wordpress.com/topic/cant-use-tags-or-categories-as-search-criteria#post-941381</link>
			<pubDate>Thu, 12 Jul 2012 21:47:51 +0000</pubDate>
			<dc:creator>ravensmarch</dc:creator>
			<guid isPermaLink="false">941381@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>I'm setting up a private blog for family only, and I discover after a great deal labour already applied that the Tags are not read by the search widget.  For example, If the entry something like "Last Saturday at Lake Greenish", and the content is "Someone ate far too many sausages, didn't they?", with tags of "Uncle Fred, Mort, Ginger", after publishing I can enter "sausage" into the seach widget and get the entry, but "Mort" produces a NO ARTICLES FOUND result, which is rather disheartening, as the whole point of the enterprise was to be able to search by tab and category.  The category problem is less pressing because one can just have the drop-down list of them in the sidebar, but for tags there's just the Tag Cloud, and some tags aren't popular enough to appear in it.
</p>
]]></description>
					</item>

	</channel>
</rss>
