<?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 on: How to widgetize your page menu in WordPress</title>
	<atom:link href="http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress</link>
	<description>Life, Blogging, and WordPress</description>
	<lastBuildDate>Wed, 23 May 2012 07:51:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ben</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-284988</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Tue, 25 Jan 2011 12:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-284988</guid>
		<description>Same problem here. (I admit I&#039;m totally new to wordpress)</description>
		<content:encoded><![CDATA[<p>Same problem here. (I admit I&#8217;m totally new to wordpress)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blair</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-269918</link>
		<dc:creator>Blair</dc:creator>
		<pubDate>Wed, 29 Dec 2010 11:27:47 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-269918</guid>
		<description>Hey, love the premise of this code. I&#039;ve tried it out, the sidebar appears in the widgets menu in the site admin, only nothing seems to have changed on the front end when widgets are added.

Any ideas on how to get it to work/what needs fixing? The code works with WP3.0 custom menus, right?</description>
		<content:encoded><![CDATA[<p>Hey, love the premise of this code. I&#8217;ve tried it out, the sidebar appears in the widgets menu in the site admin, only nothing seems to have changed on the front end when widgets are added.</p>
<p>Any ideas on how to get it to work/what needs fixing? The code works with WP3.0 custom menus, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 101 Techniques for a Powerful CMS using WordPress &#171; WPhub.biz</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-181180</link>
		<dc:creator>101 Techniques for a Powerful CMS using WordPress &#171; WPhub.biz</dc:creator>
		<pubDate>Fri, 12 Mar 2010 22:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-181180</guid>
		<description>[...] been trying to overcome this one frustrating thing with WordPress, but the method Justin Tadlock is describing here is easy and requires little coding. Your theme needs to use the wp_page_menu() function to add its [...]</description>
		<content:encoded><![CDATA[<p>[...] been trying to overcome this one frustrating thing with WordPress, but the method Justin Tadlock is describing here is easy and requires little coding. Your theme needs to use the wp_page_menu() function to add its [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-157519</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Fri, 16 Oct 2009 10:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-157519</guid>
		<description>Hi!

I am trying to implement this method on a project right now, and I&#039;d have question about it: if I wanna have different widgetized menus, how do I do?

Do I simply have to call 
 and 
in the code, and add different sidebars, with different names, and different functions as follows:

&lt;pre&gt;&lt;code&gt;&#039;Page Menu a&#039;,
	&#039;id&#039; =&gt; &#039;page-menu-a&#039;,
	&#039;before_widget&#039; =&gt; &#039;&#039;,
	&#039;after_widget&#039; =&gt; &#039;&#039;,
	&#039;before_title&#039; =&gt; false,
	&#039;after_title&#039; =&gt; false
) );

add_filter( &#039;wp_page_menu&#039;, &#039;my_page_menu_a&#039; );

function my_page_menu_a( $menu ) {
	dynamic_sidebar( &#039;page-menu-a&#039; );
}

?&gt;&lt;/code&gt;&lt;/pre&gt;

Is that it?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I am trying to implement this method on a project right now, and I&#8217;d have question about it: if I wanna have different widgetized menus, how do I do?</p>
<p>Do I simply have to call<br />
 and<br />
in the code, and add different sidebars, with different names, and different functions as follows:</p>
<pre><code>'Page Menu a',
	'id' => 'page-menu-a',
	'before_widget' => '',
	'after_widget' => '',
	'before_title' => false,
	'after_title' => false
) );

add_filter( 'wp_page_menu', 'my_page_menu_a' );

function my_page_menu_a( $menu ) {
	dynamic_sidebar( 'page-menu-a' );
}

?></code></pre>
<p>Is that it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To Create a Dropdown Menu In WordPress &#124; Van SEO Design</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-138335</link>
		<dc:creator>How To Create a Dropdown Menu In WordPress &#124; Van SEO Design</dc:creator>
		<pubDate>Wed, 08 Jul 2009 18:10:07 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-138335</guid>
		<description>[...] Tadlock has also written a post on wp_page_menu, including his own filter, as well as a post on developing a widget for your page menu using the wp_page_menu() [...]</description>
		<content:encoded><![CDATA[<p>[...] Tadlock has also written a post on wp_page_menu, including his own filter, as well as a post on developing a widget for your page menu using the wp_page_menu() [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knowledge Base</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-136553</link>
		<dc:creator>Knowledge Base</dc:creator>
		<pubDate>Tue, 30 Jun 2009 21:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-136553</guid>
		<description>[...] page menu &#8211; http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress   [...]</description>
		<content:encoded><![CDATA[<p>[...] page menu &#8211; <a href="http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress" rel="nofollow">http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress</a>   [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberta</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-131301</link>
		<dc:creator>Roberta</dc:creator>
		<pubDate>Mon, 08 Jun 2009 23:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-131301</guid>
		<description>As I learn more I will always remember that I started here. Thank you for all the info I can put it to use in my business plan.&lt;a href=&quot;http://workathomewhynot.com&quot; rel=&quot;nofollow&quot;&gt;Our site please check us out&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>As I learn more I will always remember that I started here. Thank you for all the info I can put it to use in my business plan.<a href="http://workathomewhynot.com" rel="nofollow">Our site please check us out</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Pickell</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-125207</link>
		<dc:creator>Jim Pickell</dc:creator>
		<pubDate>Wed, 13 May 2009 14:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-125207</guid>
		<description>Love the concept of this, but if the primary purpose of using WordPress and WP themes (for me) is to try to avoid coding. So, needless to say, I am not quite there. I used a theme called Lifestyle for my site. Been very pleased with what I have been able to accomplish in the last week. I am looking to add some widgetized pages that can publish specific posts and thumbnails (rather than manually entering photos/links); however, even after watching the video and reading this post (and spending a few hours yesterday editing the functions.php), I can&#039;t quite figure out where to place the code (although I am very very close). Any guidance would be greatly appreciated. I get the sense it&#039;s not that hard but I get an error when I post all the code. When I only post a few lines in the logical place it seems like it &quot;half-works&quot; (as might be expected).</description>
		<content:encoded><![CDATA[<p>Love the concept of this, but if the primary purpose of using WordPress and WP themes (for me) is to try to avoid coding. So, needless to say, I am not quite there. I used a theme called Lifestyle for my site. Been very pleased with what I have been able to accomplish in the last week. I am looking to add some widgetized pages that can publish specific posts and thumbnails (rather than manually entering photos/links); however, even after watching the video and reading this post (and spending a few hours yesterday editing the functions.php), I can&#8217;t quite figure out where to place the code (although I am very very close). Any guidance would be greatly appreciated. I get the sense it&#8217;s not that hard but I get an error when I post all the code. When I only post a few lines in the logical place it seems like it &#8220;half-works&#8221; (as might be expected).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danimata</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-124821</link>
		<dc:creator>danimata</dc:creator>
		<pubDate>Tue, 12 May 2009 21:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-124821</guid>
		<description>Thank you so much for this information.
I had to fix a WP blogsite sidebar and this was exactly what I needed.</description>
		<content:encoded><![CDATA[<p>Thank you so much for this information.<br />
I had to fix a WP blogsite sidebar and this was exactly what I needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaspars</title>
		<link>http://justintadlock.com/archives/2009/04/15/how-to-widgetize-your-page-menu-in-wordpress#comment-123911</link>
		<dc:creator>Kaspars</dc:creator>
		<pubDate>Fri, 08 May 2009 11:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1612#comment-123911</guid>
		<description>&lt;a href=&quot;#comment-123703&quot; rel=&quot;nofollow&quot;&gt;Justin&lt;/a&gt;, you are right, one cannot have two ID per tag. It probably was my widgetized part of brain thinking -- &quot;no widget can exists with proper IDs&#039;&#039; :)

However, I found another drawback of this method -- it overwrites all &lt;code&gt; wp_page_menu&lt;/code&gt; calls, which means that one cannot have another menu in the footer, for example, that also uses &lt;code&gt;wp_page_menu&lt;/code&gt;.

That said, the best solution would be to use your &lt;em&gt;Widgets Reloaded&lt;/em&gt; plugin and turn those menu calls inside the theme files into widgetized areas.</description>
		<content:encoded><![CDATA[<p><a href="#comment-123703" rel="nofollow">Justin</a>, you are right, one cannot have two ID per tag. It probably was my widgetized part of brain thinking &#8212; &#8220;no widget can exists with proper IDs&#8221; <img src='http://justintadlock.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>However, I found another drawback of this method &#8212; it overwrites all <code> wp_page_menu</code> calls, which means that one cannot have another menu in the footer, for example, that also uses <code>wp_page_menu</code>.</p>
<p>That said, the best solution would be to use your <em>Widgets Reloaded</em> plugin and turn those menu calls inside the theme files into widgetized areas.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

