<?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>WordPress Hacks &#187; Jean-Baptiste Jung</title>
	<atom:link href="http://wphacks.com/author/jean-baptiste-jung/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:20:21 +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>Is it possible to use WordPress as a &#8220;Digg&#8221; site? The answer is yes!</title>
		<link>http://wphacks.com/is-it-possible-to-use-wordpress-as-a-digg-site-the-answer-is-yes/</link>
		<comments>http://wphacks.com/is-it-possible-to-use-wordpress-as-a-digg-site-the-answer-is-yes/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 09:00:05 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Digg]]></category>
		<category><![CDATA[Social WordPress]]></category>
		<category><![CDATA[WordPress Vote]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1831</guid>
		<description><![CDATA[Some months ago, WpHacks introduced a site I just created, called WpVote. The purpose of WpVote was to give the WordPress community a Digg-like website where people can share their blog posts and promote it. Many WordPress users thought it was a good idea and I quickly had a lot of members, due to the [...]]]></description>
			<content:encoded><![CDATA[<p>Some months ago, <a href="http://wphacks.com/promote-wordpress-wp-vote/">WpHacks introduced a site I just created</a>, called <a href="http://wpvote.com">WpVote</a>. The purpose of WpVote was to give the WordPress community a Digg-like website where people can share their blog posts and promote it.</p>
<p>Many WordPress users thought it was a good idea and I quickly had a lot of members, due to the great promotion from WpHacks. Sadly, spammers came too. And they were very, very active.</p>
<p>WpVote was using the Pligg cms. Sadly, this tool isn&#8217;t very flexible and modify it isn&#8217;t easy at all. I&#8217;ve tried a few anti-spam solution but nothing worked. Quickly, the site became a spam-farm and I, as well as the users,  abandonned it.</p>
<p>But last month, I thought &#8220;If only WpVote was running within WordPress&#8221;. I&#8217;ve never heard of any &#8220;Digg-like&#8221; site using WordPress, but I thought that I can give a try. I was easier than it seemed. 2 weeks before, I had a new version of WpVote, ready to be used by the community.</p>
<p>Was it hard to create? Not really. I didn&#8217;t modify the WP core, but instead used the <a href="http://wordpress.org/extend/plugins/tdo-mini-forms/">TDO Mini Forms</a> plugin, a custom theme I created and a few Ajax functions. Though, the fact that I know WordPress quite well helped me a lot to achieve this goal and think how I can make it work.</p>
<p><a href="http://wpvote.com"><img class="alignnone size-full wp-image-1833" src="http://wphacks.com/wp-content/uploads/2009/03/wpvote.png" alt="wpvote" width="560" height="343" /></a></p>
<p>Now, a few words about the brand new version of <a href="http://wpvote.com">WpVote</a>:</p>
<p>WpVote works just like million other sites like Digg: Once registered, you can submit news, tutorials, hacks and everything related to WordPress. Once your story received at least 5 votes, it is promoted to the front page. Good luck for DoFollow lovers, <strong>our Pagerank 4 frontpage IS DoFollow</strong>!</p>
<p>So if you&#8217;re a WordPress addict and want to promote your posts to the community as well as gaining free backlinks, don&#8217;t hesitate to <a href="http://wpvote.com/login">join us</a>. Note that if you were a member of the previous version, you&#8217;ll have to register again due to the change of platform.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1831&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/is-it-possible-to-use-wordpress-as-a-digg-site-the-answer-is-yes/">Is it possible to use WordPress as a &#8220;Digg&#8221; site? The answer is yes!</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/is-it-possible-to-use-wordpress-as-a-digg-site-the-answer-is-yes/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Introducing the Blog Stats WordPress Plugin</title>
		<link>http://wphacks.com/introducing-the-blog-stats-plugin/</link>
		<comments>http://wphacks.com/introducing-the-blog-stats-plugin/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 08:00:03 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Blog Statistics]]></category>
		<category><![CDATA[WordPress Plugin]]></category>
		<category><![CDATA[WordPress Stats]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1568</guid>
		<description><![CDATA[A few days ago, I wrote a guest post on ProBlogDesign, about creating a Stats page for your WordPress blog. One day later, Kyle, who liked the article, wrote a post here on WpHacks to let you know about my guest post. On of WpHacks readers, Wesley, enjoyed the post and dediced to create a plugin to enhance the functionnalities of my initial hacks. ]]></description>
			<content:encoded><![CDATA[<p>A few days ago, I wrote a guest post on Pro Blog Design about <a href="http://wphacks.com/how-to-create-a-statistics-page-for-advertisers/">creating a Stats page for your WordPress blog</a>. One day later, Kyle, who liked the article, wrote a post here on WP Hacks to let you know about my guest post.  One of WP Hacks readers, <a href="http://www.improvingtheweb.com">Wesley</a>, enjoyed the post and decided to create a WordPress plugin to enhance the functionality of my initial hacks.</p>
<p>The plugin, entitled &#8220;Blog Stats&#8221; makes available a number of statistics about your blog, including number of posts, comments, trackbacks, users and categories, PageRank, Alexa rank, Technorati rank and Feedburner RSS count.  To ensure you always have the most up to date values, the plugin automatically update statistics on a daily basis.</p>
<h2>How to Install and use the Blog Stats WordPress Plugin</h2>
<p>First, you have to download the plugin on <a href="http://www.improvingtheweb.com/automatic-blog-stats/">Wesley&#8217;s website</a> or on the <a href="http://downloads.wordpress.org/plugin/blog-stats.zip">WordPress.org page</a>.</p>
<p>Once you have it, unzip it on your hard drive and upload the plugin file to the <em>wp-content/plugins</em> directory of your WordPress blog.</p>
<p>Login to your WordPress dashboard, go to the Plugins page and activate Blog Stats.</p>
<p>You now have a bunch of new shortcodes that you can use in pages and posts. If you don&#8217;t know what a shortcode is or want more info about it, I wrote some shortcodes-related posts on <a href="http://www.wprecipes.com/how-to-save-time-by-using-wordpress-shortcodes">WP Recipes</a>.</p>
<h2>Ready to use Template</h2>
<p>Feel lazy? After you installed the plugin, just create a new page and paste the following code in it. It will output all stats available from the Blog Stats plugin.</p>
<p>user_count: [user_count]<br />
post_count: [post_count]<br />
page_count: [page_count]<br />
comment_count: [comment_count]<br />
trackback_count: [trackback_count]<br />
avg_comments_per_post: [avg_comments_per_post]<br />
category_count: [category_count]<br />
tag_count: [tag_count]<br />
link_count: [link_count]<br />
pagerank: [pagerank]<br />
technorati_authority: [technorati_authority]<br />
technorati_rank: [technorati_rank]<br />
alexa_rank: [alexa_rank]<br />
feedburner_subscribers: [feedburner_subscribers]<br />
google_backlinks: [google_backlinks]<br />
yahoo_backlinks: [yahoo_backlinks]<br />
delicious_bookmarks: [delicious_bookmarks]</p>
<p>That&#8217;s all. I must say that I like this plugin a lot and Wesley really did a nice job!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1568&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/introducing-the-blog-stats-plugin/">Introducing the Blog Stats WordPress Plugin</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/introducing-the-blog-stats-plugin/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to: Using Thumbnails in your Sidebar &#8220;Recent Post&#8221; Listing</title>
		<link>http://wphacks.com/how-to-using-thumbnails-in-your-sidebar-recent-post-listing/</link>
		<comments>http://wphacks.com/how-to-using-thumbnails-in-your-sidebar-recent-post-listing/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 08:00:07 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Recent Posts]]></category>
		<category><![CDATA[WordPress Thumbnails]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1450</guid>
		<description><![CDATA[On the WP Recipes forum, a guy just asked me how I managed to insert thumbnails on the recent post widget located on the sidebar of my blog Cats Who Code. That&#8217;s a lot simpler than it seems. If you&#8217;d like to see a live demo of this tutorial, just click here. 1) &#8211; Make [...]]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://www.wprecipes.com">WP Recipes</a> forum, a guy just asked me how I managed to insert thumbnails on the recent post widget located on the sidebar of my blog <a href="http://www.catswhocode.com">Cats Who Code</a>. That&#8217;s a lot simpler than it seems.</p>
<p>If you&#8217;d like to see a live demo of this tutorial, just <a href="http://www.catswhocode.com">click here</a>.</p>
<p><strong>1) &#8211; Make sure you&#8217;re using a custom field in your posts, with the thumbnail url. </strong></p>
<p>There&#8217;s a lot of tutorials available online to add a custom field to your pots. <a href="http://wordpressgarage.com/tips/giving-each-wordpress-post-a-thumbnail-and-display-the-thumbnail-on-the-home-page/">This one</a> is good in my opinion, so you should read it if you don&#8217;t know how to define a custom field.</p>
<p><strong>2) &#8211; Download the required plugins</strong></p>
<p>In order to customize your recent posts widget, you have to download the <a href="http://rmarsh.com/plugins/recent-posts/">Recent Posts plugin</a> by Sebastian Schmieg.</p>
<p>You&#8217;ll also need to download and install the <a href="http://downloads.wordpress.org/plugin/post-plugin-library.zip">Post-Plugin Library</a>, which contains all the php functions needed by the Recent Posts plugin.</p>
<p><strong>3) &#8211; Upload and activate the plugins</strong></p>
<p>Once you downloaded the plugin and the library, unzip the files and upload it to your wp-content/plugins directory. Then, login to your WordPress dashboard, Go to &#8220;Plugins&#8221; and activate both the library and the Recent Posts plugin.</p>
<p><strong>4) &#8211; Configure the plugin</strong></p>
<p>After having the plugin and the library uploaded and activated, you have to configure the options so you&#8217;ll be able to display the post thumbnail on your sidebar.</p>
<p>To do so, login to your WordPress dashboard and navigate to &#8220;Settings&#8221;, &#8220;Recent Posts&#8221;.<br />
On &#8220;General&#8221;, you can tell the plugin how many posts to be displayed, if it should display posts and pages or only posts, and a lot more.</p>
<p>Once you configured the &#8220;General&#8221; options to fits your needs, go to the &#8220;Output&#8221; options. In order to display your custom field thumbnail on your sidebar, you have to enter a bit of html as well as the special parameter to embed the custom field.</p>
<p>Here&#8217;s the code that I entered:</p>
<pre>&lt;li&gt;&lt;img src="{custom:Image}" width="48" height="48" alt="" /&gt;{link}
&lt;div class="clear"&gt;&lt;/div&gt;
&lt;/li&gt;</pre>
<p>The special parameter <em>{custom:Image}</em> tells the plugin to embed the <em>Image</em> custom field. Don&#8217;t forget to replace <em>Image</em> with the name of your custom field!</p>
<p><strong>5) &#8211; Add the widget to your sidebar</strong></p>
<p>Simply go to &#8220;Design&#8221;, &#8220;Widgets&#8221; and add the Recent Posts + widget to your sidebar. Visit your blog, your thumbs are showing in the sidebar along with your recent posts!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1450&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-using-thumbnails-in-your-sidebar-recent-post-listing/">How to: Using Thumbnails in your Sidebar &#8220;Recent Post&#8221; Listing</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-using-thumbnails-in-your-sidebar-recent-post-listing/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How to: Upgrade your WordPress Blog in a Minute via SSH</title>
		<link>http://wphacks.com/how-to-upgrade-wordpress-blog-minute-via-ssh/</link>
		<comments>http://wphacks.com/how-to-upgrade-wordpress-blog-minute-via-ssh/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 08:00:46 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1358</guid>
		<description><![CDATA[Having to upgrade your WordPress install every time a new version is realeased is necessary, but also very boring. If you have a SSH access to your server, here's a very quick way to upgrade your WordPress install.]]></description>
			<content:encoded><![CDATA[<p>Having to upgrade your WordPress install every time a new version is released is necessary, but also very boring. If you have a SSH access to your server, here&#8217;s a very quick way to upgrade your WordPress install.</p>
<p>This is probably the most important step of this whole tutorial: <strong>always backup your WP Database and files. This tutorial have been tested, however I won&#8217;t be held responsible for any kind of data loss.</strong></p>
<p>Once done, you can connect to your server by using SSH. On Mac and Linux platform you can use the Terminal, on Windows I recommend using <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">Putty</a>.</p>
<p>Get the latest WordPress version available:</p>
<pre>wget http://wordpress.org/latest.tar.gz</pre>
<p>Uncompress it:</p>
<pre>tar xfz latest.tar.gz</pre>
<p>Delete the wp-admin and wp-includes directories:</p>
<pre>rm -rf ./wp-includes/
rm -rf ./wp-admin/</pre>
<p>Go to the wordpress directory:</p>
<pre>cd wordpress/</pre>
<p>Now, it&#8217;s time to copy the downloaded files to your existing WP install, by overwriting old files:</p>
<pre>cp -rpf -f * ../</pre>
<p>Once done, come back to the WordPress directory and remove the downloaded files:</p>
<pre>cd ..
rm -rf ./wordpress/
rm -f latest.tar.gz</pre>
<p>Visit your blog and upgrade the database (if needed). That&#8217;s all, your blog is now up to date and the whole process didn&#8217;t took more than a minute or two!</p>
<p><em>For more WordPress tips and tricks, you should definitely take a look at my blogs <a href="http://www.wprecipes.com">WpRecipes</a> and <a href="http://www.catswhocode.com">Cats Who Code</a>!</em></p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1358&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-upgrade-wordpress-blog-minute-via-ssh/">How to: Upgrade your WordPress Blog in a Minute via SSH</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-upgrade-wordpress-blog-minute-via-ssh/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Eliminate Annoying Keywords in Comments with the Keyword Luv Plugin</title>
		<link>http://wphacks.com/eliminate-annoying-keywords-comments-keyword-luv-wordpress-plugin/</link>
		<comments>http://wphacks.com/eliminate-annoying-keywords-comments-keyword-luv-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 08:00:09 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Comment WordPress Plugin]]></category>
		<category><![CDATA[Keyword Luv]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1079</guid>
		<description><![CDATA[Due to the recent popularity of WordPress plugins as such as Nofollow Free or Tom Commentators, more commentators put keywords instead of their name in order toincrease their Google ranking for the pecified keywords.]]></description>
			<content:encoded><![CDATA[<p>Due to the recent popularity of <a href="http://wphacks.com/wordpress-plugins/">WordPress Plugins</a> such as Nofollow Free or Top Commentators, more commentators are using keywords instead of their name in order to increase their Google ranking for the specified keywords. Do you find that annoying?</p>
<p>I must admit that I prefer answering &#8220;Alex&#8221; instead of &#8220;San Diego Real Estate&#8221;. But as I previously said, having the &#8220;Top Commentators&#8221; and the &#8220;Nofollow Free&#8221; plugins enabled are good for your traffic. So, is there a solution?</p>
<p>Happily, the answer is yes. Stephen Cronin have created the Keyword Luv plugin, which allow the commentator to specify both his name and his keywords. For example, my initials are &#8220;jbj&#8221; and related keywords to my blog should be &#8220;Web Development&#8221; or &#8220;WordPress&#8221;.  Instead of typing &#8220;Web development&#8221; as my name, I&#8217;ll type &#8220;jbj@Web Development&#8221;.</p>
<p>Here is the result:</p>
<p><img src="http://wphacks.com/wp-content/uploads/2008/11/keyword-luv.png" alt="Keyword Luv" /></p>
<h2>Installing Keyword Luv</h2>
<p>Nothing hard here: First, <a href="http://www.scratch99.com/wordpress-plugin-keywordluv/">download the plugin</a>, extract it and upload the directory on your server, under the <em>wp-content/plugins</em> directory.  Then, login to your WordPress dashboard, go to <em>Plugins</em> and activate the plugin.</p>
<p>That&#8217;s all! Enjoy you &#8220;keywords free&#8221; comments!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=1079&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/eliminate-annoying-keywords-comments-keyword-luv-wordpress-plugin/">Eliminate Annoying Keywords in Comments with the Keyword Luv Plugin</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/eliminate-annoying-keywords-comments-keyword-luv-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>Introducing WpRecipes</title>
		<link>http://wphacks.com/wprecipes-com/</link>
		<comments>http://wphacks.com/wprecipes-com/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 08:00:23 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress Blogs]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Resources]]></category>
		<category><![CDATA[WordPress Tricks]]></category>
		<category><![CDATA[WordPress Tutorials]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=913</guid>
		<description><![CDATA[Since I launched my blog Cats Who Code, I received many emails from my readers, mostly asking WordPress related questions. Due to the fact that a private reply will never help someone else, I came across the idea of creating a WordPress related blog, focused of short, precise and concise recipes. So, I&#8217;m very happy [...]]]></description>
			<content:encoded><![CDATA[<p>Since I launched my blog <a href="http://www.catswhocode.com">Cats Who Code</a>, I received many emails from my readers, mostly asking WordPress related questions. Due to the fact that a private reply will never help someone else, I came across the idea of creating a WordPress related blog, focused of short, precise and concise recipes.</p>
<p>So, I&#8217;m very happy to introduce you <a href="http://www.wprecipes.com">WpRecipes</a>. On this new blog, you&#8217;ll not find any long and detailed tutorials like the ones I write for <a href="http://wphacks.com">WordPress Hacks</a>, but only short and &#8220;straight to the essential&#8221; recipes.</p>
<p><img src="http://wphacks.com/wp-content/uploads/2008/10/wprecipes.png" alt="WordPress recipes" /></p>
<p>For example, I&#8217;ll show you how to <a href="http://www.wprecipes.com/how-to-redirect-wordpress-rss-feeds-to-feedburner-with-htaccess">redirect WordPress rss feeds to Feedburner with .htaccess</a>, <a href="http://www.wprecipes.com/how-to-restrict-page-view-to-authenticated-users">how to restrict page view to authenticated users only</a> or <a href="http://www.wprecipes.com/how-to-get-rid-of-curly-quotes-in-your-wordpress-blog">how to get rid of curly quotes on your WordPress blog</a>.</p>
<p>Don&#8217;t hesitate to subscribe to WpRecipes <a href="http://feeds.feedburner.com/wprecipes">rss feed</a> or save the blog to <a href="http://delicious.com/save?jump=yes&amp;url=http://www.wprecipes.com">Delicious</a>! And if you have any WordPress related questions, feel free to ask and I&#8217;ll se what I can do to help you.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=913&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/wprecipes-com/">Introducing WpRecipes</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/wprecipes-com/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Free WordPress Theme Courtesy of Cats Who Code</title>
		<link>http://wphacks.com/new-free-wordpress-theme-from-cats-who-code/</link>
		<comments>http://wphacks.com/new-free-wordpress-theme-from-cats-who-code/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 08:00:46 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Free WordPress Theme]]></category>
		<category><![CDATA[New York Theme]]></category>
		<category><![CDATA[WordPress Themes]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1190</guid>
		<description><![CDATA[Since I launched my blog Cats Who Code, many people asked me about a similar theme. I first thought about releasing the Cats Who Code theme, but the main problem with that theme is that it is very complex and too specific to our blog. So, I figured out that I definitely should release a [...]]]></description>
			<content:encoded><![CDATA[<p>Since I launched my blog <a href="http://www.catswhocode.com">Cats Who Code</a>, many people asked me about a similar theme. I first thought about releasing the Cats Who Code theme, but the main problem with that theme is that it is very complex and too specific to our blog.</p>
<p>So, I figured out that I definitely should release a similar theme, but make it simple to administrate for both WordPress advanced users and beginners.</p>
<p>On a personal note, I chose to get inspiration for this theme from New York City, where I traveled in June and really enjoyed it. The vector image isn&#8217;t from me, but from a designer named <a rel="nofollow" href="http://hecrazy.deviantart.com/">Raul</a>. I have sent him an email to ask him if I can use his image for the theme, but never received a reply. After 2 weeks, I decided to make the theme available, anyways most people will use their own image instead.</p>
<h2>Features</h2>
<ul>
<li>Widgetized sidebar</li>
<li>Widgetized footer</li>
<li>Custom field to display a thumbnail on homepage</li>
<li>SEO optimized</li>
<li>Easy to customize</li>
<li>Classy design with nice colors</li>
<li><a href="http://www.catswhocode.com/blog/blogging/wordpress/how-to-integrate-a-pagination-in-your-wordpress-theme-890">Integrated pagination</a></li>
</ul>
<h2>Screenshot &amp; Live demo</h2>
<p>If you want to see a live demo of the theme, just click <a href="http://jeanbaptiste.jung.free.fr/demo-nyc/" target="blank">here</a>.<br />
<a href="http://www.catswhocode.com/blog/downloads/NYCTheme"><img src="http://wphacks.com/wp-content/uploads/2008/10/nyct.png" alt="" /></a></p>
<p><a href="http://www.catswhocode.com/blog/downloads/NYCTheme">Download NYC Theme</a>!</p>
<p>If you find any bugs or problems in the theme, let me know and i&#8217;ll correct it for a future version.</p>
<p>Hope you&#8217;ll like it! I plan to release a bunch of new themes in the near future, both here and at my blog <a href="http://www.catswhocode.com">Cats Who Code</a>, so you should definitely subscribe to my <a rel="nofollow" href="http://feeds.feedburner.com/catswhocode">RSS Feed</a> and/or <a rel="nofollow" href="http://twitter.com/catswhocode">follow me on Twitter</a>!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=798&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/new-free-wordpress-theme-from-cats-who-code/">Free WordPress Theme Courtesy of Cats Who Code</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/new-free-wordpress-theme-from-cats-who-code/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to: Create a Multi-Language Blog</title>
		<link>http://wphacks.com/how-to-create-a-multi-language-blog/</link>
		<comments>http://wphacks.com/how-to-create-a-multi-language-blog/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 08:00:40 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Languages]]></category>
		<category><![CDATA[WordPress Loop]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=793</guid>
		<description><![CDATA[Using WordPress plugins to automatically translate blog content This is the easiest solution. A few WordPress plugins allows you to put some clickable flags in your sidebar, that will automatically translate your content to another language using, for example, Google Translate. This is a great solution if you&#8217;re looking for a way to make your [...]]]></description>
			<content:encoded><![CDATA[<h2>Using WordPress plugins to automatically translate blog content</h2>
<p>This is the easiest solution. A few WordPress plugins allows you to put some clickable flags in your sidebar, that will automatically translate your content to another language using, for example, Google Translate.<br />
This is a great solution if you&#8217;re looking for a way to make your content available for people that doesn&#8217;t speak your language, but you guessed it, the automatic translation isn&#8217;t as good as a human translated text.</p>
<p>Anyways, if you&#8217;re interested in theses plugins, here&#8217;s a small list. I didn&#8217;t tried them all myself, though.</p>
<ul>
<li><a href="http://www.nothing2hide.net/wp-plugins/wordpress-global-translator-plugin/">Global Translator Plugin</a></li>
<li><a href="http://trevorcreech.com/blog/2007/02/17/translate-widget-20/">Translate Widget</a></li>
<li><a href="http://onemansblog.com/2007/03/25/google-translate-wordpress-plugin/">Google Translate WordPress Plugins</a></li>
</ul>
<h2>Using categories and a few hacks</h2>
<p>If you&#8217;re a perfectionist, you probably don&#8217;t really like the automatic translations provided by Google. In my opinion, if it&#8217;s okay for a personal blog, but automatic translations should be avoided on a professional blog.</p>
<p>For this hack, we will use categories. Go to your dashboard and create categories/sub-categories following the example below:</p>
<pre>English
    One category
    Two categories
Français
    Une catégorie
    Deux catégories
Deutsch
    Eine kategorie
    Zwei kategorien</pre>
<p>Of course this is just an example, you can add as many categories as you want. The thing to remember here is that we&#8217;re using top level categories for languages, each of them having sub-categories organized by topics.</p>
<p>Now, you should post at least one example post in each sub-category. Once you&#8217;re done, we can start editing our header.php template.</p>
<p>The idea is quite simple: First, we must display the available languages, and then, a menu with the sub-category related to the current language. We must also think about defining a default language, which will be English in this example.</p>
<p><strong>1 &#8211; Creating the language menu</strong><br />
Insert the following code where you want the language selection menu to appear:</p>
<pre>&lt;?php
wp_list_categories('title_li=');
$lang = 1; // Sets the default language
?&gt;</pre>
<p>As you can see, we just need the good old <em>wp_list_categories()</em> function to get our available languages.<br />
Then, we have to keep a php variable containing the id of the top level category, in order to display the navigation menu in the selected language. We must give a default value to the $lang variable. This default value will be the category id of the language you want to set as default.</p>
<p>I noticed that many people should have trouble to find the ID of a particular category. If you do, you should definitely read <a href="http://wphacks.com/how-to-finding-category-numbers-in-wordpress-25/">this post</a>.</p>
<p><strong>2 &#8211; Navigation menu</strong><br />
Now, we got a php variable containing the id of the mother category. As the top-level categories are languages, we know which language the user is using.</p>
<p>We simply have to display second-level categories.</p>
<pre>&lt;ul&gt;
&lt;?php
wp_list_categories('title_li=&amp;child_of=$lang');
?&gt;
&lt;/ul&gt;</pre>
<p><strong>3 &#8211; Retrieving category</strong><br />
Here&#8217;s a sample code you can use to automatically list posts from a category. This code get the current category (in this example, the language) and then displays the related posts.</p>
<pre>&lt;?php foreach((get_the_category()) as $category) {
      	$thecat = $category-&gt;cat_ID . ' ';
    	query_posts('child_of='.$thecat);
	if (have_posts()) : while (have_posts()) : the_post();
	   //Classic WP loop
	endwhile;endif;
?&gt;</pre>
<img src="http://wphacks.com/?ak_action=api_record_view&id=785&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-create-a-multi-language-blog/">How to: Create a Multi-Language Blog</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-create-a-multi-language-blog/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>How to: Display your WordPress Tags in a Drop-Down Menu</title>
		<link>http://wphacks.com/how-to-display-wordpress-tags-dropdown-menu/</link>
		<comments>http://wphacks.com/how-to-display-wordpress-tags-dropdown-menu/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 08:00:42 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Tag Cloud]]></category>
		<category><![CDATA[WordPress Tags]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1111</guid>
		<description><![CDATA[Tags are useful to any blog: As you know it, they allow the user to display a list of posts related to a subject.
Most of the time, tags are displayed with in a tag cloud. If you have 20 different tags, that's ok, but if you have 100 or more tags your tag cloud will be very hard to read, and no-one will click on it.
This is probably why many blogs recently stopped to display their tag cloud, or put it on a separate page. But I got another solution.]]></description>
			<content:encoded><![CDATA[<p>Tags are useful to any blog: As you know it, they allow the user to display a list of posts related to a subject.<br />
Most of the time, tags are displayed with in a tag cloud. If you have 20 different tags, that&#8217;s ok, but if you have 100 or more tags your tag cloud will be very hard to read, and no-one will click on it.</p>
<p>This is probably why many blogs recently stopped displaying their tag cloud, or put it on a separate page. But I got another solution.</p>
<p>My wife owns a blog where she reviews books. She use tags to display author names, which is a great use of tags, in my opinion. The tags were first displayed as a list, and it was perfect. But after she reviewed 60+ books, the list started to be too long.</p>
<p><a href="http://www.chaplum.com"><img src="http://wphacks.com/wp-content/uploads/2008/09/dropdown.png" alt="" /></a></p>
<p>She asked me about a solution, and after some reflection, I came up with the idea of using a drop-down menu (<em>select</em> html element + a bit of javascript). Happily, I was able to found this code on WordPress forums.</p>
<p>First, we have to create a php function. Copy and paste the following code in the functions.php file of your theme (Be careful with the php opening/closing tags!)</p>
<pre>&lt;?php
function dropdown_tag_cloud( $args = '' ) {
	$defaults = array(
		'smallest' =&gt; 8, 'largest' =&gt; 22, 'unit' =&gt; 'pt', 'number' =&gt; 45,
		'format' =&gt; 'flat', 'orderby' =&gt; 'name', 'order' =&gt; 'ASC',
		'exclude' =&gt; '', 'include' =&gt; ''
	);
	$args = wp_parse_args( $args, $defaults );

	$tags = get_tags( array_merge($args, array('orderby' =&gt; 'count', 'order' =&gt; 'DESC')) ); // Always query top tags

	if ( empty($tags) )
		return;

	$return = dropdown_generate_tag_cloud( $tags, $args ); // Here's where those top tags get sorted according to $args
	if ( is_wp_error( $return ) )
		return false;
	else
		echo apply_filters( 'dropdown_tag_cloud', $return, $args );
}

function dropdown_generate_tag_cloud( $tags, $args = '' ) {
	global $wp_rewrite;
	$defaults = array(
		'smallest' =&gt; 8, 'largest' =&gt; 22, 'unit' =&gt; 'pt', 'number' =&gt; 45,
		'format' =&gt; 'flat', 'orderby' =&gt; 'name', 'order' =&gt; 'ASC'
	);
	$args = wp_parse_args( $args, $defaults );
	extract($args);

	if ( !$tags )
		return;
	$counts = $tag_links = array();
	foreach ( (array) $tags as $tag ) {
		$counts[$tag-&gt;name] = $tag-&gt;count;
		$tag_links[$tag-&gt;name] = get_tag_link( $tag-&gt;term_id );
		if ( is_wp_error( $tag_links[$tag-&gt;name] ) )
			return $tag_links[$tag-&gt;name];
		$tag_ids[$tag-&gt;name] = $tag-&gt;term_id;
	}

	$min_count = min($counts);
	$spread = max($counts) - $min_count;
	if ( $spread &lt;= 0 )
		$spread = 1;
	$font_spread = $largest - $smallest;
	if ( $font_spread &lt;= 0 )
		$font_spread = 1;
	$font_step = $font_spread / $spread;

	// SQL cannot save you; this is a second (potentially different) sort on a subset of data.
	if ( 'name' == $orderby )
		uksort($counts, 'strnatcasecmp');
	else
		asort($counts);

	if ( 'DESC' == $order )
		$counts = array_reverse( $counts, true );

	$a = array();

	$rel = ( is_object($wp_rewrite) &amp;&amp; $wp_rewrite-&gt;using_permalinks() ) ? ' rel="tag"' : '';

	foreach ( $counts as $tag =&gt; $count ) {
		$tag_id = $tag_ids[$tag];
		$tag_link = clean_url($tag_links[$tag]);
		$tag = str_replace(' ', '&amp;nbsp;', wp_specialchars( $tag ));
		$a[] = "\t&lt;option value='$tag_link'&gt;$tag ($count)&lt;/option&gt;";
	}

	switch ( $format ) :
	case 'array' :
		$return =&amp; $a;
		break;
	case 'list' :
		$return = "&lt;ul class='wp-tag-cloud'&gt;\n\t&lt;li&gt;";
		$return .= join("&lt;/li&gt;\n\t&lt;li&gt;", $a);
		$return .= "&lt;/li&gt;\n&lt;/ul&gt;\n";
		break;
	default :
		$return = join("\n", $a);
		break;
	endswitch;

	return apply_filters( 'dropdown_generate_tag_cloud', $return, $tags, $args );
}
?&gt;</pre>
<p>Once you have your function, you must call it somewhere on your theme. Just open the file where you want the list to be displayed (Most of the time it is sidebar.php) and paste the following code:</p>
<pre>&lt;select name="tag-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;"&gt;
	&lt;option value="#"&gt;Liste d'auteurs&lt;/option&gt;
	&lt;?php dropdown_tag_cloud('number=0&amp;order=asc'); ?&gt;
&lt;/select&gt;</pre>
<p>Now, you have a very cool drop-down list to display you tags. No more unreadables tag clouds!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=732&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-display-wordpress-tags-dropdown-menu/">How to: Display your WordPress Tags in a Drop-Down Menu</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-display-wordpress-tags-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
		<item>
		<title>How to: Create an Ajax-based Auto-completing Search Field for your WordPress Theme</title>
		<link>http://wphacks.com/how-to-create-an-ajax-based-autocompleting-search-field-for-your-wordpress-theme/</link>
		<comments>http://wphacks.com/how-to-create-an-ajax-based-autocompleting-search-field-for-your-wordpress-theme/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 08:00:50 +0000</pubDate>
		<dc:creator>Jean-Baptiste Jung</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1071</guid>
		<description><![CDATA[Why not helping your visitors to find what they're looking for on your blog, by using a cool autocompletion on your search field? To do so, we'll use Wordpress tagcloud, php and ajax.]]></description>
			<content:encoded><![CDATA[<p>Why not helping your visitors to find what they&#8217;re looking for on your blog, by using a cool auto-completion on your search field? To do so, we&#8217;ll use WordPress tagcloud, php and ajax.</p>
<p class="attention">Please note that even if this code is fully functional, this is an experimentation, and the SQL query isn&#8217;t really optimized.</p>
<h2>The idea</h2>
<p>We will use tags as a list of keyword to suggest to the readers.</p>
<p>When someone will start to type on the search field, we will use Javascript to send a request to a php page which will do the following SQL request <em>SELECT * FROM matable WHERE &#8216;name&#8217; LIKE &#8216;$search%&#8217;</em>. Via Ajax, we&#8217;ll send back the request results to our page, and display it to the visitor.</p>
<p><img src="http://www.lyxia.org/blog/wp-content/uploads/2008/03/automcompletion-wordpress.png" alt="automcompletion-wordpress.png" /></p>
<h2>First part: PHP</h2>
<p>The first thing to do is to create a php page. This page will send a request to our WP database and display  the tags as a html unordered list.</p>
<pre>&lt;?php
if (isset($_POST['search'])) {
        $search = htmlentities($_POST['search']);
} else  $search ='';
$db = mysql_connect('localhost','root',''); //Don't forget to change
mysql_select_db('wp', $db);		     //theses parameters
$sql = "SELECT name from wp_terms WHERE name LIKE '$search%'";
$req = mysql_query($sql) or die();
echo '&lt;ul&gt;';
while ($data = mysql_fetch_array($req))
{
        echo '&lt;li&gt;&lt;a href="#" onclick="selected(this.innerHTML);"&gt;'.htmlentities($data['name']).'&lt;/a&gt;&lt;/li&gt;';
}
echo '&lt;/ul&gt;';
mysql_close();
?&gt;</pre>
<p>This code is simple: It receive a POST parameter (The letter(s) typed in the search field by the visitor) and then sends a request to our WP database in order to gets all tags starting with the letter(s) typed in the search box.</p>
<h2>Part two: Ajax</h2>
<p>Now it&#8217;s time to start the client-side programming. We need to code 4 Javascript functions in order to make our auto-completion work:</p>
<ul>
<li>Function <em>ajax()</em> will create a XMLHTTPRequest object.</li>
<li>Function <em>request()</em> will send an Ajax request to our <em>gettags.php</em> file.</li>
<li>Function <em>return()</em> will return <em>gettags.php</em> contents.</li>
<li>And the <em>selected()</em> function will update the search field.</li>
</ul>
<p>Here&#8217;s our <em>gettags.js</em> file and the 4 functions needed:</p>
<pre>var myAjax = ajax();
function ajax() {
        var ajax = null;
        if (window.XMLHttpRequest) {
                try {
                        ajax = new XMLHttpRequest();
                }
                catch(e) {}
        }
        else if (window.ActiveXObject) {
                try {
                        ajax = new ActiveXObject("Msxm12.XMLHTTP");
                }
                catch (e){
                        try{
                                ajax = new ActiveXObject("Microsoft.XMLHTTP");
                        }
                        catch (e) {}
                }
        }
        return ajax;
}
function request(str) {
	//Don't forget to modify the path according to your theme
        myAjax.open("POST", "wp-content/themes/openbook-fr/gettags.php");
        myAjax.onreadystatechange = result;
        myAjax.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
        myAjax.send("search="+str);
}
function result() {
        if (myAjax.readyState == 4) {
                var liste = myAjax.responseText;
                var cible = document.getElementById('tag_update').innerHTML = liste;
                document.getElementById('tag_update').style.display = "block";
        }
}
function selected(choice){
        var cible = document.getElementById('s');
        cible.value = choice;
        document.getElementById('tag_update').style.display = "none";
}</pre>
<h2>Part three: Editing your theme</h2>
<p>Now that we have our php and javascript ready, we can edit the <em>searchform.php</em> file from your WP theme:</p>
<p>Your <em>searchform.php</em> file should look like this:</p>
<pre>&lt;form method="get" id="searchform" action="&lt;?php bloginfo('url'); ?&gt;/"&gt;
        &lt;div&gt;
                &lt;input type="text" value="&lt;?php the_search_query(); ?&gt;" name="s" id="s" /&gt;
                &lt;input type="submit" id="searchsubmit" value="Search" /&gt;
        &lt;/div&gt;
&lt;/form&gt;</pre>
<p>We have to add a <em>div</em>, which will display the received data from the request, as well as a Javascript event on the search form:</p>
<pre>&lt;form method="get" id="searchform" action="&lt;?php bloginfo('url'); ?&gt;/"&gt;
    &lt;div&gt;
        &lt;input type="text" value="&lt;?php the_search_query(); ?&gt;" name="s" id="s" onkeyup="request(this.value);"/&gt;
        &lt;input type="submit" id="searchsubmit" value="Search" class="button" /&gt;
    &lt;/div&gt;
    &lt;div id="tag_update"&gt;&lt;/div&gt;
&lt;/form&gt;</pre>
<h2>Final part: CSS</h2>
<p>Due to the fact that every theme use different color schemes, this is only an example. Anyways, I thought it could be a good start:</p>
<pre>#tag_update {
        display: block;
        border-left: 1px solid #373737;
        border-right: 1px solid #373737;
        border-bottom: 1px solid #373737;
        position:absolute;
        z-index:1;
}
#tag_update ul {
        margin: 0;
        padding: 0;
        list-style: none;
}
#tag_update li{
        display:block;
        clear:both;
}
#tag_update a {
        width:134px;
        display: block;
        padding: .2em .3em;
        text-decoration: none;
        color: #fff;
        background-color: #1B1B1C;
        text-align: left;
}
#tag_update a:hover{
        color: #fff;
        background-color: #373737;
        background-image: none;
}</pre>
<p>That&#8217;s all. You now have a very nice auto-completing search form! If you have any questions, feel free to leave a comment below.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=672&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-create-an-ajax-based-autocompleting-search-field-for-your-wordpress-theme/">How to: Create an Ajax-based Auto-completing Search Field for your WordPress Theme</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-create-an-ajax-based-autocompleting-search-field-for-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

