<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Ehsanul Haque</title>
	<atom:link href="http://ehsanis.me/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://ehsanis.me</link>
	<description>Welcome to My Personal Site &#38; Blog</description>
	<lastBuildDate>Wed, 14 Mar 2012 14:37:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on WordPress wp_nav_menu to Exclude Page(s) by Ehsan</title>
		<link>http://ehsanis.me/2010/11/30/wordpress-wp_nav_menu-to-exclude-pages/comment-page-1/#comment-1443</link>
		<dc:creator>Ehsan</dc:creator>
		<pubDate>Wed, 14 Mar 2012 14:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=431#comment-1443</guid>
		<description>Jacob, thanks for your comment. I believe 3.3.1 or from an earlier version WP added that. When I worked on it and created this &quot;hack&quot; I went through their documentation and couldn&#039;t find the exclude option, therefore, I had to do this. Moreover, I know the way I&#039;ve done it was wrong because of the reason you mentioned, upgrade will break it. But once I started working on WP more I realised there are other ways you can do it, add action, add hook etc are the ways to deal with your customized function behaviour. 

As developer/programmer we do/create lot of works/hacks which becomes obsolete in future. Not sure if it was my hack which inspired WP to add the &quot;exclude&quot; option or not but it is good to see the option is there by default now.</description>
		<content:encoded><![CDATA[<p>Jacob, thanks for your comment. I believe 3.3.1 or from an earlier version WP added that. When I worked on it and created this &#8220;hack&#8221; I went through their documentation and couldn&#8217;t find the exclude option, therefore, I had to do this. Moreover, I know the way I&#8217;ve done it was wrong because of the reason you mentioned, upgrade will break it. But once I started working on WP more I realised there are other ways you can do it, add action, add hook etc are the ways to deal with your customized function behaviour. </p>
<p>As developer/programmer we do/create lot of works/hacks which becomes obsolete in future. Not sure if it was my hack which inspired WP to add the &#8220;exclude&#8221; option or not but it is good to see the option is there by default now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress wp_nav_menu to Exclude Page(s) by jacob</title>
		<link>http://ehsanis.me/2010/11/30/wordpress-wp_nav_menu-to-exclude-pages/comment-page-1/#comment-1435</link>
		<dc:creator>jacob</dc:creator>
		<pubDate>Sun, 11 Mar 2012 14:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=431#comment-1435</guid>
		<description>Many thanks for your post it was a great help. One thing to mention 
is that you have executed a lot of additional work. 

In the wp_nav_menu() function it checks for any applied menus, if you 
did not create a menu it will use a user_callback. 

The default is ‘wp_page_menu’ the callback also uses the $args variable to 
pass to the wp_page_menu() function of which it accepts the exclude variable. 

So to cut a long story short there is no need to hack anything (hacking is a pretty
bad idea as after an upgrade is completed things tend to stop working) just 
add an exclude option to your wp_nav_menu() statement and that’s it done.

(note the information expressed above is based on the use of Wordpress 3.31)</description>
		<content:encoded><![CDATA[<p>Many thanks for your post it was a great help. One thing to mention<br />
is that you have executed a lot of additional work. </p>
<p>In the wp_nav_menu() function it checks for any applied menus, if you<br />
did not create a menu it will use a user_callback. </p>
<p>The default is ‘wp_page_menu’ the callback also uses the $args variable to<br />
pass to the wp_page_menu() function of which it accepts the exclude variable. </p>
<p>So to cut a long story short there is no need to hack anything (hacking is a pretty<br />
bad idea as after an upgrade is completed things tend to stop working) just<br />
add an exclude option to your wp_nav_menu() statement and that’s it done.</p>
<p>(note the information expressed above is based on the use of WordPress 3.31)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress wp_nav_menu to Exclude Page(s) by andrew</title>
		<link>http://ehsanis.me/2010/11/30/wordpress-wp_nav_menu-to-exclude-pages/comment-page-1/#comment-1434</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Fri, 09 Mar 2012 04:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=431#comment-1434</guid>
		<description>wp_nav_menu( array(&#039;container&#039; =&gt; &#039;div&#039;, &#039;container_class&#039; =&gt; &#039;menu-wrapper&#039;, &#039;container_id&#039; =&gt; &#039;main-superfish-wrapper&#039;, &#039;menu_class&#039;=&gt; &#039;sf-menu&#039;,  &#039;theme_location&#039; =&gt; &#039;secondary&#039;, &#039;exclude&#039; =&gt; &#039;831,1216,100&#039;) ); is not working
					 ?&gt;

but how do i create theme location ? 
how do define theme_location ? 
as i was create a new menu call logout-menu is that can be theme_location</description>
		<content:encoded><![CDATA[<p>wp_nav_menu( array(&#8216;container&#8217; =&gt; &#8216;div&#8217;, &#8216;container_class&#8217; =&gt; &#8216;menu-wrapper&#8217;, &#8216;container_id&#8217; =&gt; &#8216;main-superfish-wrapper&#8217;, &#8216;menu_class&#8217;=&gt; &#8216;sf-menu&#8217;,  &#8216;theme_location&#8217; =&gt; &#8216;secondary&#8217;, &#8216;exclude&#8217; =&gt; &#8217;831,1216,100&#8242;) ); is not working<br />
					 ?&gt;</p>
<p>but how do i create theme location ?<br />
how do define theme_location ?<br />
as i was create a new menu call logout-menu is that can be theme_location</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress Plugin: Recently Updated Pages by d</title>
		<link>http://ehsanis.me/2009/09/16/wordpress-plugin-recently-updated-pages/comment-page-1/#comment-1432</link>
		<dc:creator>d</dc:creator>
		<pubDate>Wed, 07 Mar 2012 20:11:01 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=280#comment-1432</guid>
		<description>I am looking for a plugin that will allow me to display the page update information where I want, not at a forced predetermined location.

Will your plugin allow this?</description>
		<content:encoded><![CDATA[<p>I am looking for a plugin that will allow me to display the page update information where I want, not at a forced predetermined location.</p>
<p>Will your plugin allow this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress wp_nav_menu to Exclude Page(s) by WebDesignGuide</title>
		<link>http://ehsanis.me/2010/11/30/wordpress-wp_nav_menu-to-exclude-pages/comment-page-1/#comment-1428</link>
		<dc:creator>WebDesignGuide</dc:creator>
		<pubDate>Sat, 03 Mar 2012 11:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=431#comment-1428</guid>
		<description>Thanks for the step by step guide. One question though How can I erase extra links that are showing on top navigation (every time I create a new page through dashboard) from my wordpress twenty 10 theme</description>
		<content:encoded><![CDATA[<p>Thanks for the step by step guide. One question though How can I erase extra links that are showing on top navigation (every time I create a new page through dashboard) from my wordpress twenty 10 theme</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Import Contacts from iPhone to an Android Phone by Ripon</title>
		<link>http://ehsanis.me/2011/10/17/how-to-import-contacts-from-iphone-to-an-android-phone/comment-page-1/#comment-1389</link>
		<dc:creator>Ripon</dc:creator>
		<pubDate>Tue, 13 Dec 2011 14:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://ehsanis.me/?p=535#comment-1389</guid>
		<description>thx</description>
		<content:encoded><![CDATA[<p>thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on My first attempt to draw with Tablet Pen by Ripon</title>
		<link>http://ehsanis.me/2009/01/29/my-first-attempt-to-draw-with-tablet-pen/comment-page-1/#comment-1381</link>
		<dc:creator>Ripon</dc:creator>
		<pubDate>Thu, 01 Dec 2011 17:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=174#comment-1381</guid>
		<description>joi bangla</description>
		<content:encoded><![CDATA[<p>joi bangla</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress wp_nav_menu to Exclude Page(s) by Torte</title>
		<link>http://ehsanis.me/2010/11/30/wordpress-wp_nav_menu-to-exclude-pages/comment-page-1/#comment-1343</link>
		<dc:creator>Torte</dc:creator>
		<pubDate>Mon, 17 Oct 2011 18:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=431#comment-1343</guid>
		<description>Hi Ehsan!
First, thank you for your helpfull Post.
I implement the code from your website and it works fine, but only in the default-menu.
If i choose a menu with a theme_location parameter (like: &#039;theme_location&#039; =&gt; &#039;secondary&#039;),
it don&#039;t exclude the registered sites in the &#039;exclude&#039; parameter.

Another question is the &#039;wp_nav_menu_excludes&#039; hook. For what or where do i need it?

wordpressversion: 3.2.1  , modified theme: Twenty Eleven 1.2
thanks!  torte</description>
		<content:encoded><![CDATA[<p>Hi Ehsan!<br />
First, thank you for your helpfull Post.<br />
I implement the code from your website and it works fine, but only in the default-menu.<br />
If i choose a menu with a theme_location parameter (like: &#8216;theme_location&#8217; =&gt; &#8216;secondary&#8217;),<br />
it don&#8217;t exclude the registered sites in the &#8216;exclude&#8217; parameter.</p>
<p>Another question is the &#8216;wp_nav_menu_excludes&#8217; hook. For what or where do i need it?</p>
<p>wordpressversion: 3.2.1  , modified theme: Twenty Eleven 1.2<br />
thanks!  torte</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress wp_nav_menu to Exclude Page(s) by deb ( manila )</title>
		<link>http://ehsanis.me/2010/11/30/wordpress-wp_nav_menu-to-exclude-pages/comment-page-1/#comment-1342</link>
		<dc:creator>deb ( manila )</dc:creator>
		<pubDate>Tue, 11 Oct 2011 14:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?p=431#comment-1342</guid>
		<description>I&#039;m building a website for condo units, when I had to create a page which I didn&#039;t want to be included in my nav menu. Thanks for this post, I found that I need to use the argument &lt;code&gt;&#039;exclude&#039; =&gt; $id&lt;/code&gt; in order to do just that. :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m building a website for condo units, when I had to create a page which I didn&#8217;t want to be included in my nav menu. Thanks for this post, I found that I need to use the argument <code>'exclude' =&gt; $id</code> in order to do just that. <img src='http://ehsanis.me/wp-includes/images/smilies/icon_happy.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Myself by Rupom</title>
		<link>http://ehsanis.me/myself/comment-page-1/#comment-1338</link>
		<dc:creator>Rupom</dc:creator>
		<pubDate>Fri, 23 Sep 2011 17:42:12 +0000</pubDate>
		<guid isPermaLink="false">http://ehsan.bdwebwork.com/?page_id=5#comment-1338</guid>
		<description>I believe I spent some of my great days with you. Soon after joining the company, you became a friend from a colleague.. which is really rare. I still remember those days, we did lots fun. I wish you all the best and a very happy family life...wherever you stay, stay cool.</description>
		<content:encoded><![CDATA[<p>I believe I spent some of my great days with you. Soon after joining the company, you became a friend from a colleague.. which is really rare. I still remember those days, we did lots fun. I wish you all the best and a very happy family life&#8230;wherever you stay, stay cool.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

