<?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 Developing Thematic 4 You</title>
	<atom:link href="http://developing.thematic4you.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://developing.thematic4you.com</link>
	<description>Everything around the Thematic Core</description>
	<lastBuildDate>Sat, 25 Jun 2011 14:35:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Comment on Breaking things to fix others by thomas</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-1062</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Sat, 25 Jun 2011 14:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-1062</guid>
		<description>hi JeffM,
great...that works....wp_parse_args() :-)!!

thanx</description>
		<content:encoded><![CDATA[<p>hi JeffM,<br />
great&#8230;that works&#8230;.wp_parse_args() <img src='http://developing.thematic4you.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> !!</p>
<p>thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Breaking things to fix others by JeffM</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-299</link>
		<dc:creator>JeffM</dc:creator>
		<pubDate>Tue, 07 Dec 2010 15:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-299</guid>
		<description>@Chris

Thanks for a terrific theme, I just want to bring something to your attention...

If you&#039;re monitoring your PHP error logs, you&#039;ll see that your filter code snippet throws 2 exceptions:

&lt;code&gt;[8: Notice]	Undefined index:  link_before	[...]\wp-includes\post-template.php	 Line: 845 and
[8: Notice]	Undefined index:  link_after	[...]\wp-includes\post-template.php	 Line: 845&lt;/code&gt;

This is because the filter completely replaces the original $args array. Two ways to deal with this...

1) Quick n Dirty: append this to the child&#039;s $args array --

		&lt;code&gt;,&#039;link_before&#039;=&gt;&#039;&#039;,&#039;link_after&#039;=&gt;&#039;&#039;&lt;/code&gt;

The empty strings are Wordpress&#039; defaults, and may or may not match the actual runtime values (and you might not care, but you should).	


2) Probably more &#039;proper&#039; and likely more future-proof is to merge our options into the inbound array using the WP core&#039;s &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/wp_parse_args&quot; rel=&quot;nofollow&quot;&gt;wp_parse_args()&lt;/a&gt;, thus:

&lt;code&gt;
function childtheme_menu_args( $args ) {
	$my_args = array(
		&#039;show_home&#039; =&gt; &#039;Home&#039;,
		&#039;sort_column&#039; =&gt; &#039;menu_order&#039;,
		&#039;menu_class&#039; =&gt; &#039;menu&#039;,
		&#039;echo&#039; =&gt; false
		);
	return wp_parse_args( $my_args, $args );
}
add_filter(&#039;wp_page_menu_args&#039;,&#039;childtheme_menu_args&#039;, 20);
&lt;/code&gt;

which works for me, running PHP 5.2.6 + WP 3.0.2 + Thematic .9.7.7.

And yes, the parameter order for &lt;code&gt;wp_parse_args()&lt;/code&gt; is indeed counter-intuitive.

HTH</description>
		<content:encoded><![CDATA[<p>@Chris</p>
<p>Thanks for a terrific theme, I just want to bring something to your attention&#8230;</p>
<p>If you&#8217;re monitoring your PHP error logs, you&#8217;ll see that your filter code snippet throws 2 exceptions:</p>
<p><code>[8: Notice]	Undefined index:  link_before	[...]\wp-includes\post-template.php	 Line: 845 and<br />
[8: Notice]	Undefined index:  link_after	[...]\wp-includes\post-template.php	 Line: 845</code></p>
<p>This is because the filter completely replaces the original $args array. Two ways to deal with this&#8230;</p>
<p>1) Quick n Dirty: append this to the child&#8217;s $args array &#8211;</p>
<p>		<code>,'link_before'=&gt;'','link_after'=&gt;''</code></p>
<p>The empty strings are WordPress&#8217; defaults, and may or may not match the actual runtime values (and you might not care, but you should).	</p>
<p>2) Probably more &#8216;proper&#8217; and likely more future-proof is to merge our options into the inbound array using the WP core&#8217;s <a href="http://codex.wordpress.org/Function_Reference/wp_parse_args" rel="nofollow">wp_parse_args()</a>, thus:</p>
<p><code><br />
function childtheme_menu_args( $args ) {<br />
	$my_args = array(<br />
		'show_home' =&gt; 'Home',<br />
		'sort_column' =&gt; 'menu_order',<br />
		'menu_class' =&gt; 'menu',<br />
		'echo' =&gt; false<br />
		);<br />
	return wp_parse_args( $my_args, $args );<br />
}<br />
add_filter('wp_page_menu_args','childtheme_menu_args', 20);<br />
</code></p>
<p>which works for me, running PHP 5.2.6 + WP 3.0.2 + Thematic .9.7.7.</p>
<p>And yes, the parameter order for <code>wp_parse_args()</code> is indeed counter-intuitive.</p>
<p>HTH</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Breaking things to fix others by Jerry</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-236</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Wed, 27 Oct 2010 14:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-236</guid>
		<description>Hi Chris, just updated to Thematic version 0.9.7.7. I got my website running in dev with some minor CSS fixes, but the second level of my menu has dissapeared. I went through various threads on the Thematic forum, but can&#039;t figure out how to solve my specific problem.</description>
		<content:encoded><![CDATA[<p>Hi Chris, just updated to Thematic version 0.9.7.7. I got my website running in dev with some minor CSS fixes, but the second level of my menu has dissapeared. I went through various threads on the Thematic forum, but can&#8217;t figure out how to solve my specific problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Breaking things to fix others by Lavern, the BBQ Guy</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-233</link>
		<dc:creator>Lavern, the BBQ Guy</dc:creator>
		<pubDate>Tue, 26 Oct 2010 16:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-233</guid>
		<description>Chris,

Thanks for the new version of Thematic. Just installed it and it broke the menu on my child theme, but I was able to find the solution in this blog post. I had filtered out some of the pages and when I upgraded, my code in functions.php was no longer filtering out some links.

Thanks again!</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>Thanks for the new version of Thematic. Just installed it and it broke the menu on my child theme, but I was able to find the solution in this blog post. I had filtered out some of the pages and when I upgraded, my code in functions.php was no longer filtering out some links.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Breaking things to fix others by Chris</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-211</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 20 Oct 2010 08:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-211</guid>
		<description>Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Breaking things to fix others by thomas</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-210</link>
		<dc:creator>thomas</dc:creator>
		<pubDate>Wed, 20 Oct 2010 00:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-210</guid>
		<description>add_filter(&#039;wp_page_menu_args&#039;,&#039;childtheme_menu_args&#039;, 20);

have a look at the priority 20 !!!</description>
		<content:encoded><![CDATA[<p>add_filter(&#8216;wp_page_menu_args&#8217;,'childtheme_menu_args&#8217;, 20);</p>
<p>have a look at the priority 20 !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Breaking things to fix others by kathy</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-86</link>
		<dc:creator>kathy</dc:creator>
		<pubDate>Tue, 29 Jun 2010 17:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-86</guid>
		<description>man i was racking my brain trying to figure out where that ul class disappeared to until i remember you&#039;d written a post about breaking something in thematic.  much relief.  how is the approval going w/ getting the new version into WP?</description>
		<content:encoded><![CDATA[<p>man i was racking my brain trying to figure out where that ul class disappeared to until i remember you&#8217;d written a post about breaking something in thematic.  much relief.  how is the approval going w/ getting the new version into WP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thematic Revision 653 by Xantor</title>
		<link>http://developing.thematic4you.com/2010/04/thematic-revision-653/comment-page-1/#comment-29</link>
		<dc:creator>Xantor</dc:creator>
		<pubDate>Wed, 19 May 2010 01:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=34#comment-29</guid>
		<description>Regarding my last comment i figured out that thematic replaces one menu with the other, but i was also having a problem with the wp_nav_menu not been shown in the earlymorning child theme inside the branding div. I fixed it by changing the add_action priority argument from a 9 to a 6 at line 455 of the header-extension.php file, now it works as it should.

Hope this info is helpfull.</description>
		<content:encoded><![CDATA[<p>Regarding my last comment i figured out that thematic replaces one menu with the other, but i was also having a problem with the wp_nav_menu not been shown in the earlymorning child theme inside the branding div. I fixed it by changing the add_action priority argument from a 9 to a 6 at line 455 of the header-extension.php file, now it works as it should.</p>
<p>Hope this info is helpfull.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Thematic Revision 653 by Xantor</title>
		<link>http://developing.thematic4you.com/2010/04/thematic-revision-653/comment-page-1/#comment-28</link>
		<dc:creator>Xantor</dc:creator>
		<pubDate>Tue, 18 May 2010 23:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=34#comment-28</guid>
		<description>If  i use this code all calls to wp_page_menu() will be replaced by calls to wp_nav_menu or do i have to remove the calls to wp_page_menu() in the child theme?</description>
		<content:encoded><![CDATA[<p>If  i use this code all calls to wp_page_menu() will be replaced by calls to wp_nav_menu or do i have to remove the calls to wp_page_menu() in the child theme?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Breaking things to fix others by Flick</title>
		<link>http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/comment-page-1/#comment-24</link>
		<dc:creator>Flick</dc:creator>
		<pubDate>Sun, 09 May 2010 22:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://developing.thematic4you.com/?p=37#comment-24</guid>
		<description>Just wanted to say: LOVE the new theme you&#039;ve got here for Thematic 4 You, Chris!</description>
		<content:encoded><![CDATA[<p>Just wanted to say: LOVE the new theme you&#8217;ve got here for Thematic 4 You, Chris!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

