<?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>Shailan.com &#187; wordpress</title>
	<atom:link href="http://shailan.com/categories/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://shailan.com</link>
	<description>About wordpress plugins, themes &#38; web design</description>
	<lastBuildDate>Wed, 28 Jul 2010 14:46:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>WordPress pushes the limits with PHP &amp; Mysql</title>
		<link>http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/</link>
		<comments>http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 21:08:48 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[3.2]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=1054</guid>
		<description><![CDATA[Mark Jaquith announced that wordpress will no more support PHP4 &#38; MySQL4. If you are (your host is) using PHP 4 or MySQL 4 you may &#8230; <a href="http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/">Continue reading <span class="meta-nav">&#8594;</span></a> <p><strong><em>This post is originally posted on <a href="http://shailan.com">Shailan.com</a>. <br />Visit <a href="http://shailan.com">Shailan.com</a> for more..</em></strong></p>]]></description>
			<content:encoded><![CDATA[<p>Mark Jaquith <a href="http://wordpress.org/news/2010/07/eol-for-php4-and-mysql4/" onclick="return TrackClick('http%3A%2F%2Fwordpress.org%2Fnews%2F2010%2F07%2Feol-for-php4-and-mysql4%2F','announced')">announced</a> that wordpress will no more support PHP4 &amp; MySQL4. If you are (your host is) using PHP 4 or MySQL 4 you may not be able to catch the next wordpress update. Don&#8217;t know which version you have? <a href="http://txfx.net/" onclick="return TrackClick('http%3A%2F%2Ftxfx.net%2F','Mark')">Mark</a> created a <a href="http://wordpress.org/extend/plugins/health-check/" onclick="return TrackClick('http%3A%2F%2Fwordpress.org%2Fextend%2Fplugins%2Fhealth-check%2F','health+check+plugin')">health check plugin</a> just for this issue. You can install it using <a href="http://coveredwebservices.com/wp-plugin-install/?plugin=health-check" onclick="return TrackClick('http%3A%2F%2Fcoveredwebservices.com%2Fwp-plugin-install%2F%3Fplugin%3Dhealth-check','one+click+installer+script+on+his+site')">one click installer script on his site</a>.</p>
<p>Well, I did my health check. I&#8217;m fine ;) How about you?</p>
 <p><strong><em>This post is originally posted on <a href="http://shailan.com">Shailan.com</a>. <br />Visit <a href="http://shailan.com">Shailan.com</a> for more..</em></strong></p>
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fwordpress-push-the-limits-up-with-php-mysql%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=1054&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/wordpress-3-0-is-here/" title="Wordpress 3.0 is here!">Wordpress 3.0 is here!</a><br /><small>After a little delay on schedule, here comes one great ...</small></li><li><a href="http://shailan.com/wordpress-2-8-released/" title="Wordpress 2.8 Released!">Wordpress 2.8 Released!</a><br /><small>Wordpress announced 2.8 Release named "Baker". This new...</small></li><li><a href="http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/" title="Custom Dropdown Menu Using Wordpress 3 Nav Menus">Custom Dropdown Menu Using Wordpress 3 Nav Menus</a><br /><small>Wordpress 3 brought many new great features. One of tho...</small></li><li><a href="http://shailan.com/5-ways-to-hide-your-private-content-in-wordpress/" title="5 ways to hide your private content in wordpress">5 ways to hide your private content in wordpress</a><br /><small>SAY you want a private blog to post your secrets OR mak...</small></li><li><a href="http://shailan.com/dropdown-menu-widget-update-1-4-0/" title="Dropdown Menu Widget Update: 1.4.0">Dropdown Menu Widget Update: 1.4.0</a><br /><small>

I made two updates to the dropdown menu widget.  He...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Dropdown Menu Using WordPress 3 Nav Menus</title>
		<link>http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/</link>
		<comments>http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 12:44:12 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[nav menu]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=1025</guid>
		<description><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/custom-menu-dropdown.jpg" class="attachment-post-thumbnail wp-post-image" alt="custom-menu-dropdown" title="custom-menu-dropdown" /></p>Wordpress 3 brought many great features. One of those great features was <em>navigation menu</em> support. Although many themes not supporting this great feature yet, you can use it with dropdown menu widget to create <em>custom menus</em> on your site. In this tutorial i will explain you how to use custom navigation menus with <em>dropdown menu widget</em>.
<span id="more-1025"></span>
First make sure you have latest wordpress installation. Custom Navigation Menu support comes with Wordpress 3. So if your wordpress version is lower than that, you need to update first. Don't worry, it will worth it ;)

If you have the latest wordpress installation now, you will see Menus link under Appearance section of the admin panel.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-01.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-01.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Click on Menus to start building our brand new custom menu. Wordpress may warn you about "theme doesn't support custom menus" but don't worry. We will be using menu in our dropdown widget so it doesn't matter. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-02.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-02.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

You see white box there under + sign. Enter a name for our new menu. For example, let's call it, "My Custom Dropdown". How original! Click on create menu button afterwards to create the menu. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Your menu is created now but it doesn't have any link inside. You will see tools on the left to add links to your custom menu. You can add blog pages & categories to your menu.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03_1.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03_1.jpg" alt="" title="custom-menu-dropdown-03_1" width="560" height="300" class="aligncenter size-full wp-image-1043" /></a>

You can also add custom links to your menu. After you add links, you can easily order your menu items using drag and drop. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-08.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-08.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

You can create sub menus dragging a link item under another.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-04.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-04.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

 After your ordering is complete, save your menu. This menu is now added to dropdown menu widget. Steps from now on requires <a href="http://shailan.com/wordpress/plugins/dropdown-menu/">dropdown menu widget</a> installed on your site. If you haven't already <a href="http://shailan.com/wordpress/plugins/dropdown-menu/">click here to get it</a>.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-05.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-05.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Add a dropdown menu widget to your widget area. Note that not all the themes have header widget areas. I like my custom themes to have it. Makes wordpress more customizable. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-06.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-06.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Select your custom menu from the Menu selection of dropdown menu widget. And click on Save.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-07.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-07.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

If you just installed the dropdown menu widget you may need to visit menu style page. Change dropdown menu theme to any theme you like and then click on Save Changes.  

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-09.jpg"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-09.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Now visit your blog and enjoy your new custom menu. Cheers! ]]></description>
			<content:encoded><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/custom-menu-dropdown.jpg" class="attachment-post-thumbnail wp-post-image" alt="custom-menu-dropdown" title="custom-menu-dropdown" /></p>WordPress 3 brought many great features. One of those great features was <em>navigation menu</em> support. Although many themes not supporting this great feature yet, you can use it with dropdown menu widget to create <em>custom menus</em> on your site. In this tutorial i will explain you how to use custom navigation menus with <em>dropdown menu widget</em>.
<span id="more-1025"></span>
First make sure you have latest wordpress installation. Custom Navigation Menu support comes with WordPress 3. So if your wordpress version is lower than that, you need to update first. Don't worry, it will worth it ;)

If you have the latest wordpress installation now, you will see Menus link under Appearance section of the admin panel.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-01.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-01.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Click on Menus to start building our brand new custom menu. WordPress may warn you about "theme doesn't support custom menus" but don't worry. We will be using menu in our dropdown widget so it doesn't matter. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-02.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-02.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

You see white box there under + sign. Enter a name for our new menu. For example, let's call it, "My Custom Dropdown". How original! Click on create menu button afterwards to create the menu. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Your menu is created now but it doesn't have any link inside. You will see tools on the left to add links to your custom menu. You can add blog pages & categories to your menu.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03_1.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-03_1"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-03_1.jpg" alt="" title="custom-menu-dropdown-03_1" width="560" height="300" class="aligncenter size-full wp-image-1043" /></a>

You can also add custom links to your menu. After you add links, you can easily order your menu items using drag and drop. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-08.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-08.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

You can create sub menus dragging a link item under another.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-04.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-04.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

 After your ordering is complete, save your menu. This menu is now added to dropdown menu widget. Steps from now on requires <a href="http://shailan.com/wordpress/plugins/dropdown-menu/">dropdown menu widget</a> installed on your site. If you haven't already <a href="http://shailan.com/wordpress/plugins/dropdown-menu/">click here to get it</a>.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-05.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-05.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Add a dropdown menu widget to your widget area. Note that not all the themes have header widget areas. I like my custom themes to have it. Makes wordpress more customizable. 

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-06.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-06.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Select your custom menu from the Menu selection of dropdown menu widget. And click on Save.

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-07.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-07.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

If you just installed the dropdown menu widget you may need to visit menu style page. Change dropdown menu theme to any theme you like and then click on Save Changes.  

<a href="http://shailan.com/wp-content/uploads/custom-menu-dropdown-09.jpg" rel="lightbox[1025]" title="custom-menu-dropdown-01"><img src="http://shailan.com/wp-content/uploads/custom-menu-dropdown-09.jpg" alt="" title="custom-menu-dropdown-01" width="560" height="300" class="aligncenter size-full wp-image-1034" /></a>

Now visit your blog and enjoy your new custom menu. Cheers! 
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fcustom-dropdown-menu-using-wordpress-3-nav-menus%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=1025&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/dropdown-menu-widget-update-1-4-0/" title="Dropdown Menu Widget Update: 1.4.0">Dropdown Menu Widget Update: 1.4.0</a><br /><small>

I made two updates to the dropdown menu widget.  He...</small></li><li><a href="http://shailan.com/new-dropdown-theme/" title="New dropdown theme!">New dropdown theme!</a><br /><small>Added a new theme to Dropdown Menu Widget. This new the...</small></li><li><a href="http://shailan.com/wordpress-dropdown-menu-widget/" title="Wordpress dropdown menu widget">Wordpress dropdown menu widget</a><br /><small>

First release of dropdown menu widget is ready. The...</small></li><li><a href="http://shailan.com/dropdown-menu-widget-update-1-5-2/" title="Dropdown Menu Widget Update 1.5.2">Dropdown Menu Widget Update 1.5.2</a><br /><small>

 I updated the dropdown menu widget plugin today. I...</small></li><li><a href="http://shailan.com/tutorial-create-your-very-own-dropdown-menu-stylesheet/" title="Tutorial: Create your very own dropdown menu stylesheet">Tutorial: Create your very own dropdown menu stylesheet</a><br /><small>I’ve created a very simple plugin for creating and addi...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropdown Menu Widget Update 1.5.2</title>
		<link>http://shailan.com/dropdown-menu-widget-update-1-5-2/</link>
		<comments>http://shailan.com/dropdown-menu-widget-update-1-5-2/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 16:52:09 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[updates]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[custom menu]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=955</guid>
		<description><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/dropdown-menu-widget-brand-new-200x200.png" class="attachment-post-thumbnail wp-post-image" alt="dropdown-menu-widget-brand-new" title="dropdown-menu-widget-brand-new" /></p><a href="http://shailan.com/wp-content/uploads/dropdown-menu-widget-brand-new.png" rel="lightbox"><img title="dropdown-menu-widget-brand-new" src="http://shailan.com/wp-content/uploads/dropdown-menu-widget-brand-new.png" alt="" width="560" height="308" /></a>

<a href="http://shailan.com/wp-content/uploads/dropdown-menu-widget-1-5.jpg"><img class="alignright size-full wp-image-958" title="dropdown-menu-widget-1-5" src="http://shailan.com/wp-content/uploads/dropdown-menu-widget-1-5.jpg" alt="" width="267" height="401" /></a> I updated the dropdown menu widget plugin today. It was a huge update so i think i will get a lot of comments about the new version. This update was necessary to make it work with wordpress 3.0. While doing that i played a little with default styles &amp; plugin itself. Here is a list of things that are new with this update:
<ul>
	<li><strong>Wordpress 3.0 compatible</strong>,</li>
	<li><strong>Support for Wordpress 3.0 navigation menus</strong>, (Widget automatically adds your navigation menus to menu select dropdown)</li>
	<li>Themes got better &amp; simpler now,</li>
	<li>Fixed background problems with themes (for example "Shiny black" theme now supports wider links),</li>
	<li><strong>Added option to rename home link</strong>. You can easily change your home link text from Settings -&gt; Dropdown menu options panel,</li>
	<li><strong>Added custom css insert option</strong>. Now you can easily add your customization without changing any files.</li>
</ul>
While updating the plugin i wanted it to be a clean version. So i removed some unused elements from the plugin. Here is a list of things i removed from the plugin,
<ul>
	<li>Removed <strong>Exclude Pages</strong> plugin. This wasn't working because of meta box changes in wordpress. You can easily get this plugin from wordpress plugins.</li>
	<li>Removed <strong>inline style</strong> option from the plugin. You can use <strong>custom css</strong> instead of inline styling.</li>
	<li>Removed Custom Walker support for now. I may add it later on if needed.</li>
	<li>Removed Blue Tabs theme because it was custom walker dependant.</li>
</ul>
I hope you won't get hurt by those changes. And after all those changes what's next? Here is a list of things i want to complete with the next version:
<ul>
	<li>Easy Menu Theme Creator,</li>
	<li>Custom class support,</li>
	<li>A New Tabbed Menu Theme.</li>
</ul>
Now, its your turn. Just update the plugin an see if you'll like it.

If you see a problem you can <a href="http://wordpress.org/tags/dropdown-menu-widget">report bugs here</a> [and] you can <a href="http://shailan.com/contact/">request a custom theme here</a>.]]></description>
			<content:encoded><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/dropdown-menu-widget-brand-new-200x200.png" class="attachment-post-thumbnail wp-post-image" alt="dropdown-menu-widget-brand-new" title="dropdown-menu-widget-brand-new" /></p><a href="http://shailan.com/wp-content/uploads/dropdown-menu-widget-brand-new.png" rel="lightbox" title="dropdown-menu-widget-brand-new"><img title="dropdown-menu-widget-brand-new" src="http://shailan.com/wp-content/uploads/dropdown-menu-widget-brand-new.png" alt="" width="560" height="308" /></a>

<a href="http://shailan.com/wp-content/uploads/dropdown-menu-widget-1-5.jpg" rel="lightbox[955]" title="dropdown-menu-widget-1-5"><img class="alignright size-full wp-image-958" title="dropdown-menu-widget-1-5" src="http://shailan.com/wp-content/uploads/dropdown-menu-widget-1-5.jpg" alt="" width="267" height="401" /></a> I updated the dropdown menu widget plugin today. It was a huge update so i think i will get a lot of comments about the new version. This update was necessary to make it work with wordpress 3.0. While doing that i played a little with default styles &amp; plugin itself. Here is a list of things that are new with this update:
<ul>
	<li><strong>WordPress 3.0 compatible</strong>,</li>
	<li><strong>Support for WordPress 3.0 navigation menus</strong>, (Widget automatically adds your navigation menus to menu select dropdown)</li>
	<li>Themes got better &amp; simpler now,</li>
	<li>Fixed background problems with themes (for example "Shiny black" theme now supports wider links),</li>
	<li><strong>Added option to rename home link</strong>. You can easily change your home link text from Settings -&gt; Dropdown menu options panel,</li>
	<li><strong>Added custom css insert option</strong>. Now you can easily add your customization without changing any files.</li>
</ul>
While updating the plugin i wanted it to be a clean version. So i removed some unused elements from the plugin. Here is a list of things i removed from the plugin,
<ul>
	<li>Removed <strong>Exclude Pages</strong> plugin. This wasn't working because of meta box changes in wordpress. You can easily get this plugin from wordpress plugins.</li>
	<li>Removed <strong>inline style</strong> option from the plugin. You can use <strong>custom css</strong> instead of inline styling.</li>
	<li>Removed Custom Walker support for now. I may add it later on if needed.</li>
	<li>Removed Blue Tabs theme because it was custom walker dependant.</li>
</ul>
I hope you won't get hurt by those changes. And after all those changes what's next? Here is a list of things i want to complete with the next version:
<ul>
	<li>Easy Menu Theme Creator,</li>
	<li>Custom class support,</li>
	<li>A New Tabbed Menu Theme.</li>
</ul>
Now, its your turn. Just update the plugin an see if you'll like it.

If you see a problem you can <a href="http://wordpress.org/tags/dropdown-menu-widget">report bugs here</a> <span class="amp">&</span> you can <a href="http://shailan.com/contact/">request a custom theme here</a>.
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fdropdown-menu-widget-update-1-5-2%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=955&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/" title="Custom Dropdown Menu Using Wordpress 3 Nav Menus">Custom Dropdown Menu Using Wordpress 3 Nav Menus</a><br /><small>Wordpress 3 brought many new great features. One of tho...</small></li><li><a href="http://shailan.com/dropdown-menu-widget-update-1-4-0/" title="Dropdown Menu Widget Update: 1.4.0">Dropdown Menu Widget Update: 1.4.0</a><br /><small>

I made two updates to the dropdown menu widget.  He...</small></li><li><a href="http://shailan.com/new-dropdown-theme/" title="New dropdown theme!">New dropdown theme!</a><br /><small>Added a new theme to Dropdown Menu Widget. This new the...</small></li><li><a href="http://shailan.com/wordpress-dropdown-menu-widget/" title="Wordpress dropdown menu widget">Wordpress dropdown menu widget</a><br /><small>

First release of dropdown menu widget is ready. The...</small></li><li><a href="http://shailan.com/tutorial-create-your-very-own-dropdown-menu-stylesheet/" title="Tutorial: Create your very own dropdown menu stylesheet">Tutorial: Create your very own dropdown menu stylesheet</a><br /><small>I’ve created a very simple plugin for creating and addi...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/dropdown-menu-widget-update-1-5-2/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>WordPress 3.0 is here!</title>
		<link>http://shailan.com/wordpress-3-0-is-here/</link>
		<comments>http://shailan.com/wordpress-3-0-is-here/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 10:37:11 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[updates]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[releases]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=934</guid>
		<description><![CDATA[After a little delay on schedule, here comes one great release : &#8220;WordPress 3.0 Thelonious!&#8221;. Yesterday Matt announced the new release of wordpress, called &#8220;Thelonious&#8221; &#8230; <a href="http://shailan.com/wordpress-3-0-is-here/">Continue reading <span class="meta-nav">&#8594;</span></a> <p><strong><em>This post is originally posted on <a href="http://shailan.com">Shailan.com</a>. <br />Visit <a href="http://shailan.com">Shailan.com</a> for more..</em></strong></p>]]></description>
			<content:encoded><![CDATA[<p>After a little delay on schedule, here comes one great release : &#8220;WordPress 3.0 Thelonious!&#8221;.<br />
Yesterday <a href="http://ma.tt/" onclick="return TrackClick('http%3A%2F%2Fma.tt%2F','Matt')">Matt</a> announced the new release of wordpress, called &#8220;Thelonious&#8221; after <a href="http://en.wikipedia.org/wiki/Thelonious_Monk" onclick="return TrackClick('http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FThelonious_Monk','Thelonious+Monk')" rel="nofollow">Thelonious Monk</a>. </p>
<p>This new version has a lot of enhancements including <strong>the most wanted navigation menu support</strong>,  custom headers, custom background, shortlinks support, and better use of custom post types and custom taxonomies. WordPress 3 admin interface is lighter and faster with less colors to let you focus on content more. Updating plugins &#038; even themes got easier; you can update all the outdated plugins with a click of a button! </p>
<p>You can view the release video trailer below for more tips on the new release:<br />
<embed src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.21" type="application/x-shockwave-flash" width="560" height="315" wmode="transparent" seamlesstabbing="true" allowfullscreen="true" allowscriptaccess="always" overstretch="true" flashvars="guid=BQtfIEY1&amp;width=560&amp;height=315&amp;locksize=no&amp;dynamicseek=false&amp;qc_publisherId=p-18-mFEk4J448M" title="Introducing WordPress 3.0 &quot;Thelonious&quot;"></embed></p>
<p>You should also <a href="http://wordpress.org/development/2010/06/thelonious/" onclick="return TrackClick('http%3A%2F%2Fwordpress.org%2Fdevelopment%2F2010%2F06%2Fthelonious%2F','watch+Matt%22s+talk+at+WordCamp+San+Francisco+on+the+announcement+page')">watch Matt&#8217;s talk at WordCamp San Francisco on the announcement page</a> for a brief history on development. </p>
<p>You can view more information on <a href="http://codex.wordpress.org/Version_3.0" onclick="return TrackClick('http%3A%2F%2Fcodex.wordpress.org%2FVersion_3.0','Wordpress+3.0+on+the+Wordpress+Codex')">WordPress 3.0 on the WordPress Codex</a>. </p>
<p>So, What are you waiting for? Go update your blog!</p>
 <p><strong><em>This post is originally posted on <a href="http://shailan.com">Shailan.com</a>. <br />Visit <a href="http://shailan.com">Shailan.com</a> for more..</em></strong></p>
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fwordpress-3-0-is-here%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=934&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/" title="Wordpress pushes the limits with PHP &#038; Mysql">Wordpress pushes the limits with PHP &#038; Mysql</a><br /><small>Mark Jaquith announced that wordpress will no more supp...</small></li><li><a href="http://shailan.com/dropdown-menu-widget-update-1-4-0/" title="Dropdown Menu Widget Update: 1.4.0">Dropdown Menu Widget Update: 1.4.0</a><br /><small>

I made two updates to the dropdown menu widget.  He...</small></li><li><a href="http://shailan.com/wordpress-2-8-released/" title="Wordpress 2.8 Released!">Wordpress 2.8 Released!</a><br /><small>Wordpress announced 2.8 Release named "Baker". This new...</small></li><li><a href="http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/" title="Custom Dropdown Menu Using Wordpress 3 Nav Menus">Custom Dropdown Menu Using Wordpress 3 Nav Menus</a><br /><small>Wordpress 3 brought many new great features. One of tho...</small></li><li><a href="http://shailan.com/5-ways-to-hide-your-private-content-in-wordpress/" title="5 ways to hide your private content in wordpress">5 ways to hide your private content in wordpress</a><br /><small>SAY you want a private blog to post your secrets OR mak...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/wordpress-3-0-is-here/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>5 ways to hide your private content in wordpress</title>
		<link>http://shailan.com/5-ways-to-hide-your-private-content-in-wordpress/</link>
		<comments>http://shailan.com/5-ways-to-hide-your-private-content-in-wordpress/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 13:19:16 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[tips & tricks]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[premium]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=874</guid>
		<description><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/blogging-private-with-wp.jpg" class="attachment-post-thumbnail wp-post-image" alt="blogging-private-with-wp" title="blogging-private-with-wp" /></p><a rel="wp-att-877" href="http://shailan.com/5-ways-to-hide-your-private-content-in-wordpress/wordpress-private-content/"><img class="aligncenter size-full wp-image-877" title="wordpress-private-content" src="http://shailan.com/wp-content/uploads/wordpress-private-content.png" alt="" /></a>

SAY you want a private blog to post your secrets OR make your blog available for the registered users only. Wordpress allows you to create protected (private) posts but if you want full privacy this won't be enough. In this post i will show you how you can easily turn wordpress into a private blog.

<span id="more-874"></span>
<ol>
	<li><h3 id="toc-absolute-privacy"><a href="http://wordpress.org/extend/plugins/absolute-privacy/" rel="lightbox" taget="_blank">Absolute Privacy</a></h3><a href="http://shailan.com/wp-content/uploads/absolute-privacy-options-panel.jpg" rel="lightbox" taget="_blank"><img src="http://shailan.com/wp-content/uploads/absolute-privacy-options-panel-300x265.jpg" alt="" title="absolute-privacy-options-panel" width="300" height="265" class="aligncenter size-medium wp-image-893" /></a>
This plugin allows you to lock down wordpress completely against unregistered views. You can also disable feed views within same plugin. One of the best features that plugin gives option to allow view on certain pages. You need to enter page id's you want to be visible. All other content will be hidden to guest views. </li>
	<li><h3 id="toc-private-wp"><a href="http://wordpress.org/extend/plugins/private-wp/" rel="lightbox" taget="_blank">Private WP</a></h3>
<a href="http://shailan.com/wp-content/uploads/private-wordpress-options-screen.jpg"><img src="http://shailan.com/wp-content/uploads/private-wordpress-options-screen-300x259.jpg" alt="" title="private-wordpress-options-screen" width="300" height="259" class="aligncenter size-medium wp-image-891" /></a> This plugin disables all content views and redirect users to login screen. It has a simple interface and does just what you expect to.
</li>
	<li><h3 id="toc-private-only"><a href="http://wordpress.org/extend/plugins/private-only/" rel="lightbox" taget="_blank">Private Only</a></h3>
<a href="http://shailan.com/wp-content/uploads/private-only-options-screen.jpg" rel="lightbox" taget="_blank"><img src="http://shailan.com/wp-content/uploads/private-only-options-screen-300x265.jpg" alt="" title="private-only-options-screen" width="300" height="265" class="aligncenter size-medium wp-image-892" /></a> This plugin redirect all users to login screen. One great feature is that you can customize the login interface using this plugin. This will make your site more attractive. Not tested in wordpress 3.0 though.

</li>
	<li><h3 id="toc-wp-private"><a href="http://wordpress.org/extend/plugins/wp-private/" rel="lightbox" taget="_blank">WP-Private</a></h3>
<a href="http://shailan.com/wp-content/uploads/WP-Private-premium-content-plugin.jpg" rel="lightbox" taget="_blank"><img src="http://shailan.com/wp-content/uploads/WP-Private-premium-content-plugin-234x300.jpg" alt="" title="WP-Private-premium-content-plugin" width="234" height="300" class="aligncenter size-medium wp-image-889" /></a>Wp-Private allows you to hide certain parts of content only. You can use [protected]  &amp; [/protected] shortcode tags to hide your content from guests or regular users. Plugin will display a login form or a text message telling user should register or subscribe. One feature it brings is that not all registered users can view the content. That's why settings page is entitled "Premium Content Manager".
</li>
	<li><h3 id="toc-private-wp-suite"><a href="http://wordpress.org/extend/plugins/private-wp-suite/" rel="lightbox" taget="_blank">Private WP Suite</a></h3>
<a href="http://shailan.com/wp-content/uploads/private-wp-suite.jpg" rel="lightbox" taget="_blank"><img src="http://shailan.com/wp-content/uploads/private-wp-suite-300x161.jpg" alt="" title="private-wp-suite" width="300" height="161" class="aligncenter size-medium wp-image-890" /></a>
Private WP Suite is as simple as abc. It allows you to lock down your blog, your feeds and even your uploads (Needs .htaccess read/write rights). It also allows you to keep certain ip addresses out of the protection. I don't think this ip feature is really usefull though. I don't recommend using it.
</li>
</ol>

Here i showed you 5 different plugins to lock down your blog and start posting protected. I hope you liked it.
]]></description>
			<content:encoded><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/blogging-private-with-wp.jpg" class="attachment-post-thumbnail wp-post-image" alt="blogging-private-with-wp" title="blogging-private-with-wp" /></p><a rel="wp-att-877" href="http://shailan.com/5-ways-to-hide-your-private-content-in-wordpress/wordpress-private-content/"><img class="aligncenter size-full wp-image-877" title="wordpress-private-content" src="http://shailan.com/wp-content/uploads/wordpress-private-content.png" alt="" /></a>

SAY you want a private blog to post your secrets OR make your blog available for the registered users only. WordPress allows you to create protected (private) posts but if you want full privacy this won't be enough. In this post i will show you how you can easily turn wordpress into a private blog.

<span id="more-874"></span>
<ol>
	<li><h3 id="toc-absolute-privacy"><a href="http://wordpress.org/extend/plugins/absolute-privacy/" rel="lightbox" taget="_blank">Absolute Privacy</a></h3><a href="http://shailan.com/wp-content/uploads/absolute-privacy-options-panel.jpg" rel="lightbox" taget="_blank" title="absolute-privacy-options-panel"><img src="http://shailan.com/wp-content/uploads/absolute-privacy-options-panel-300x265.jpg" alt="" title="absolute-privacy-options-panel" width="300" height="265" class="aligncenter size-medium wp-image-893" /></a>
This plugin allows you to lock down wordpress completely against unregistered views. You can also disable feed views within same plugin. One of the best features that plugin gives option to allow view on certain pages. You need to enter page id's you want to be visible. All other content will be hidden to guest views. </li>
	<li><h3 id="toc-private-wp"><a href="http://wordpress.org/extend/plugins/private-wp/" rel="lightbox" taget="_blank">Private WP</a></h3>
<a href="http://shailan.com/wp-content/uploads/private-wordpress-options-screen.jpg" rel="lightbox[874]" title="private-wordpress-options-screen"><img src="http://shailan.com/wp-content/uploads/private-wordpress-options-screen-300x259.jpg" alt="" title="private-wordpress-options-screen" width="300" height="259" class="aligncenter size-medium wp-image-891" /></a> This plugin disables all content views and redirect users to login screen. It has a simple interface and does just what you expect to.
</li>
	<li><h3 id="toc-private-only"><a href="http://wordpress.org/extend/plugins/private-only/" rel="lightbox" taget="_blank">Private Only</a></h3>
<a href="http://shailan.com/wp-content/uploads/private-only-options-screen.jpg" rel="lightbox" taget="_blank" title="private-only-options-screen"><img src="http://shailan.com/wp-content/uploads/private-only-options-screen-300x265.jpg" alt="" title="private-only-options-screen" width="300" height="265" class="aligncenter size-medium wp-image-892" /></a> This plugin redirect all users to login screen. One great feature is that you can customize the login interface using this plugin. This will make your site more attractive. Not tested in wordpress 3.0 though.

</li>
	<li><h3 id="toc-wp-private"><a href="http://wordpress.org/extend/plugins/wp-private/" rel="lightbox" taget="_blank">WP-Private</a></h3>
<a href="http://shailan.com/wp-content/uploads/WP-Private-premium-content-plugin.jpg" rel="lightbox" taget="_blank" title="WP-Private-premium-content-plugin"><img src="http://shailan.com/wp-content/uploads/WP-Private-premium-content-plugin-234x300.jpg" alt="" title="WP-Private-premium-content-plugin" width="234" height="300" class="aligncenter size-medium wp-image-889" /></a>Wp-Private allows you to hide certain parts of content only. You can use [protected]  &amp; [/protected] shortcode tags to hide your content from guests or regular users. Plugin will display a login form or a text message telling user should register or subscribe. One feature it brings is that not all registered users can view the content. That's why settings page is entitled "Premium Content Manager".
</li>
	<li><h3 id="toc-private-wp-suite"><a href="http://wordpress.org/extend/plugins/private-wp-suite/" rel="lightbox" taget="_blank">Private WP Suite</a></h3>
<a href="http://shailan.com/wp-content/uploads/private-wp-suite.jpg" rel="lightbox" taget="_blank" title="private-wp-suite"><img src="http://shailan.com/wp-content/uploads/private-wp-suite-300x161.jpg" alt="" title="private-wp-suite" width="300" height="161" class="aligncenter size-medium wp-image-890" /></a>
Private WP Suite is as simple as abc. It allows you to lock down your blog, your feeds and even your uploads (Needs .htaccess read/write rights). It also allows you to keep certain ip addresses out of the protection. I don't think this ip feature is really usefull though. I don't recommend using it.
</li>
</ol>

Here i showed you 5 different plugins to lock down your blog and start posting protected. I hope you liked it.

<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2F5-ways-to-hide-your-private-content-in-wordpress%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=874&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/" title="Wordpress pushes the limits with PHP &#038; Mysql">Wordpress pushes the limits with PHP &#038; Mysql</a><br /><small>Mark Jaquith announced that wordpress will no more supp...</small></li><li><a href="http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/" title="Custom Dropdown Menu Using Wordpress 3 Nav Menus">Custom Dropdown Menu Using Wordpress 3 Nav Menus</a><br /><small>Wordpress 3 brought many new great features. One of tho...</small></li><li><a href="http://shailan.com/wordpress-3-0-is-here/" title="Wordpress 3.0 is here!">Wordpress 3.0 is here!</a><br /><small>After a little delay on schedule, here comes one great ...</small></li><li><a href="http://shailan.com/dropdown-menu-widget-update-1-4-0/" title="Dropdown Menu Widget Update: 1.4.0">Dropdown Menu Widget Update: 1.4.0</a><br /><small>

I made two updates to the dropdown menu widget.  He...</small></li><li><a href="http://shailan.com/image-banner-widget-update-it-now-supports-category-selection/" title="image banner widget update, it now supports category selection">image banner widget update, it now supports category selection</a><br /><small>I added category select option to the image banner widg...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/5-ways-to-hide-your-private-content-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropdown Menu Widget Update: 1.4.0</title>
		<link>http://shailan.com/dropdown-menu-widget-update-1-4-0/</link>
		<comments>http://shailan.com/dropdown-menu-widget-update-1-4-0/#comments</comments>
		<pubDate>Thu, 13 May 2010 16:38:01 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[updates]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[1.4.0]]></category>
		<category><![CDATA[3.0]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=823</guid>
		<description><![CDATA[I made two updates to the dropdown menu widget.  Here are the updates: Fix IE display errors. This support is added using jquery. So it &#8230; <a href="http://shailan.com/dropdown-menu-widget-update-1-4-0/">Continue reading <span class="meta-nav">&#8594;</span></a> <p><strong><em>This post is originally posted on <a href="http://shailan.com">Shailan.com</a>. <br />Visit <a href="http://shailan.com">Shailan.com</a> for more..</em></strong></p>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://shailan.com/wp-content/uploads/screenshot-2.png" alt="" width="560" height="200" /></p>
<p>I made two updates to the <a href="http://shailan.com/wordpress/plugins/dropdown-menu/" onclick="return TrackClick('http%3A%2F%2Fshailan.com%2Fwordpress%2Fplugins%2Fdropdown-menu%2F','dropdown+menu+widget')">dropdown menu widget</a>.  Here are the updates: <span id="more-823"></span></p>
<ol>
<li>Fix IE display errors. This support is added using jquery. So it should work with every wordpress installation. Since IE doesn&#8217;t support hover pseudo class for li elements i added a simple javascript to add <span style="color: #0000ff;">.hover</span> class when you mouse over them. I tested it on my site with IE8 and it is working now. Not tested with older IE versions though.</li>
<li>Second update is about wrapping menu items. As you see on my menu items with long text on it like &#8220;Dropdown Menu Widget&#8221; make menu large and some people don&#8217;t like this view. That&#8217;s why i added option for no-wrap. Now you can easily change this wrapping behaviour from your options panel. (Note: This behaviour is limited for certain themes only.)</li>
</ol>
<p>And here is a list of things i want to add to the next versions:</p>
<ol>
<li>Support for <a href="http://codex.wordpress.org/Version_3.0" onclick="return TrackClick('http%3A%2F%2Fcodex.wordpress.org%2FVersion_3.0','Wordpress+3.0')" target="_blank">WordPress 3.0</a> menu &amp; navigation system,</li>
<li>Theme edit screen,</li>
<li>Visual theme selection,</li>
<li>z-index option.</li>
</ol>
<p>You can <a href="http://downloads.wordpress.org/plugin/dropdown-menu-widget.zip" onclick="return TrackClick('http%3A%2F%2Fdownloads.wordpress.org%2Fplugin%2Fdropdown-menu-widget.zip','download+the+latest+version')">download the latest version</a> of the dropdown menu widget here.</p>
<p>That&#8217;s all for now. If you like this plugin please <a href="http://shailan.com/donate/" onclick="return TrackClick('http%3A%2F%2Fshailan.com%2Fdonate%2F','support')">support</a> its development. Thanks!</p>
<p>You may also like my <a href="http://shailan.com/wordpress/plugins/subpages-widget/" onclick="return TrackClick('http%3A%2F%2Fshailan.com%2Fwordpress%2Fplugins%2Fsubpages-widget%2F','Subpages+Plugin+for+wordpress')">Subpages Plugin for wordpress</a>. <a href="http://shailan.com/wordpress/plugins/subpages-widget/" onclick="return TrackClick('http%3A%2F%2Fshailan.com%2Fwordpress%2Fplugins%2Fsubpages-widget%2F','Subpages+Plugin+for+wordpress')">Check it out!</a></p>
 <p><strong><em>This post is originally posted on <a href="http://shailan.com">Shailan.com</a>. <br />Visit <a href="http://shailan.com">Shailan.com</a> for more..</em></strong></p>
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fdropdown-menu-widget-update-1-4-0%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=823&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/" title="Custom Dropdown Menu Using Wordpress 3 Nav Menus">Custom Dropdown Menu Using Wordpress 3 Nav Menus</a><br /><small>Wordpress 3 brought many new great features. One of tho...</small></li><li><a href="http://shailan.com/tutorial-create-your-very-own-dropdown-menu-stylesheet/" title="Tutorial: Create your very own dropdown menu stylesheet">Tutorial: Create your very own dropdown menu stylesheet</a><br /><small>I’ve created a very simple plugin for creating and addi...</small></li><li><a href="http://shailan.com/new-dropdown-theme/" title="New dropdown theme!">New dropdown theme!</a><br /><small>Added a new theme to Dropdown Menu Widget. This new the...</small></li><li><a href="http://shailan.com/wordpress-dropdown-menu-widget/" title="Wordpress dropdown menu widget">Wordpress dropdown menu widget</a><br /><small>

First release of dropdown menu widget is ready. The...</small></li><li><a href="http://shailan.com/dropdown-menu-widget-update-1-5-2/" title="Dropdown Menu Widget Update 1.5.2">Dropdown Menu Widget Update 1.5.2</a><br /><small>

 I updated the dropdown menu widget plugin today. I...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/dropdown-menu-widget-update-1-4-0/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>image banner widget update, it now supports category selection</title>
		<link>http://shailan.com/image-banner-widget-update-it-now-supports-category-selection/</link>
		<comments>http://shailan.com/image-banner-widget-update-it-now-supports-category-selection/#comments</comments>
		<pubDate>Thu, 06 May 2010 14:47:04 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[updates]]></category>
		<category><![CDATA[widgets]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[category text widget]]></category>
		<category><![CDATA[image banner widget]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=808</guid>
		<description><![CDATA[<p align="right"><img width="75" height="100" src="http://shailan.com/wp-content/uploads/image-banner-widget-display-for-75x100.jpg" class="attachment-post-thumbnail wp-post-image" alt="image-banner-widget-display-for" title="image-banner-widget-display-for" /></p><a href="http://shailan.com/wp-content/uploads/image-banner-widget-display-for.jpg"><img class="alignright size-full wp-image-812" title="image-banner-widget-display-for" src="http://shailan.com/wp-content/uploads/image-banner-widget-display-for.jpg" alt="" width="161" height="214" /></a>I added category select option to the <a href="http://shailan.com/wordpress/plugins/image-banner-widget/">image banner widget</a>. Now you can easily display banners <span style="text-decoration: underline;">only for certain categories</span>. While adding the banner to your sidebar or widget area, just select its category from the dropdown. After you save the widget it will display only on the category page you selected. It will appear both on category archive pages and posts pages with same category.

I also updated <a href="http://shailan.com/wordpress/plugins/category-based-text-widget/">category text widget</a> which displays content/html based on the category. Now you can also select All categories. So you won't need normal text widget anymore. You can easily convert your widget to a category specific or general content anytime. You can <a href="http://shailan.com/wordpress/plugins/category-based-text-widget/">download latest version of the category text widget</a> here.

Liked those widgets? Don't forget to <a href="http://shailan.com/wordpress/plugins/">visit my wordpress plugins page</a> for more widgets.]]></description>
			<content:encoded><![CDATA[<p align="right"><img width="75" height="100" src="http://shailan.com/wp-content/uploads/image-banner-widget-display-for-75x100.jpg" class="attachment-post-thumbnail wp-post-image" alt="image-banner-widget-display-for" title="image-banner-widget-display-for" /></p><a href="http://shailan.com/wp-content/uploads/image-banner-widget-display-for.jpg" rel="lightbox[808]" title="image-banner-widget-display-for"><img class="alignright size-full wp-image-812" title="image-banner-widget-display-for" src="http://shailan.com/wp-content/uploads/image-banner-widget-display-for.jpg" alt="" width="161" height="214" /></a>I added category select option to the <a href="http://shailan.com/wordpress/plugins/image-banner-widget/">image banner widget</a>. Now you can easily display banners <span style="text-decoration: underline;">only for certain categories</span>. While adding the banner to your sidebar or widget area, just select its category from the dropdown. After you save the widget it will display only on the category page you selected. It will appear both on category archive pages and posts pages with same category.

I also updated <a href="http://shailan.com/wordpress/plugins/category-based-text-widget/">category text widget</a> which displays content/html based on the category. Now you can also select All categories. So you won't need normal text widget anymore. You can easily convert your widget to a category specific or general content anytime. You can <a href="http://shailan.com/wordpress/plugins/category-based-text-widget/">download latest version of the category text widget</a> here.

Liked those widgets? Don't forget to <a href="http://shailan.com/wordpress/plugins/">visit my wordpress plugins page</a> for more widgets.
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fimage-banner-widget-update-it-now-supports-category-selection%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=808&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/custom-dropdown-menu-using-wordpress-3-nav-menus/" title="Custom Dropdown Menu Using Wordpress 3 Nav Menus">Custom Dropdown Menu Using Wordpress 3 Nav Menus</a><br /><small>Wordpress 3 brought many new great features. One of tho...</small></li><li><a href="http://shailan.com/dropdown-menu-widget-update-1-4-0/" title="Dropdown Menu Widget Update: 1.4.0">Dropdown Menu Widget Update: 1.4.0</a><br /><small>

I made two updates to the dropdown menu widget.  He...</small></li><li><a href="http://shailan.com/get-your-countdown-widget-now/" title="Get your countdown widget now!">Get your countdown widget now!</a><br /><small>
Late for the new year maybe, but i created a flash [t...</small></li><li><a href="http://shailan.com/new-plugin-subpages/" title="New plugin! Subpages">New plugin! Subpages</a><br /><small>Subpages widget [tag]plugin[/tag] is available for down...</small></li><li><a href="http://shailan.com/the-way-to-use-a-widget-whereever-you-like/" title="The way to use a widget whereever you like">The way to use a widget whereever you like</a><br /><small>Since 2.8, Wordpress allows us to use widgets in our te...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/image-banner-widget-update-it-now-supports-category-selection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>how to change post thumbnail crop position in wordpress</title>
		<link>http://shailan.com/how-to-change-post-thumbnail-crop-position-in-wordpress/</link>
		<comments>http://shailan.com/how-to-change-post-thumbnail-crop-position-in-wordpress/#comments</comments>
		<pubDate>Wed, 05 May 2010 08:58:46 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[tips & tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[cropping]]></category>
		<category><![CDATA[featured image]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[post thumbnail]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=781</guid>
		<description><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/wp-thumb-crop-position.jpg" class="attachment-post-thumbnail wp-post-image" alt="wp-thumb-crop-position" title="wp-thumb-crop-position" /></p><a href="http://shailan.com/wp-content/uploads/post-thumbnail-crop-position.jpg"><img src="http://shailan.com/wp-content/uploads/post-thumbnail-crop-position.jpg" alt="" title="post-thumbnail-crop-position" width="560" height="375" class="aligncenter size-full wp-image-797" /></a>
I get many complaints about wordpress thumbnail (aka post featured image in wordpress 3) crop position lately. Many of my clients tell that they need top part of the image as thumbnail rather than the useless middle part. That's why i dived into the core and got the solution for cropping top part of the thumbnails. 

Here i will show you how to change crop behaviour of wordpress. 
<span id="more-781"></span>

Cropping function is called image_resize and it is located in <code>media.php</code>. 

<strong>Step1.</strong> Open <code>media.php</code> file under <code>wp-includes</code> folder.
<strong>Step2.</strong> Find the function named "image_resize_dimensions" (Around line 309). Unfortunately this function is not pluggable and doesn't use any hooks so we will edit it directly. Find the lines: 
[php]$s_x = floor( ($orig_w - $crop_w) / 2 );
$s_y = floor( ($orig_h - $crop_h) / 2 );[/php]
<strong>Step3.</strong> Those two variables define the start point of crop that will be used. Here is a sample image that will be cropped with those variables shown:
<a href="http://shailan.com/wp-content/uploads/wordpress-thumbnail-cropping1.jpg"><img src="http://shailan.com/wp-content/uploads/wordpress-thumbnail-cropping1.jpg" alt="" title="wordpress-thumbnail-cropping" width="560" height="375" class="aligncenter size-full wp-image-791" /></a>
<strong>Step4.</strong> If you want top of part of the image as post featured image then $s_y value must remain zero. So we change that line to:
		[php]$s_y = 0; //floor( ($orig_h - $crop_h) / 2 );[/php]
<strong>Step5.</strong> Save the file and upload it to <code>wp-includes</code> folder.

<strong>Last Step.</strong> A post image is cropped at the first time it is uploaded. To update thumbnails you need this great plugin called <a href="http://wordpress.org/extend/plugins/regenerate-thumbnails/">Regenerate Thumbnails</a>. This plugin takes post thumbnails and crops them again using your latest media settings. After you install it click on the "Regenerate All Thumbnails" button under tools. It will automatically crop all the post thumbnails again. This will take a minute or two depending on your server and number of posts you have. After the regeneration is complete all your thumbnails will be cropped from top.

You can download the modified media.php for wordpress 2.9.2 here: <a href='http://shailan.com/wp-content/uploads/media.zip'>media.php</a>



]]></description>
			<content:encoded><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/wp-thumb-crop-position.jpg" class="attachment-post-thumbnail wp-post-image" alt="wp-thumb-crop-position" title="wp-thumb-crop-position" /></p><a href="http://shailan.com/wp-content/uploads/post-thumbnail-crop-position.jpg" rel="lightbox[781]" title="post-thumbnail-crop-position"><img src="http://shailan.com/wp-content/uploads/post-thumbnail-crop-position.jpg" alt="" title="post-thumbnail-crop-position" width="560" height="375" class="aligncenter size-full wp-image-797" /></a>
I get many complaints about wordpress thumbnail (aka post featured image in wordpress 3) crop position lately. Many of my clients tell that they need top part of the image as thumbnail rather than the useless middle part. That's why i dived into the core and got the solution for cropping top part of the thumbnails. 

Here i will show you how to change crop behaviour of wordpress. 
<span id="more-781"></span>

Cropping function is called image_resize and it is located in <code>media.php</code>. 

<strong>Step1.</strong> Open <code>media.php</code> file under <code>wp-includes</code> folder.
<strong>Step2.</strong> Find the function named "image_resize_dimensions" (Around line 309). Unfortunately this function is not pluggable and doesn't use any hooks so we will edit it directly. Find the lines: 
[php]$s_x = floor( ($orig_w - $crop_w) / 2 );
$s_y = floor( ($orig_h - $crop_h) / 2 );[/php]
<strong>Step3.</strong> Those two variables define the start point of crop that will be used. Here is a sample image that will be cropped with those variables shown:
<a href="http://shailan.com/wp-content/uploads/wordpress-thumbnail-cropping1.jpg" rel="lightbox[781]" title="wordpress-thumbnail-cropping"><img src="http://shailan.com/wp-content/uploads/wordpress-thumbnail-cropping1.jpg" alt="" title="wordpress-thumbnail-cropping" width="560" height="375" class="aligncenter size-full wp-image-791" /></a>
<strong>Step4.</strong> If you want top of part of the image as post featured image then $s_y value must remain zero. So we change that line to:
		[php]$s_y = 0; //floor( ($orig_h - $crop_h) / 2 );[/php]
<strong>Step5.</strong> Save the file and upload it to <code>wp-includes</code> folder.

<strong>Last Step.</strong> A post image is cropped at the first time it is uploaded. To update thumbnails you need this great plugin called <a href="http://wordpress.org/extend/plugins/regenerate-thumbnails/">Regenerate Thumbnails</a>. This plugin takes post thumbnails and crops them again using your latest media settings. After you install it click on the "Regenerate All Thumbnails" button under tools. It will automatically crop all the post thumbnails again. This will take a minute or two depending on your server and number of posts you have. After the regeneration is complete all your thumbnails will be cropped from top.

You can download the modified media.php for wordpress 2.9.2 here: <a href='http://shailan.com/wp-content/uploads/media.zip'>media.php</a>




<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fhow-to-change-post-thumbnail-crop-position-in-wordpress%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=781&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/adding-nofollow-option-to-wordpress-add-link-page/" title="adding “nofollow” option to wordpress add link page">adding “nofollow” option to wordpress add link page</a><br /><small>

With default wordpress add link page you are not al...</small></li><li><a href="http://shailan.com/displaying-correct-post-thumbnail-on-facebook-share/" title="Displaying correct post thumbnail on facebook share">Displaying correct post thumbnail on facebook share</a><br /><small>

Facebook share allows you to define certain portion...</small></li><li><a href="http://shailan.com/how-to-widgetize-your-theme-in-3-simple-steps/" title="how to widgetize your theme in 3 simple steps!">how to widgetize your theme in 3 simple steps!</a><br /><small>Widgets are certainly one of the best features in wordp...</small></li><li><a href="http://shailan.com/the-way-to-use-a-widget-whereever-you-like/" title="The way to use a widget whereever you like">The way to use a widget whereever you like</a><br /><small>Since 2.8, Wordpress allows us to use widgets in our te...</small></li><li><a href="http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/" title="Wordpress pushes the limits with PHP &#038; Mysql">Wordpress pushes the limits with PHP &#038; Mysql</a><br /><small>Mark Jaquith announced that wordpress will no more supp...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/how-to-change-post-thumbnail-crop-position-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>adding “nofollow” option to wordpress add link page</title>
		<link>http://shailan.com/adding-nofollow-option-to-wordpress-add-link-page/</link>
		<comments>http://shailan.com/adding-nofollow-option-to-wordpress-add-link-page/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 22:18:42 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[tips & tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[nofollow]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=764</guid>
		<description><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/wp-add-link-nofollow-fix.jpg" class="attachment-post-thumbnail wp-post-image" alt="wp-add-link-nofollow-fix" title="wp-add-link-nofollow-fix" /></p><a href="http://shailan.com/wp-content/uploads/wordpress-nofollow-option.jpg"><img class="aligncenter size-full wp-image-766" title="wordpress-nofollow-option" src="http://shailan.com/wp-content/uploads/wordpress-nofollow-option.jpg" alt="" width="90%" /></a>

With default wordpress add link page you are not allowed to type into the rel input box. Since nofollow is popular now one of my clients requested this option to be added to the add link feature. Add link form is generated by <em>edit-link-form.php</em> under wordpress admin folder. XFN metabox is generated from meta-boxes.php file though. So this is the file we are going to edit. 

Here is how to add nofollow option to wordpress add link page:
<span id="more-764"></span>
1. Open  /wp-admin/includes/meta-boxes.php.

2. Find the function link_xfn_meta_box and find following lines:
[php]&lt;tr&gt;
	&lt;th scope=&quot;row&quot;&gt; &lt;?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?&gt; [/php]
3.Right before the &lt;tr&gt; tag insert the following code:
[php]&lt;tr&gt; 
	&lt;th scope=&quot;row&quot;&gt; nofollow &lt;/th&gt; 
	&lt;td&gt; 
		&lt;label for=&quot;nofo&quot;&gt; 
		&lt;input class=&quot;valinp&quot; type=&quot;checkbox&quot; name=&quot;nofo&quot; value=&quot;nofollow&quot; id=&quot;nofo&quot; &lt;?php xfn_check('nofo', 'nofollow'); ?&gt; /&gt; 
		nofollow&lt;/label&gt; 
	&lt;/td&gt; 
&lt;/tr&gt; [/php]
This will add "nofollow" option to add link options. 
4. Save and upload the file to the same folder.
5. And you are done. Now you can add nofollow rel tag to your links from wordpress add link page. ]]></description>
			<content:encoded><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/wp-add-link-nofollow-fix.jpg" class="attachment-post-thumbnail wp-post-image" alt="wp-add-link-nofollow-fix" title="wp-add-link-nofollow-fix" /></p><a href="http://shailan.com/wp-content/uploads/wordpress-nofollow-option.jpg" rel="lightbox[764]" title="wordpress-nofollow-option"><img class="aligncenter size-full wp-image-766" title="wordpress-nofollow-option" src="http://shailan.com/wp-content/uploads/wordpress-nofollow-option.jpg" alt="" width="90%" /></a>

With default wordpress add link page you are not allowed to type into the rel input box. Since nofollow is popular now one of my clients requested this option to be added to the add link feature. Add link form is generated by <em>edit-link-form.php</em> under wordpress admin folder. XFN metabox is generated from meta-boxes.php file though. So this is the file we are going to edit. 

Here is how to add nofollow option to wordpress add link page:
<span id="more-764"></span>
1. Open  /wp-admin/includes/meta-boxes.php.

2. Find the function link_xfn_meta_box and find following lines:
[php]&lt;tr&gt;
	&lt;th scope=&quot;row&quot;&gt; &lt;?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?&gt; [/php]
3.Right before the &lt;tr&gt; tag insert the following code:
[php]&lt;tr&gt; 
	&lt;th scope=&quot;row&quot;&gt; nofollow &lt;/th&gt; 
	&lt;td&gt; 
		&lt;label for=&quot;nofo&quot;&gt; 
		&lt;input class=&quot;valinp&quot; type=&quot;checkbox&quot; name=&quot;nofo&quot; value=&quot;nofollow&quot; id=&quot;nofo&quot; &lt;?php xfn_check('nofo', 'nofollow'); ?&gt; /&gt; 
		nofollow&lt;/label&gt; 
	&lt;/td&gt; 
&lt;/tr&gt; [/php]
This will add "nofollow" option to add link options. 
4. Save and upload the file to the same folder.
5. And you are done. Now you can add nofollow rel tag to your links from wordpress add link page. 
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fadding-nofollow-option-to-wordpress-add-link-page%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=764&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/how-to-change-post-thumbnail-crop-position-in-wordpress/" title="how to change post thumbnail crop position in wordpress">how to change post thumbnail crop position in wordpress</a><br /><small>I get many complaints about wp thumbnail crop position ...</small></li><li><a href="http://shailan.com/how-to-widgetize-your-theme-in-3-simple-steps/" title="how to widgetize your theme in 3 simple steps!">how to widgetize your theme in 3 simple steps!</a><br /><small>Widgets are certainly one of the best features in wordp...</small></li><li><a href="http://shailan.com/displaying-correct-post-thumbnail-on-facebook-share/" title="Displaying correct post thumbnail on facebook share">Displaying correct post thumbnail on facebook share</a><br /><small>

Facebook share allows you to define certain portion...</small></li><li><a href="http://shailan.com/the-way-to-use-a-widget-whereever-you-like/" title="The way to use a widget whereever you like">The way to use a widget whereever you like</a><br /><small>Since 2.8, Wordpress allows us to use widgets in our te...</small></li><li><a href="http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/" title="Wordpress pushes the limits with PHP &#038; Mysql">Wordpress pushes the limits with PHP &#038; Mysql</a><br /><small>Mark Jaquith announced that wordpress will no more supp...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/adding-nofollow-option-to-wordpress-add-link-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to widgetize your theme in 3 simple steps!</title>
		<link>http://shailan.com/how-to-widgetize-your-theme-in-3-simple-steps/</link>
		<comments>http://shailan.com/how-to-widgetize-your-theme-in-3-simple-steps/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 14:55:10 +0000</pubDate>
		<dc:creator><a href="http://twitter.com/mattsay" title="" rel="external">Matt Say</a></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[tips & tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[add widget]]></category>
		<category><![CDATA[all-widget themes]]></category>
		<category><![CDATA[user navigation]]></category>
		<category><![CDATA[widgetize]]></category>
		<category><![CDATA[wordpress 3.0]]></category>
		<category><![CDATA[Wordpress Widgets]]></category>

		<guid isPermaLink="false">http://shailan.com/?p=727</guid>
		<description><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/widgetize-your-wp-theme.jpg" class="attachment-post-thumbnail wp-post-image" alt="widgetize-your-wp-theme" title="widgetize-your-wp-theme" /></p>Widgets are certainly one of the best features in wordpress. It is all customizable and it is so easy to use. It all started with vertical sidebars but i believe all-widget themes will be so popular with the release of wordpress 3.0 which brings user navigation menus to the wordpress widgets.

Here i will show you how to add a horizontal widget area to your theme header so that you can easily put your navigation menu, ad banners and all kind of text/html/javascripts. Before starting i advice you to <a href="http://sourceforge.net/projects/notepad-plus/files/">get a copy of notepad++</a> since it makes codes more understandable with coloring.

<span id="more-727"></span>

Here is a list of things to do:
<ol>
	<li>Define widget area</li>
	<li>Put the widget area code in your header</li>
	<li>Styling the widget area</li>
	<li>Adding widgets to your header</li>
</ol>
<h3 id="toc-1-defining-the-widget-area">1. Defining the widget area:</h3>
<ol>
	<li>Open functions.php file in your theme folder. And make a search for "register_sidebar" in your file. This is generally where we register our widget areas to wordpress.</li>
	<li>Copy &amp; Paste the following code to the appropriate blank space ( For example after: register_sidebar(array( ....  )); )
[php]register_sidebar(array(
	'id' =&gt; 'header-widgets',
	'name' =&gt; 'Header widgets',
	'description' =&gt; 'Widget area below the header',
	'before_widget'	=&gt; '&lt;div id=&quot;%1$s&quot;&gt;',
	'after_widget' =&gt; '&lt;/div&gt;',
	'before_title' =&gt; '&lt;h4&gt;',
	'after_title' =&gt; '&lt;/h4&gt;'
));[/php]

Note that id value for widget area must be unique.</li>
	<li>And now our widget is registered, save the file and close it.</li>
</ol>
<div>You can install a new theme using zip files without messing with FTP. Simply save your files and when you are finished editing you can zip them and upload it through wordpress admin panel (Appearance -&gt; Add New Themes -&gt; Upload). Remember to delete old theme before uploading the new one.</div>
<h3 id="toc-2-put-the-widget-area-code-in-your-header">2. Put the widget area code in your header:</h3>
<ol>
	<li>Open header.php in your theme folder.</li>
	<li>Copy &amp; Paste the following code where you want your widget area to appear.
[php]
&lt;div id=&quot;header-widgets&quot;&gt;
	&lt;?php dynamic_sidebar('header-widgets'); ?&gt;
&lt;/div&gt;
[/php]

It will be generally after site description. Be sure your code is inside &lt;div id="header"&gt;...&lt;/div&gt; tags.</li>
	<li>Save the file and close it.</li>
</ol>
<h3 id="toc-3-styling-the-widget-area">3. Styling the widget area:</h3>
<ol>
	<li>Open your styles.css file. A blank styling template should be like that:[css].sidebar{/* styles that apply to all sidebar class elements*/ }
#header-widgets {/* styles that apply to header-widgets layer */ }
#header-widgets .widget{/*styles that apply to all widgets under this widget area*/}
#header-widgets .widgettitle{/*widget headings*/} [/css]

If you are fond of css you can fill in this template and append it to the end of file.</li>
	<li>First thing we do is hiding widget headings. We won't use widget headings in this widget area:[css]#header-widgets .widgettitle{ display:none !important;  } [/css]</li>
	<li>We should also remove margin and padding for widget container so that widgets will fit better:[css]#header-widgets {padding:0px; margin:0px; }[/css]</li>
	<li>Let's say you want a little margin between widgets:[css]#header-widgets .widget{ margin-bottom:10px; }[/css]</li>
	<li>This will be enough styling for a simple widget area. If you want widget specific styling, you can enter it below your styling file like this:[css]#header-widgets .widget_text{ text-align:center; } [/css]</li>
	<li>Here is the final code:[css]#header-widgets {padding:0px; margin:0px; }
#header-widgets .widget{ margin-bottom:10px; }
#header-widgets .widgettitle{ display:none !important;  }
#header-widgets .widget_text{ text-align:center; }[/css]</li>
</ol>
<h3 id="toc-4-adding-widgets-to-your-header">4. Adding widgets to your header:</h3>
<ol>
	<li>First save and upload your files to your theme directory. Remember to overwrite your old files for your changes to appear.</li>
	<li>Now if you visit Appearance -&gt; Widgets panel you will see our new widget area called "Header Widgets".</li>
	<li>You can add as many widgets as you like they will all appear in your header.</li>
	<li>Check your site about the appearance and go on playing with css codes until you are happy with it.</li>
</ol>
And we are all done. I have some pre-made all widget wordpress themes. You can use them as you like:

[subpages childof="312" depth="1" exceptme="true"]

If you are looking for widgets to use in your widget area here are some of my widgets &amp; plugins:

[subpages childof="295" depth="1" exceptme="true"]

I hope you find this tutorial useful.

If you are looking for a wordpress expert <a href="http://shailan.com/hire-me">I am currently available</a> for freelance projects.

<a href="http://shailan.com/hire-me/">Contact me for a quote</a>, it is always free!]]></description>
			<content:encoded><![CDATA[<p align="right"><img width="200" height="200" src="http://shailan.com/wp-content/uploads/widgetize-your-wp-theme.jpg" class="attachment-post-thumbnail wp-post-image" alt="widgetize-your-wp-theme" title="widgetize-your-wp-theme" /></p>Widgets are certainly one of the best features in wordpress. It is all customizable and it is so easy to use. It all started with vertical sidebars but i believe all-widget themes will be so popular with the release of wordpress 3.0 which brings user navigation menus to the wordpress widgets.

Here i will show you how to add a horizontal widget area to your theme header so that you can easily put your navigation menu, ad banners and all kind of text/html/javascripts. Before starting i advice you to <a href="http://sourceforge.net/projects/notepad-plus/files/">get a copy of notepad++</a> since it makes codes more understandable with coloring.

<span id="more-727"></span>

Here is a list of things to do:
<ol>
	<li>Define widget area</li>
	<li>Put the widget area code in your header</li>
	<li>Styling the widget area</li>
	<li>Adding widgets to your header</li>
</ol>
<h3 id="toc-1-defining-the-widget-area">1. Defining the widget area:</h3>
<ol>
	<li>Open functions.php file in your theme folder. And make a search for "register_sidebar" in your file. This is generally where we register our widget areas to wordpress.</li>
	<li>Copy &amp; Paste the following code to the appropriate blank space ( For example after: register_sidebar(array( ....  )); )
[php]register_sidebar(array(
	'id' =&gt; 'header-widgets',
	'name' =&gt; 'Header widgets',
	'description' =&gt; 'Widget area below the header',
	'before_widget'	=&gt; '&lt;div id=&quot;%1$s&quot;&gt;',
	'after_widget' =&gt; '&lt;/div&gt;',
	'before_title' =&gt; '&lt;h4&gt;',
	'after_title' =&gt; '&lt;/h4&gt;'
));[/php]

Note that id value for widget area must be unique.</li>
	<li>And now our widget is registered, save the file and close it.</li>
</ol>
<div>You can install a new theme using zip files without messing with FTP. Simply save your files and when you are finished editing you can zip them and upload it through wordpress admin panel (Appearance -&gt; Add New Themes -&gt; Upload). Remember to delete old theme before uploading the new one.</div>
<h3 id="toc-2-put-the-widget-area-code-in-your-header">2. Put the widget area code in your header:</h3>
<ol>
	<li>Open header.php in your theme folder.</li>
	<li>Copy &amp; Paste the following code where you want your widget area to appear.
[php]
&lt;div id=&quot;header-widgets&quot;&gt;
	&lt;?php dynamic_sidebar('header-widgets'); ?&gt;
&lt;/div&gt;
[/php]

It will be generally after site description. Be sure your code is inside &lt;div id="header"&gt;...&lt;/div&gt; tags.</li>
	<li>Save the file and close it.</li>
</ol>
<h3 id="toc-3-styling-the-widget-area">3. Styling the widget area:</h3>
<ol>
	<li>Open your styles.css file. A blank styling template should be like that:[css].sidebar{/* styles that apply to all sidebar class elements*/ }
#header-widgets {/* styles that apply to header-widgets layer */ }
#header-widgets .widget{/*styles that apply to all widgets under this widget area*/}
#header-widgets .widgettitle{/*widget headings*/} [/css]

If you are fond of css you can fill in this template and append it to the end of file.</li>
	<li>First thing we do is hiding widget headings. We won't use widget headings in this widget area:[css]#header-widgets .widgettitle{ display:none !important;  } [/css]</li>
	<li>We should also remove margin and padding for widget container so that widgets will fit better:[css]#header-widgets {padding:0px; margin:0px; }[/css]</li>
	<li>Let's say you want a little margin between widgets:[css]#header-widgets .widget{ margin-bottom:10px; }[/css]</li>
	<li>This will be enough styling for a simple widget area. If you want widget specific styling, you can enter it below your styling file like this:[css]#header-widgets .widget_text{ text-align:center; } [/css]</li>
	<li>Here is the final code:[css]#header-widgets {padding:0px; margin:0px; }
#header-widgets .widget{ margin-bottom:10px; }
#header-widgets .widgettitle{ display:none !important;  }
#header-widgets .widget_text{ text-align:center; }[/css]</li>
</ol>
<h3 id="toc-4-adding-widgets-to-your-header">4. Adding widgets to your header:</h3>
<ol>
	<li>First save and upload your files to your theme directory. Remember to overwrite your old files for your changes to appear.</li>
	<li>Now if you visit Appearance -&gt; Widgets panel you will see our new widget area called "Header Widgets".</li>
	<li>You can add as many widgets as you like they will all appear in your header.</li>
	<li>Check your site about the appearance and go on playing with css codes until you are happy with it.</li>
</ol>
And we are all done. I have some pre-made all widget wordpress themes. You can use them as you like:

<div id="shailan-subpages-<?php echo $this->number; ?>"><ul class="subpages"><li class="page_item page-item-376"><a href="http://shailan.com/wordpress/themes/all-widget-default-theme/" title="All-Widget Default">All-Widget Default</a></li>
<li class="page_item page-item-443"><a href="http://shailan.com/wordpress/themes/marketplace/" title="Marketplace">Marketplace</a></li>
<li class="page_item page-item-561"><a href="http://shailan.com/wordpress/themes/all-widget-aqua/" title="All-Widget Aqua">All-Widget Aqua</a></li>
<li class="page_item page-item-713"><a href="http://shailan.com/wordpress/themes/m2-theme/" title="M2 Theme">M2 Theme</a></li>
<li class="page_item page-item-847"><a href="http://shailan.com/wordpress/themes/widgetbox/" title="WidgetBox">WidgetBox</a></li>
</ul></div>

If you are looking for widgets to use in your widget area here are some of my widgets &amp; plugins:

<div id="shailan-subpages-<?php echo $this->number; ?>"><ul class="subpages"><li class="page_item page-item-297"><a href="http://shailan.com/wordpress/plugins/dropdown-menu/" title="Dropdown Menu Widget">Dropdown Menu Widget</a></li>
<li class="page_item page-item-401"><a href="http://shailan.com/wordpress/plugins/subpages-widget/" title="Subpages Extended Widget">Subpages Extended Widget</a></li>
<li class="page_item page-item-459"><a href="http://shailan.com/wordpress/plugins/category-based-text-widget/" title="Category based Text Widget">Category based Text Widget</a></li>
<li class="page_item page-item-549"><a href="http://shailan.com/wordpress/plugins/countdown/" title="WordPress Countdown Widget">WordPress Countdown Widget</a></li>
<li class="page_item page-item-715"><a href="http://shailan.com/wordpress/plugins/image-banner-widget/" title="Image Banner Widget">Image Banner Widget</a></li>
<li class="page_item page-item-774"><a href="http://shailan.com/wordpress/plugins/dropdown-multi-widget/" title="Dropdown Multi Widget">Dropdown Multi Widget</a></li>
<li class="page_item page-item-853"><a href="http://shailan.com/wordpress/plugins/superfish-dropdown-menu/" title="Superfish Dropdown Menu for wordpress">Superfish Dropdown Menu for wordpress</a></li>
<li class="page_item page-item-687"><a href="http://shailan.com/wordpress/plugins/facebook-meta-tags-plugin/" title="Facebook Meta Tags Plugin">Facebook Meta Tags Plugin</a></li>
</ul></div>

I hope you find this tutorial useful.

If you are looking for a wordpress expert <a href="http://shailan.com/hire-me">I am currently available</a> for freelance projects.

<a href="http://shailan.com/hire-me/">Contact me for a quote</a>, it is always free!
<p class="FacebookLikeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fshailan.com%2Fhow-to-widgetize-your-theme-in-3-simple-steps%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;locale=en_US" scrolling="no" frameborder="0" allowtransparency="true" style="border:none; overflow:hidden; width:450px; height: 25px"></iframe></p>
<img src="http://shailan.com/?ak_action=api_record_view&id=727&type=feed" alt="" /><!-- PHP 5.x --><h2  class="related_post_title">related posts you may like:</h2><ul class="related_post"><li><a href="http://shailan.com/how-to-change-post-thumbnail-crop-position-in-wordpress/" title="how to change post thumbnail crop position in wordpress">how to change post thumbnail crop position in wordpress</a><br /><small>I get many complaints about wp thumbnail crop position ...</small></li><li><a href="http://shailan.com/adding-nofollow-option-to-wordpress-add-link-page/" title="adding “nofollow” option to wordpress add link page">adding “nofollow” option to wordpress add link page</a><br /><small>

With default wordpress add link page you are not al...</small></li><li><a href="http://shailan.com/displaying-correct-post-thumbnail-on-facebook-share/" title="Displaying correct post thumbnail on facebook share">Displaying correct post thumbnail on facebook share</a><br /><small>

Facebook share allows you to define certain portion...</small></li><li><a href="http://shailan.com/the-way-to-use-a-widget-whereever-you-like/" title="The way to use a widget whereever you like">The way to use a widget whereever you like</a><br /><small>Since 2.8, Wordpress allows us to use widgets in our te...</small></li><li><a href="http://shailan.com/wordpress-push-the-limits-up-with-php-mysql/" title="Wordpress pushes the limits with PHP &#038; Mysql">Wordpress pushes the limits with PHP &#038; Mysql</a><br /><small>Mark Jaquith announced that wordpress will no more supp...</small></li></ul>]]></content:encoded>
			<wfw:commentRss>http://shailan.com/how-to-widgetize-your-theme-in-3-simple-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
