<?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>WP Garage &#187; search</title>
	<atom:link href="http://wpgarage.com/tag/search/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpgarage.com</link>
	<description>wordpress tricks, hacks, and tips</description>
	<lastBuildDate>Wed, 16 Nov 2011 14:36:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>What happened to the &#8220;search engines blocked&#8221; notification in WordPress 3.2?</title>
		<link>http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/</link>
		<comments>http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 23:12:26 +0000</pubDate>
		<dc:creator>Miriam Schwab</dc:creator>
				<category><![CDATA[News & Views]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://wpgarage.com/?p=1073</guid>
		<description><![CDATA[<p>WordPress site owners have an option under Settings &#62; Privacy to keep their site open to visitors, but block search engines. Very handy when developing a site, or managing a private site that you don’t want the world to see, but you don’t want to have to deal with logins either. We often use that [...]</p><p>This post was originally published at <a href="http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/">What happened to the &#8220;search engines blocked&#8221; notification in WordPress 3.2?</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/" data-url="http://illum.in/pHlvWR" data-text="What happened to the &#8220;search engines blocked&#8221; notification in WordPress 3.2?" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/"></g:plusone></div></div><p>WordPress site owners have an option under Settings &gt; Privacy to keep their site open to visitors, but block search engines. Very handy when developing a site, or managing a private site that you don’t want the world to see, but you don’t want to have to deal with logins either.</p>
<p>We often use that setting on sites under development…and more than once forgot to open the site to search engines once the site was launched. Ouch.</p>
<p>Around WordPress 3.1, a handy feature was added where a line of text was added in the admin next to the name of the site saying “Search Engines Blocked” when search engines were, you guessed it, blocked. Like this:</p>
<p><a href="http://wpgarage.com/wp-content/uploads/2011/07/search-engines-blocked-word.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="search-engines-blocked-word" src="http://wpgarage.com/wp-content/uploads/2011/07/search-engines-blocked-word_thumb.jpg" alt="search-engines-blocked-word" width="322" height="40" border="0" /></a></p>
<p>For some reason, in WordPress 3.2 that notification line has disappeared. Here’s that same site, search engines still blocked, but upgraded to 3.2:</p>
<p><a href="http://wpgarage.com/wp-content/uploads/2011/07/no-search-engines-blocked-n.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="no-search-engines-blocked-n" src="http://wpgarage.com/wp-content/uploads/2011/07/no-search-engines-blocked-n_thumb.jpg" alt="no-search-engines-blocked-n" width="283" height="30" border="0" /></a></p>
<p>That notification was a life saver. Does anyone know where it went? And why it was taken away? I miss it and want it back. Sniff.</p>
<p>This post was originally published at <a href="http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/">What happened to the &#8220;search engines blocked&#8221; notification in WordPress 3.2?</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/news-views/search-engines-blocked-notification-gone-wordpress-32/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Headup Semantic WordPress plugin automatically adds rich content to your blog</title>
		<link>http://wpgarage.com/plugins/semantic-wordpress-plugin/</link>
		<comments>http://wpgarage.com/plugins/semantic-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 07:12:27 +0000</pubDate>
		<dc:creator>Miriam Schwab</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[semantic web]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/?p=532</guid>
		<description><![CDATA[<p>A new WordPress plugin called Headup was released about a week ago by SemantiNet, a startup dedicated to developing Semantic Web technologies and platforms. The plugin works on top of the company’s existing technology, and automatically adds rich content to terms that appear in your blog posts. I installed it here on WordPress Garage so [...]</p><p>This post was originally published at <a href="http://wpgarage.com/plugins/semantic-wordpress-plugin/">Headup Semantic WordPress plugin automatically adds rich content to your blog</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/plugins/semantic-wordpress-plugin/" data-url="http://illum.in/oBqSeu" data-text="Headup Semantic WordPress plugin automatically adds rich content to your blog" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/plugins/semantic-wordpress-plugin/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/plugins/semantic-wordpress-plugin/"></g:plusone></div></div><p>A new <a href="http://wordpress.org/extend/plugins/">WordPress plugin</a> called <a href="http://wordpress.org/extend/plugins/headup-bloggers-widget/">Headup</a> was released about a week ago by <a href="http://www.semantinet.com/">SemantiNet</a>, a startup dedicated to  developing Semantic Web technologies and platforms. The plugin works on top of  the company’s existing technology, and automatically adds rich content to terms  that appear in your blog posts.</p>
<p>I installed it here on WordPress Garage so you can see it in action, but  basically the way it works is key terms get a dotted orange underline (which  helps differentiate them from your regular links), and when you mouse-over those  terms a pop-up window appears with information tabs. These tabs display the  following content:</p>
<ol>
<li>A short summary about the key-term (Wikipedia style information)</li>
<li>Related News, Articles &amp; Posts</li>
<li>Related images from Flickr, Panoramio, Picasa, etc.</li>
<li>Related Tweets</li>
<li>Related Videos from Youtube</li>
<li>Related Products from Amazon</li>
<li>How your readers Facebook friends relate to the key term (requires readers  to approve Facebook connection)</li>
</ol>
<p>For geographic locations the pop-up will display a Map tab, and for films a  Trailer tab will be displayed.</p>
<p>The field of semantic technologies is so new that Headup is only one of 9  WordPress plugins that have “semantic web” as a tag in the plugin directory.</p>
<h4>How to install the Headup plugin</h4>
<ol>
<li>Go to “Add New” in the WordPress plugin menu.</li>
<li>Enter “headup” as the search term to find the plugin in the directory. There  will only be one result for this term.</li>
<li>Click the “Install” button on the far right, and then activate the plugin.</li>
<li>You can configure some settings for the plugin under Settings &gt; Headup  for WordPress. There you can choose a maximum number of annotations to display  on a page, how many times the same term should be annotated, and whether  hyperlinks should be annotated as well.</li>
</ol>
<p>It will take about an hour before the key terms on your site start displaying  the dotted orange highlights. Here&#8217;s a short video explaining how to install the plugin:</p>
<p>[youtube]http://www.youtube.com/watch?v=3G20whW3yOs[/youtube]</p>
<p>Here&#8217;s another video overview of the <a href="http://www.youtube.com/watch?v=acvYZ9Bolr4">Headup Blog Widget and WordPress plugin</a>.</p>
<h4>Why would you use this plugin?</h4>
<p>The creators of the plugin say that by offering this type of content, you can  “reduce bounce rates and increase your readers&#8217; engagement.” Since I tend to  judge the world by my own preferences, I was a bit skeptical as to whether such  a feature could really achieve those goals since I prefer to find my own info  rather than have it dictated to me. Luckily, my pal <a href="http://twitter.com/pop_art">Mike</a> works at SemantiNet so I decided to  ask him a few questions about this plugin, their technology, the semantic web in  general, and whether he agrees that Cookies and Cream is Ben &amp; Jerry’s best  ice cream flavor.</p>
<p><strong>WPG:</strong> Mike, tell me a bit about SemantiNet and what you do there.</p>
<p><strong>Mike: </strong>Whereas much of the activity related to semantic web is still  very much academic and theoretical, SemantiNet’s products are among the few  examples of practical applications of next generation web technology anyone can  enjoy today.</p>
<p>What our technology does is identify key-terms in publications &amp; blogs  and then provide relevant and personalized related content in real-time. For  example, say you’ve written a post about Barack Obama recently being elected in  Oslo to be honored with the Nobel Peace Prize. What we’ll do is automatically  identify the term “Barack Obama” as being president of the US, and suggest  content related to him, and identify the term “Oslo” as being a city, and  suggest content related to it too.</p>
<p>The big deal here is that the technology realizes that Oslo, the city, has  different attributes from Obama, the person, so it will offer different types of  information for each. For example, Oslo’s Headup results would include a city  map, while Obama’s would not.</p>
<p>As for me, I’m a Project Manager in the company and am responsible for  managing the company’s site and blog widget.</p>
<p><strong>WPG:</strong> Call me an ignoramus Mike (don’t look so happy about the  opportunity), but I still don’t quite get what the semantic web is about. Please  explain and make me feel more intelligent.</p>
<p><strong>Mike: </strong>What makes companies like SemantiNet exciting is that their  understanding of online content goes beyond the basic key-word matching we’re  familiar with from current search technologies, and enters the realm of true  object identification. This is a fancy way of saying that whereas today, if you  search for “Apple” you’ll get results related to the company and the fruit  indiscriminately, the vision for Semantic Web is that the same search will  deliver results that relate not only to “Apple” but also to “Steve Jobs,”  “iPhones,” ”iPods,” etc. even if the word “Apple” isn’t explicitly mentioned in  the text results.</p>
<p>For more information about the Semantic Web I recommend seeing Sir Tim  Berners Lee’s excellent <a href="http://www.ted.com/talks/lang/eng/tim_berners_lee_on_the_next_web.html">TED  talk</a> on the subject.</p>
<p><strong>WPG: </strong>How can bloggers and publishers offer this type of rich  information on their own sites?</p>
<p><strong>Mike:</strong> To date we have three products people can use to get a better  feeling for what this does: the <a href="http://headup.com/">Headup Firefox  addon</a>, the Headup <a href="http://semantinet.com/publishers">publisher and  blogger widget</a>, and most recently, the <a href="http://wordpress.org/extend/plugins/headup-bloggers-widget/">Headup  WordPress plugin</a>.</p>
<p><strong>WPG:</strong> Why should bloggers install the Headup plugin?</p>
<p><strong>Mike: </strong>Bloggers who install our widget will gain longer engagement  times and reduced bounce rates. Besides these advantages the widget has the  ability, via the “Friends” tab, to enable readers to personalize their reading  experience and see how the key terms you blogged about relate to their circle of  friends. To the best of my knowledge no other widget out there has this  capability.</p>
<p>A significant benefit is the fact that everything I’ve described so far is  entirely automated. All you as a blogger need to do is a single one time  installation of the plugin and within about an hour your entire archive will be  covered. This level of automation is again, to the best of my knowledge,  unprecedented.</p>
<p><strong>WPG: </strong>How does the widget promote engagement time and reduce bounce  rate?</p>
<p><strong>Mike: </strong>The widget reduces your reader’s incentive to browse away by  letting them access all the related content they need right on top of your  pages. Why go somewhere else when you have everything you need right where you  are?</p>
<p>In your <a href="../news-views/interview-with-yeddas-head-of-community-marketing-about-new-feedflare-modules-for-bloggers/http:/yedda.com/">interview  with Lior Haner from Yedda</a> you asked, quite rightly, how Yedda was solving  bloggers’ need to have conversations take place in their blog. We don’t deal in  conversations, however as far as complementary and related content is concerned,  we’ve pretty much guaranteed bloggers that their audience won’t have to open  another tab or browse away to get the little extra that was missing.</p>
<p><strong>WPG: </strong>Can bloggers contact you with questions?</p>
<p><strong>Mike: </strong>For sure! I’m personally available for any support needed both  on twitter <a href="http://twitter.com/headup">@headup</a> and via email –  miked[at]semantinet[dot]com. Don’t be Shy!</p>
<p><strong>WPG: </strong>Anything else you’d care to add?</p>
<p><strong>Mike: </strong>I agree that Cookies and Cream is Ben &amp; Jerry’s best flavor.</p>
<p><strong>WPG: </strong>Of course you do! That’s why we’re pals.</p>
<p>So there you have it. I’d love it if you, our readers, would check out this new  feature here and tell me what you think: is it useful, annoying, or somewhere in  between?</p>
<p>This post was originally published at <a href="http://wpgarage.com/plugins/semantic-wordpress-plugin/">Headup Semantic WordPress plugin automatically adds rich content to your blog</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/plugins/semantic-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Customize Multiple Search Result Pages in WordPress</title>
		<link>http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/</link>
		<comments>http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 07:26:02 +0000</pubDate>
		<dc:creator>Rebecca Markowitz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[WordPress as CMS]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[results]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/?p=498</guid>
		<description><![CDATA[<p>In the previous post, we discussed how to hack the search function in WordPress to have an additional search form that would search  subcategories. Now that you have 2 or more search forms on your site, you might need to customize the search results. Thanks to this solution, I learned how to create multiple search [...]</p><p>This post was originally published at <a href="http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/">How to Customize Multiple Search Result Pages in WordPress</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/" data-url="http://illum.in/ocOae3" data-text="How to Customize Multiple Search Result Pages in WordPress" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/"></g:plusone></div></div><p>In the previous post, we discussed how to <a href="code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/">hack the search function</a> in WordPress to have an additional search form that would search  subcategories. Now that you have 2 or more search forms on your site, you might need to customize the search results. Thanks to <a href="http://www.rob-barrett.com/post/multiple-search-results-pages-within-one-wordpress-site">this solution</a>, I learned how to create multiple search result pages.</p>
<p>Let&#8217;s say we have 2 search forms on our site:</p>
<ol>
<li>General Site-Wide Search</li>
<li>Recipe Search &#8211; searches subcategories of the Recipe Category</li>
</ol>
<p>The first thing we need to do is tweak the search.php template to use it as a filter that will recognize if a search is coming from the Site-Wide search form or the Recipe Search form.</p>
<p><strong>1. Open Search.php</strong> and delete everything.  Add the following code:</p>
<blockquote><p>&lt;?php<br />
/* Template Name: Search Results */<br />
$search_refer = $_GET["site_section"];<br />
if ($search_refer == &#8216;recipe&#8217;) { load_template(TEMPLATEPATH . &#8216;/recipe-search.php&#8217;); }<br />
elseif ($search_refer == &#8216;site-search&#8217;) { load_template(TEMPLATEPATH . &#8216;/site-search.php&#8217;); }; ?&gt;</p></blockquote>
<p><strong>2. Open Header.php</strong> or wherever the General Site-Wide Search Form is located and add this line:</p>
<blockquote><p>&lt;input type=&#8221;hidden&#8221; name=&#8221;site_section&#8221; value=&#8221;site-search&#8221; /&gt;</p></blockquote>
<p><strong>The Site-Wide Search form will look something like this:</strong></p>
<blockquote><p>&lt;form method=&#8221;get&#8221; id=&#8221;searchform&#8221; action=&#8221;&lt;?php bloginfo(&#8216;home&#8217;); ?&gt;/&#8221;&gt;<br />
&lt;div id=&#8221;search&#8221;&gt;<br />
&lt;input type=&#8221;text&#8221; value=&#8221; &#8221; onclick=&#8221;this.value=&#8221;;&#8221; name=&#8221;s&#8221; id=&#8221;s&#8221; /&gt;<strong><br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;site_section&#8221; value=&#8221;site-search&#8221; /&gt;</strong><br />
&lt;input name=&#8221;" type=&#8221;image&#8221; src=&#8221;&lt;?php bloginfo(&#8216;stylesheet_directory&#8217;); ?&gt;/styles/&lt;?php echo &#8220;$style_path&#8221;; ?&gt;/search.gif&#8221; value=&#8221;Go&#8221; /&gt;<br />
&lt;/div&gt;&lt;!&#8211;/search &#8211;&gt;<br />
&lt;/form&gt;</p></blockquote>
<p><strong>3. </strong><strong>Open Recipes.php</strong> or wherever your second search is and insert this line:</p>
<blockquote><p><strong>&lt;input type=&#8221;hidden&#8221; name=&#8221;site_section&#8221; value=&#8221;recipe&#8221; /&gt; </strong></p></blockquote>
<p>You can change the value &#8220;recipe&#8221; to whatever suits your needs. Just make sure it matches the value in search.php.</p>
<p><strong>The Recipe Search form for your second search</strong> <strong>will look something like this</strong>. In my case, this second search is meant to search the subcategories of the Recipe category.  See my previous post to learn about<a href="code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/"> hacking the search function to search subcategories.</a></p>
<blockquote><p>&lt;form method=&#8221;get&#8221; id=&#8221;rsearchform&#8221; action=&#8221;&lt;?php bloginfo(&#8216;home&#8217;); ?&gt;/&#8221;&gt;<br />
&lt;div id=&#8221;rsearch&#8221;&gt;<br />
&lt;input type=&#8221;text&#8221; value=&#8221;Recipe Search&#8230; &#8221; onclick=&#8221;this.value=&#8221;;&#8221; name=&#8221;s&#8221; id=&#8221;rs&#8221; /&gt;<br />
&lt;?php $categories = get_categories(&#8216;child_of=11&#8242;);<br />
$catlist = &#8221;;<br />
foreach ($categories as $cat) {<br />
$catlist.= $cat-&gt;cat_ID.&#8217;,';<br />
}<br />
$catlist.&#8217;11&#8242;;<br />
?&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;cat&#8221; value=&#8221;&lt;?php echo &#8220;$catlist&#8221;?&gt;&#8221; /&gt;<br />
<strong>&lt;input type=&#8221;hidden&#8221; name=&#8221;site_section&#8221; value=&#8221;recipe&#8221; /&gt; </strong><br />
&lt;input name=&#8221;" type=&#8221;image&#8221; src=&#8221;&lt;?php bloginfo(&#8216;stylesheet_directory&#8217;); ?&gt;/styles/&lt;?php echo &#8220;$style_path&#8221;; ?&gt;/search.gif&#8221; value=&#8221;Go&#8221; /&gt;<br />
&lt;/div&gt;&lt;!&#8211;/search &#8211;&gt;<br />
&lt;/form&gt;</p></blockquote>
<p><strong>4. Customize the Search Results Templates</strong></p>
<p>If you recall, in step 1, we added the following to the search.php page.</p>
<blockquote><p>if ($search_refer == &#8216;recipe&#8217;) { load_template(TEMPLATEPATH . &#8216;/recipe-search.php&#8217;); }<br />
elseif ($search_refer == &#8216;site-search&#8217;) { load_template(TEMPLATEPATH . &#8216;/site-search.php&#8217;); }; ?&gt;</p></blockquote>
<p>Create recipe-search.php (or whatever you named this template) and customize the layout of the results page to your liking. You can use index.php to start with and customize from there.</p>
<p>Create site-search.php (or whatever you named this template) and customize the layout of the results page to your liking. You can use index.php to start with and customize from there.</p>
<p>This post was originally published at <a href="http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/">How to Customize Multiple Search Result Pages in WordPress</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/code-snippets/how-to-customize-multiple-search-result-pages-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to Hack the WordPress Search Function: Search Categories and Child Categories</title>
		<link>http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/</link>
		<comments>http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 06:23:56 +0000</pubDate>
		<dc:creator>Rebecca Markowitz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[WordPress as CMS]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[child category]]></category>
		<category><![CDATA[dynamic]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[parent category]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[subcategory]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/</guid>
		<description><![CDATA[<p>Recently, we had a client who wanted a special recipe search. There were 2 ways to extend the search functionality &#8211; manually or dynamically. 1. Search One or More Categories Manually If we want to search one category, we could have used this solution which lets you manually add category numbers to the search function: [...]</p><p>This post was originally published at <a href="http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/">How to Hack the WordPress Search Function: Search Categories and Child Categories</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/" data-url="http://illum.in/r4sFhK" data-text="How to Hack the WordPress Search Function: Search Categories and Child Categories" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/"></g:plusone></div></div><p>Recently, we had a client who wanted a special recipe search. There were 2 ways to extend the search functionality &#8211; manually or dynamically.</p>
<p><strong>1. Search One or More Categories Manually<br />
</strong></p>
<p>If we want to search <strong>one category</strong>, we could have used this <a href="http://www.sandboxdev.com/blog/wordpress/123/search-specific-category-in-wordpress/">solution</a> which lets you manually add category numbers to the search function:</p>
<p>[Replace value="5" with your category number.]</p>
<blockquote><p>&lt;form method=&#8221;get&#8221; id=&#8221;searchform&#8221; action=&#8221;&lt;?php bloginfo(&#8216;home&#8217;); ?&gt;/&#8221;&gt;<br />
&lt;div&gt;<br />
&lt;input type=&#8221;text&#8221; value=&#8221;&lt;?php echo wp_specialchars($s, 1); ?&gt;&#8221; name=&#8221;s&#8221; id=&#8221;s&#8221; /&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;cat&#8221; value=&#8221;5&#8243; /&gt;<br />
&lt;input type=&#8221;submit&#8221; id=&#8221;searchsubmit&#8221; value=&#8221;Search&#8221; /&gt;<br />
&lt;/div&gt;<br />
&lt;/form&gt;</p></blockquote>
<p><strong>2. Search Subcategories Dynamically</strong></p>
<p>However, we wanted to dynamically search <strong>only the subcategories</strong> of the Recipe Category. The reason being that if you&#8217;re already in the Recipes section of the site, seeing a recipe labeled as Recipes is not helpful. However, seeing a recipe labeled as Dessert (mmm..) and Breakfast is helpful. So, each recipe that the client adds will be in a <strong>subcategory </strong>of recipes (ex. Dessert), but they won&#8217;t have to check off the checkbox next to the Recipes category itself.</p>
<p>Anyway, I&#8217;ve been looking for this solution for a long time and now, thanks to <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fbitsofink.com%2F&amp;ei=YQtjSuS9MYaEmgOgvdT4Dw&amp;usg=AFQjCNG1logmg3Pto6eFPjwQ6fHtpve3Nw">Ilan Cohen</a>, I present it to you.</p>
<p>[Replace the number 5 with the parent category.]</p>
<blockquote><p>&lt;form method=&#8221;get&#8221; id=&#8221;searchform&#8221; action=&#8221;&lt;?php bloginfo(&#8216;home&#8217;); ?&gt;/&#8221;&gt;<br />
&lt;div id=&#8221;search&#8221;&gt;<br />
&lt;input type=&#8221;text&#8221; value=&#8221;Search&#8230; &#8221; onclick=&#8221;this.value=&#8221;;&#8221; name=&#8221;s&#8221; id=&#8221;s&#8221; /&gt;<br />
&lt;?php $categories = get_categories(&#8216;child_of=5&#8242;);<br />
$catlist = &#8221;;<br />
foreach ($categories as $cat) {<br />
$catlist.= $cat-&gt;cat_ID.&#8217;,';<br />
}<br />
$catlist.&#8217;5&#8242;;<br />
?&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;cat&#8221; value=&#8221;&lt;?php echo &#8220;$catlist&#8221;?&gt;&#8221; /&gt;<br />
&lt;input name=&#8221;" type=&#8221;image&#8221; src=&#8221;&lt;?php bloginfo(&#8216;stylesheet_directory&#8217;); ?&gt;/styles/&lt;?php echo &#8220;$style_path&#8221;; ?&gt;/search.gif&#8221; value=&#8221;Go&#8221; class=&#8221;btn&#8221; /&gt;<br />
&lt;/div&gt;&lt;!&#8211;/search &#8211;&gt;<br />
&lt;/form&gt;</p></blockquote>
<p>The code searches through all the child categories of Category 5 (Recipes). Then, you&#8217;ll see we added an additional &#8220;5&#8243; in this line: $catlist.&#8217;5&#8242;; just in case the client puts a recipe in the Recipes category, and not one of its subcategories.</p>
<p>This post was originally published at <a href="http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/">How to Hack the WordPress Search Function: Search Categories and Child Categories</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/code-snippets/how-to-hack-the-wordpress-search-function-search-categories-and-child-categories/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>WordPress Plugins Directory Search no longer &#8220;sucks&#8221;</title>
		<link>http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/</link>
		<comments>http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 06:57:03 +0000</pubDate>
		<dc:creator>Rebecca Markowitz</dc:creator>
				<category><![CDATA[News & Views]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/?p=454</guid>
		<description><![CDATA[<p>I just received an email from Matt Mullenweg, founder of WordPress, letting me know that the &#8220;Plugin search no longer sucks&#8221;.  I was so excited that I didn&#8217;t even notice the typo he later reported on Twitter. According to the official WordPress site, WordPress Plugins directory search is no longer a big mess, and can [...]</p><p>This post was originally published at <a href="http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/">WordPress Plugins Directory Search no longer &#8220;sucks&#8221;</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/" data-url="http://illum.in/pAQegY" data-text="WordPress Plugins Directory Search no longer &#8220;sucks&#8221;" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/"></g:plusone></div></div><p>I just received an email from Matt Mullenweg, founder of WordPress, letting me know that the &#8220;Plugin search no longer sucks&#8221;.  I was so excited that I didn&#8217;t even notice the typo he later reported on <a href="http://twitter.com/photomatt/status/1225360144" target="_blank">Twitter</a>.</p>
<p>According to the official <a href="http://wordpress.org/development/2009/02/new-and-improved-plugins-directory-search/" target="_blank">WordPress site</a>, WordPress Plugins directory search is no longer a big mess, and can actually help you find the plugin you&#8217;re looking for. Last week I think I did a search for &#8220;video&#8221; and got results like contact form, social bookmarking, etc. and had to resort to a Google search. But now the search brings up much better results and is a great resource.</p>
<p>WordPress improved the search using <a href="http://www.sphinxsearch.com/" target="_blank">Sphinx</a> (a &#8220;free open-source SQL full-text search engine&#8221;) to power the search from the <a href="http://wordpress.org/extend/plugins" target="_blank">plugins directory</a> and from your blog&#8217;s admin area (Plugins&gt;add new)</p>
<p>All I can say, is, give it another chance and you may just find a great plugin from the 4,245 available.</p>
<p>This post was originally published at <a href="http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/">WordPress Plugins Directory Search no longer &#8220;sucks&#8221;</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/news-views/wordpress-plugins-directory-search-no-longer-sucks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Advanced Dork Firefox add-on gives you right-click access to Google search options</title>
		<link>http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/</link>
		<comments>http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 06:48:20 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/</guid>
		<description><![CDATA[<p>When developing blogs or sites on WordPress, we often have to search for information or need help solving a problem, and in those times many of us turn to Google. Did you know that Google has zillions of ways that you can focus your searches and make them even better? The major drawback is that [...]</p><p>This post was originally published at <a href="http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/">Advanced Dork Firefox add-on gives you right-click access to Google search options</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/" data-url="http://illum.in/qYEcTN" data-text="Advanced Dork Firefox add-on gives you right-click access to Google search options" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/"></g:plusone></div></div><p>When developing blogs or sites on <a href="http://wordpress.org" title="WordPress">WordPress</a>, we often have to search for information or need help solving a problem, and in those times many of us turn to <a href="http://www.google.com" title="Google">Google</a>. Did you know that <a href="http://www.google.com/help/basics.html" title="The essentials of Google Search">Google has zillions of ways that you can focus your searches</a> and make them even better? The major drawback is that you have to remember zillions of queries in order to do that, and in the end it&#8217;s just so much easier to do a regular search and see what you get.</p>
<p>That&#8217;s when <a href="https://addons.mozilla.org/en-US/firefox/addon/2144">Advanced Dork Firefox Add-on</a> comes to the rescue! All you have to do is right-click it in Firefox, and you get a whole myriad of Google search options.</p>
<p>Here&#8217;s what <a href="https://addons.mozilla.org/en-US/firefox/addon/2144" title="Advanced Dork Firefox add-on">the download page</a> says about the Add-on:</p>
<p><strong> Advanced Dork: Main Functions:</strong></p>
<ul>
<li> Highlight any text, right click, and choose from over 15 Advanced Google Operators. This function can be disabled in the options menu.</li>
<li>Right click anywhere on the page with no text selected to be provided with the active pages HTML title for use with Google&#8217;s intitle Operator, and the active pages HTML ALT tags for use with Google&#8217;s allintext Operator. This function can be disabled in the options menu.</li>
<li>Right click on a link and choose from site: links domain, link: this link, and cache: this link. Site: links domain will only search the domain name, not the full url.</li>
<li>Right click the URL Bar (aka Address Bar) and choose from site, inurl, link, and cache. Inurl works with the highlighted portion of text only. Site will only search the domain name, not the full url.</li>
</ul>
<p>Sound good? Visit the <a href="https://addons.mozilla.org/en-US/firefox/addon/2144" title="Advanced Dork">Advanced Dork</a> download page to learn more and get the Add-on.</p>
<p>This post was originally published at <a href="http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/">Advanced Dork Firefox add-on gives you right-click access to Google search options</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/tips/advanced-dork-firefox-add-on-gives-you-right-click-access-to-google-search-options/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unique and useful WordPress Plugins at Urban Giraffe</title>
		<link>http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/</link>
		<comments>http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/#comments</comments>
		<pubDate>Mon, 31 Dec 2007 09:15:43 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[multi-user]]></category>
		<category><![CDATA[permalinks]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/</guid>
		<description><![CDATA[<p>Urban Giraffe has a list of amazing plugins that the guy behind the site, John Godley, developed. Many of these plugins are really unique, and I haven&#8217;t seen anything like them anywhere else. Here are the ones that I find most interesting, and I hope to try out soon: Filled In &#8211; Places a customized [...]</p><p>This post was originally published at <a href="http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/">Unique and useful WordPress Plugins at Urban Giraffe</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/" data-url="http://illum.in/nGbBsm" data-text="Unique and useful WordPress Plugins at Urban Giraffe" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/"></g:plusone></div></div><p>Urban Giraffe has <a href="http://urbangiraffe.com/plugins/" title="Urban Giraffe Plugins">a list of amazing plugins</a> that the guy behind the site, John Godley, developed. Many of these plugins are really unique, and I haven&#8217;t seen anything like them anywhere else.</p>
<p>Here are the ones that I find most interesting, and I hope to try out soon:</p>
<ul class="review">
<li><a href="http://urbangiraffe.com/plugins/filled-in/">Filled In</a> &#8211; Places a customized form on your site, and stores submitted data in a database. The plugin features email reporting, AJAX support, CAPTCHA support, and file uploads. The data can be exported to CSV or XML.</li>
<li><a href="http://urbangiraffe.com/plugins/advanced-permalinks/">Advanced Permalinks</a> &#8211; If you decide midway to change your permalink structure to something friendlier, this generally means you have to do it sitewide and for all existing posts, which means redirecting everything. This plugin allows you to say &#8220;From now on, all posts will have permalink structure B, while posts until now will retain permalink structure A.&#8221; Can save a lot of headache.</li>
<li><a href="http://urbangiraffe.com/plugins/search-unleashed/">Search Unleashed</a> &#8211; Makes searching WordPress blogs more user-friendly by adding the following features:<br />
<blockquote>
<ul>
<li>Full text search with wildcards and logical operations</li>
<li>Search posts, pages, comments, titles, URLs, tags, and meta-data (all configurable)</li>
<li>Search data after it has been processed by plugins, not before</li>
<li>Search highlighting of all searches, including titles and comments</li>
<li>Search highlighting of incoming searches from <a href="http://www.google.com/">Google</a>, <a href="http://www.yahoo.com/">Yahoo</a>, <a href="http://www.live.com/">MSN</a>, <a href="http://www.altavista.com/">Altavista</a>, <a href="http://www.baidu.com/">Baidu</a>, and <a href="http://www.sogou.com/">Sogou</a></li>
<li>Search results show contextual search information, not just a post excerpt</li>
<li>Record search phrases and display in a log</li>
<li>Exclude specific posts and pages from results</li>
<li>Compatible with <a href="http://mnm.uib.es/gallir/wp-cache-2/">WP-Cache</a></li>
<li>Supports WordPress 2.0.5 through to 2.3</li>
<li>No changes required to your theme</li>
</ul>
</blockquote>
</li>
<li><a href="http://urbangiraffe.com/plugins/user-permissions/">User Permissions</a> &#8211; Allows you to assign permissions to specific posts. This sounds like it could be good if you offer premium content on your site.</li>
<li><a href="http://urbangiraffe.com/plugins/anti-email-spam/">Anti-Email Spam</a> &#8211; Simple plugin to encode email addresses with either JavaScript or HTML entities and protect yourself against email harvesting scripts. I should have done something like this a loooong time ago.</li>
</ul>
<p><a href="http://urbangiraffe.com/plugins/">See &#8216;em all at: Plugins &#8211; Goodies for WordPress | Urban Giraffe»</a></p>
<p>This post was originally published at <a href="http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/">Unique and useful WordPress Plugins at Urban Giraffe</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/plugins/unique-and-useful-wordpress-plugins-at-urban-giraffe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Pages, Comments and more with Search Everything Plugin</title>
		<link>http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/</link>
		<comments>http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/#comments</comments>
		<pubDate>Sun, 11 Mar 2007 06:49:18 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[file management]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.wordpressgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/</guid>
		<description><![CDATA[<p>In default WordPress installations, the search function only yields results for posts. It does not search pages, comments, or anything else. Search Everything from Dan Cameron solves that problem. Install and activate the plugin, and then go to Options &#62; Search Everything to select what exactly you want to be searched. Here are the options: [...]</p><p>This post was originally published at <a href="http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/">Search Pages, Comments and more with Search Everything Plugin</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/" data-url="http://illum.in/n6V2OK" data-text="Search Pages, Comments and more with Search Everything Plugin" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/"></g:plusone></div></div><p>In default WordPress installations, the search function only yields results for posts. It does not search pages, comments, or anything else.</p>
<p><a href="http://dancameron.org/wordpress/wordpress-plugins/search-everything-wordpress-plugin/" title="Search Everything Plugin">Search Everything</a> from <a href="http://dancameron.org/" title="Dan Cameron - Scattered">Dan Cameron</a> solves that problem. Install and activate the plugin, and then go to Options &gt; Search Everything to select what exactly you want to be searched. Here are the options:</p>
<ul>
<li>Pages</li>
<li>Comments</li>
<li>Only approved comments</li>
<li>Drafts</li>
<li>Attachments</li>
<li>Custom fields (metadata)</li>
</ul>
<p>I&#8217;m not sure why people would want users to see results in drafts or custom fields, but maybe there is a use for that that I&#8217;m not aware of.</p>
<p><a href="http://dancameron.org/wordpress/wordpress-plugins/search-everything-wordpress-plugin/" title="Search Everything Plugin">Search Everything Plugin&gt;&gt; </a></p>
<p>This post was originally published at <a href="http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/">Search Pages, Comments and more with Search Everything Plugin</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/plugins/search-pages-comments-and-more-with-search-everything-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Excerpt Reloaded</title>
		<link>http://wpgarage.com/plugins/the-excerpt-reloaded/</link>
		<comments>http://wpgarage.com/plugins/the-excerpt-reloaded/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 21:39:56 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[excerpts]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.wordpressgarage.com/plugins/the-excerpt-reloaded/</guid>
		<description><![CDATA[<p>Update June 6, 2007: There is a problem with closing HTML tags in Kaf&#8217;s Excerpt Reloaded Plugin. This means that if you define &#60;ul&#62; as one of the HTML tags you want to preserve in your excerpts, you may end up with a page of excerpts that is one big list, since the closing &#60;/ul&#62; [...]</p><p>This post was originally published at <a href="http://wpgarage.com/plugins/the-excerpt-reloaded/">The Excerpt Reloaded</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/plugins/the-excerpt-reloaded/" data-url="http://illum.in/r42Xj3" data-text="The Excerpt Reloaded" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/plugins/the-excerpt-reloaded/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/plugins/the-excerpt-reloaded/"></g:plusone></div></div><p><em>Update June 6, 2007: There is a problem with closing HTML tags in Kaf&#8217;s Excerpt Reloaded Plugin. This means that if you define &lt;ul&gt; as one of the HTML tags you want to preserve in your excerpts, you may end up with a page of excerpts that is one big list, since the closing &lt;/ul&gt; may be ommitted.  Rob created a <a href="http://robsnotebook.com/the-excerpt-reloaded2" title="Rob's mod of the Excerpt Reloaded Plugin">mod of the Excerpt Reloaded plugin</a> which preserves closing tags, but after testing it out on this site, I found that the first version still had some problems with formatting. Rob went and fixed his plugin, which I subsequently activated on this site, and now my excerpts look normal! Bless his soul. <a href="plugins/important-mod-to-the-excerpt-reloaded-plugin/" title="Important mod to the Excerpt Reloaded Plugin">Read my full review of this new mod.</a></em></p>
<p><em><strike>Update June 5, 2007: Rob from <a href="http://robsnotebook.com/" title="Rob's Notebook">Rob&#8217;s Notebook</a> posted a comment, which you can see below, about <a href="http://robsnotebook.com/the-excerpt-reloaded" title="Rob's mod of the Excerpt Reloaded Plugin">his mod of the Excerpt Reloaded plugin</a>. There is a problem with the original plugin where very often the closing paragraph tag <code>&lt;/p&gt;</code> is missing. Rob says that his plugin fixes that. I have installed his plugin on this site, but haven&#8217;t seen any noticeable improvements since the biggest problem that I&#8217;ve found with <a href="http://guff.szub.net/2005/02/26/the-excerpt-reloaded/" title="The Excerpt Reloaded Plugin">the original plugin</a>, and which still exists with his, is that almost none of the tags are closed. Blockquote, ul, li are all left open, and therefore affect the entire page that follows any excerpts with any of these tags. You can see what I mean by clicking on the archive links in the sidebar.</strike> </em></p>
<p>One of my clients asked me to make sure that links are displayed in excerpts. I don&#8217;t know what the advantage of not having links in excerpts is, and why WordPress defaults to removing these links.</p>
<p>After searching extensively on the web, it seems that the only solution to this problem is <a href="http://guff.szub.net/2005/02/26/the-excerpt-reloaded/" title="The Excerpt Reloaded">The Excerpt Reloaded</a> plugin at <a href="http://guff.szub.net/2005/02/26/the-excerpt-reloaded/" title="guffszub.net">guffszub.net</a>. This plugin customizes which HTML tags to allow, length of the excerpt (in words), “more…” link, and filtering type.</p>
<p>At first I couldn&#8217;t get it to work, but I figured out what the problems were, and I want to share them in case others have trouble too:</p>
<ol>
<li> I didn&#8217;t download the <a href="http://guff.szub.net/downloads/the-excerpt-reloaded.zip" title="The Excerpt Reloaded zip">zip file</a>, and was using the <a href="http://guff.szub.net/source/the-excerpt-reloaded.php" title="The Excerpt Reloaded display">display page</a> instead. No matter what I did, I kept getting an error message when I activated the plugin. It turns out that the display page has a space at the end of the code after the closing php tags. Once I deleted the space, the plugin began to work.</li>
<li>Guff says to put the function in <a href="http://codex.wordpress.org/The_Loop" title="The Loop">The Loop</a>. Maybe it&#8217;s because I was tired, but I understood that to mean that it just needed to appear anywhere within The Loop to work. What it actually means is that the function needs to appear wherever it is that you want the excerpt text to appear. So for example, if you want the excerpt to appear instead of the content, you need to replace <code>&lt;?php the_content();?&gt;</code> with <code>&lt;?php the_excerpt_reloaded(); ?&gt;.</code></li>
<li>Make sure you put the tag in all the template files that are relevant. Some examples of files that you may want or need to modify are index.php, home.php, archive.php, search.php, and category.php. (Don&#8217;t worry if you can&#8217;t find some of these files in your theme &#8211; some of these files are optional for themes.)</li>
</ol>
<p><strike>The Excerpt Reloaded is now activated on this site.</strike></p>
<p><a href="http://robsnotebook.com/the-excerpt-reloaded2" title="Rob's mod of the Excerpt Reloaded Plugin">Rob&#8217;s mod of the Excerpt Reloaded Plugin</a> is now activated on this site.</p>
<p><a href="http://guff.szub.net/2005/02/26/the-excerpt-reloaded/" title="The Excerpt Reloaded">Kaf&#8217;s Original Excerpt Reloaded&gt;&gt;</a><br />
<a href="http://robsnotebook.com/the-excerpt-reloaded2" title="Rob's mod of the Excerpt Reloaded Plugin">Rob&#8217;s mod of the Excerpt Reloaded Plugin&gt;&gt;</a></p>
<p>This post was originally published at <a href="http://wpgarage.com/plugins/the-excerpt-reloaded/">The Excerpt Reloaded</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/plugins/the-excerpt-reloaded/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

