<?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"
	>
<channel>
	<title>Comments on: WordPress Search Form without Search Button</title>
	<atom:link href="http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/</link>
	<description>WordPress Plugins, PHP Scripts, Tools, and Tutorials</description>
	<pubDate>Mon, 13 Oct 2008 00:10:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: yogesh</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-457467</link>
		<dc:creator>yogesh</dc:creator>
		<pubDate>Sat, 20 Sep 2008 12:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-457467</guid>
		<description>please tell me 
what is the coding of searching the particular product among 100 products in php?? i.e of search button</description>
		<content:encoded><![CDATA[<p>please tell me<br />
what is the coding of searching the particular product among 100 products in php?? i.e of search button</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LOmiG</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-456465</link>
		<dc:creator>LOmiG</dc:creator>
		<pubDate>Fri, 12 Sep 2008 06:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-456465</guid>
		<description>thanks for this great code ; and for the way you help loosers like me to implement it on their blog without any pain.

thanks !</description>
		<content:encoded><![CDATA[<p>thanks for this great code ; and for the way you help loosers like me to implement it on their blog without any pain.</p>
<p>thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-454888</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 25 Aug 2008 21:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-454888</guid>
		<description>Cheers for the code snippet. Was number 1 on Google and worked a treat.</description>
		<content:encoded><![CDATA[<p>Cheers for the code snippet. Was number 1 on Google and worked a treat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shepherd</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-317860</link>
		<dc:creator>Shepherd</dc:creator>
		<pubDate>Fri, 23 May 2008 16:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-317860</guid>
		<description>Thanks for this!</description>
		<content:encoded><![CDATA[<p>Thanks for this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garus Booth</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-72698</link>
		<dc:creator>Garus Booth</dc:creator>
		<pubDate>Tue, 14 Aug 2007 02:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-72698</guid>
		<description>I have placed the above code in my searchform.php file and uploaded it to my theme. I disabled the widget in the admin section of wordpress and have the include script for the searchform.php on my sidebar.php file.

The problem is that I do not see any search box in my side bar now. it will only show the widget. When the widget is off there is no search. Any one know whats going on?</description>
		<content:encoded><![CDATA[<p>I have placed the above code in my searchform.php file and uploaded it to my theme. I disabled the widget in the admin section of wordpress and have the include script for the searchform.php on my sidebar.php file.</p>
<p>The problem is that I do not see any search box in my side bar now. it will only show the widget. When the widget is off there is no search. Any one know whats going on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Edmunds</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-44860</link>
		<dc:creator>Bill Edmunds</dc:creator>
		<pubDate>Sat, 12 May 2007 11:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-44860</guid>
		<description>Thank you. It's rare when you do simple search, find a solution, and it works perfectly. I am using a nice template (Chaotic Soul) but either my search button or the default text was not showing. A simple cut-and-paste and a quick edit of the default text and I have exactly what I wanted. Thanks again for you work.</description>
		<content:encoded><![CDATA[<p>Thank you. It&#8217;s rare when you do simple search, find a solution, and it works perfectly. I am using a nice template (Chaotic Soul) but either my search button or the default text was not showing. A simple cut-and-paste and a quick edit of the default text and I have exactly what I wanted. Thanks again for you work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-43102</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Wed, 02 May 2007 04:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-43102</guid>
		<description>&lt;b&gt;Jakob&lt;/b&gt;: The simple answer is that that function makes input from a visitor safe to display on the screen. Since some search forms show what the user typed in, when the search results are shown. The method above does not do this :)</description>
		<content:encoded><![CDATA[<p><b>Jakob</b>: The simple answer is that that function makes input from a visitor safe to display on the screen. Since some search forms show what the user typed in, when the search results are shown. The method above does not do this <img src='http://www.dagondesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-43007</link>
		<dc:creator>Jakob</dc:creator>
		<pubDate>Tue, 01 May 2007 12:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-43007</guid>
		<description>Oh! Sorry for the danish words in my form :-)</description>
		<content:encoded><![CDATA[<p>Oh! Sorry for the danish words in my form <img src='http://www.dagondesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-43006</link>
		<dc:creator>Jakob</dc:creator>
		<pubDate>Tue, 01 May 2007 12:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-43006</guid>
		<description>Here is what I use: 

&lt;code&gt;
&lt;form method="get" id="searchform" action="&lt;?php bloginfo('home'); ?&gt;/"&gt;
&lt;input type="text" onclick="if(this.value=='&#160;Indtast s&#248;geord her') { this.value=''; }" value="&#160;Indtast s&#248;geord her" name="s" id="s" /&gt;
&lt;input type="hidden" id="searchsubmit" value="Search" /&gt;
&lt;/form&gt;
&lt;/code&gt;

In many WP search forms you'll see that the value of the input field is set to:

&lt;code&gt;value="&lt;?php echo wp_specialchars($s, 1); ?&gt;"&lt;/code&gt;

Why? What does it do? And is it important?</description>
		<content:encoded><![CDATA[<p>Here is what I use: </p>
<p><pre><code>
&lt;form method="get" id="searchform" action="&lt;?php bloginfo('home'); ?&gt;/"&gt;
&lt;input type="text" onclick="if(this.value=='&amp;nbsp;Indtast s&amp;oslash;geord her') { this.value=''; }" value="&amp;nbsp;Indtast s&amp;oslash;geord her" name="s" id="s" /&gt;
&lt;input type="hidden" id="searchsubmit" value="Search" /&gt;
&lt;/form&gt;
</code></pre></p>
<p>In many WP search forms you&#8217;ll see that the value of the input field is set to:</p>
<p><code>value="&lt;?php echo wp_specialchars($s, 1); ?&gt;"</code></p>
<p>Why? What does it do? And is it important?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-41575</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Sun, 22 Apr 2007 03:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-41575</guid>
		<description>&lt;b&gt;Lisagh&lt;/b&gt;: The code above just changes the way the search button is displayed. It does not change the way the results are generated. 

It is probably showing the protected posts because you are logged in. If you log out and search they should not appear.</description>
		<content:encoded><![CDATA[<p><b>Lisagh</b>: The code above just changes the way the search button is displayed. It does not change the way the results are generated. </p>
<p>It is probably showing the protected posts because you are logged in. If you log out and search they should not appear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisagh</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-41573</link>
		<dc:creator>Lisagh</dc:creator>
		<pubDate>Sun, 22 Apr 2007 03:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-41573</guid>
		<description>Love your search box.  However, when I put it in on my wordpress blog, it all posts, even my PROTECTED POSTS.  Do you know how to limit it to showing only unprotected posts after a search?</description>
		<content:encoded><![CDATA[<p>Love your search box.  However, when I put it in on my wordpress blog, it all posts, even my PROTECTED POSTS.  Do you know how to limit it to showing only unprotected posts after a search?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38803</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Sat, 07 Apr 2007 17:16:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38803</guid>
		<description>&lt;b&gt;matthijs&lt;/b&gt;: Thanks :)</description>
		<content:encoded><![CDATA[<p><b>matthijs</b>: Thanks <img src='http://www.dagondesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthijs</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38768</link>
		<dc:creator>matthijs</dc:creator>
		<pubDate>Sat, 07 Apr 2007 09:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38768</guid>
		<description>A few alternatives are 
1) use # 
2) use htmlentities($_SERVER['PHP_SELF'], ENT_QUOTES, 
'UTF-8'); or 
3) basename(__FILE__)
Some good info here http://blog.phpdoc.info/archives/13-XSS-Woes.html</description>
		<content:encoded><![CDATA[<p>A few alternatives are<br />
1) use #<br />
2) use htmlentities($_SERVER['PHP_SELF'], ENT_QUOTES,<br />
&#8216;UTF-8&#8242;); or<br />
3) basename(__FILE__)<br />
Some good info here <a href="http://blog.phpdoc.info/archives/13-XSS-Woes.html" rel="nofollow">http://blog.phpdoc.info/archives/13-XSS-Woes.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Admin</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38764</link>
		<dc:creator>Admin</dc:creator>
		<pubDate>Sat, 07 Apr 2007 07:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38764</guid>
		<description>&lt;b&gt;matthijs&lt;/b&gt;: I just changed it to use bloginfo to get the path :) Thanks for pointing that out. What method do you generally prefer (outside of WP), out of curiosity?</description>
		<content:encoded><![CDATA[<p><b>matthijs</b>: I just changed it to use bloginfo to get the path <img src='http://www.dagondesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Thanks for pointing that out. What method do you generally prefer (outside of WP), out of curiosity?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthijs</title>
		<link>http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38763</link>
		<dc:creator>matthijs</dc:creator>
		<pubDate>Sat, 07 Apr 2007 07:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagondesign.com/articles/wordpress-search-form-without-search-button/#comment-38763</guid>
		<description>The use of PHP_SELF is not so wise, as it can contain tainted data (from the client). So do not use that variable or make sure you escape it.</description>
		<content:encoded><![CDATA[<p>The use of PHP_SELF is not so wise, as it can contain tainted data (from the client). So do not use that variable or make sure you escape it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
