<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: WordPress PROTIP: Child Themes</title>
	<atom:link href="http://ottopress.com/2010/wordpress-protip-child-themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://ottopress.com/2010/wordpress-protip-child-themes/</link>
	<description>You have to use an Ottopress to get fresh squeezed Otto.</description>
	<lastBuildDate>Wed, 22 May 2013 16:53:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6-beta3-24284</generator>
	<item>
		<title>By: htw</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-11519</link>
		<dc:creator>htw</dc:creator>
		<pubDate>Mon, 31 Dec 2012 17:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-11519</guid>
		<description><![CDATA[Hi to everyone this is great tutorial but in my case things are complicated.

i have this:

function auctionTheme_slider_post_function()
{
	?&gt;
	
	
		&lt;a href=&quot;&quot;&gt;&lt;img width=&quot;150&quot; height=&quot;110&quot; class=&quot;image_class3&quot; 
                src=&quot;&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
                
                
                 &lt;a href=&quot;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &quot;&gt;
                        &lt;/a&gt;
                        
                        
                        
                        
                        &lt;a href=&quot;&quot; class=&quot;buttonlight&quot;&gt;&lt;/a&gt;
                        
                       
		
	
	
	
	
	
		&lt;a href=&quot;&quot;&gt;&lt;img width=&quot;140&quot; height=&quot;190&quot; class=&quot;image_class3&quot; 
                src=&quot;&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;
                
                
                 &lt;a href=&quot;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &quot;&gt;
                        &lt;/a&gt;
                        
                        
                        
                        
                        &lt;a href=&quot;&quot; class=&quot;buttonlight&quot;&gt;&lt;/a&gt;
                        
                       
		
	
	
	&lt;?php
}

add_filter(&#039;auctionTheme_get_post&#039;,			&#039;auctionTheme_get_post_function&#039;,0,1);
add_filter(&#039;auctionTheme_get_post_grid&#039;,	&#039;auctionTheme_get_post_function_grid&#039;,0,1);


the only thing i want to change is the width and heigh if you notice.Can please anyone tell me what do i have to do? Thank you very much in advance.]]></description>
		<content:encoded><![CDATA[<p>Hi to everyone this is great tutorial but in my case things are complicated.</p>
<p>i have this:</p>
<p>function auctionTheme_slider_post_function()<br />
{<br />
	?&gt;</p>
<p>		&lt;a href=&quot;&#8221;&gt;&lt;img width=&quot;150&quot; height=&quot;110&quot; class=&quot;image_class3&quot;<br />
                src=&quot;&#8221; alt=&#8221;" /&gt;</p>
<p>                 &lt;a href=&quot;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &#8220;&gt;</p>
<p>                        &lt;a href=&quot;&#8221; class=&#8221;buttonlight&#8221;&gt;</p>
<p>		&lt;a href=&quot;&#8221;&gt;&lt;img width=&quot;140&quot; height=&quot;190&quot; class=&quot;image_class3&quot;<br />
                src=&quot;&#8221; alt=&#8221;" /&gt;</p>
<p>                 &lt;a href=&quot;&#8221; rel=&#8221;bookmark&#8221; title=&#8221;Permanent Link to &#8220;&gt;</p>
<p>                        &lt;a href=&quot;&#8221; class=&#8221;buttonlight&#8221;&gt;</p>
<p>	&lt;?php<br />
}</p>
<p>add_filter(&#039;auctionTheme_get_post&#039;,			&#039;auctionTheme_get_post_function&#039;,0,1);<br />
add_filter(&#039;auctionTheme_get_post_grid&#039;,	&#039;auctionTheme_get_post_function_grid&#039;,0,1);</p>
<p>the only thing i want to change is the width and heigh if you notice.Can please anyone tell me what do i have to do? Thank you very much in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David - Closemarketing</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-11415</link>
		<dc:creator>David - Closemarketing</dc:creator>
		<pubDate>Sun, 18 Nov 2012 11:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-11415</guid>
		<description><![CDATA[Great tutorial Otto! My main issue was overriding parent&#039;s funtions, which I&#039;ll use your method. We depend of theme developers.]]></description>
		<content:encoded><![CDATA[<p>Great tutorial Otto! My main issue was overriding parent&#8217;s funtions, which I&#8217;ll use your method. We depend of theme developers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristen</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-10517</link>
		<dc:creator>Kristen</dc:creator>
		<pubDate>Wed, 08 Feb 2012 19:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-10517</guid>
		<description><![CDATA[Never mind - I figured it out :)

thanks again!]]></description>
		<content:encoded><![CDATA[<p>Never mind &#8211; I figured it out <img src='http://ottopress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristen</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-10516</link>
		<dc:creator>Kristen</dc:creator>
		<pubDate>Wed, 08 Feb 2012 19:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-10516</guid>
		<description><![CDATA[Thanks so much for this - as a beginner, I find it difficult to wade through the jargon that seems irresistible to most tutorial writers, but this one was nicely light on the jargon :)

Quick question to see if I&#039;m understanding what you&#039;re doing.

I would like to translate the word &quot;Home&quot; in my navigation bar to Chinese (using a child theme I&#039;ve called MGCK).

I basically took what was in the parent (twenty eleven) functions.php and named it with my own name:
[php]function mgck_page_menu_args( $args ) {
	$args[&#039;show_home&#039;] = &#039;主页&#039;;
	return $args;
}[/php]

Then I cancel this function in the parent theme like this?  
[php]function translate_home_nav ( $args ) {
	remove_filter( &#039;show_home&#039;, &#039;twentyeleven_page_menu_args&#039; );
}
add_action( &#039;after_setup_theme&#039;, &#039;translate_home_nav&#039; );[/php]]]></description>
		<content:encoded><![CDATA[<p>Thanks so much for this &#8211; as a beginner, I find it difficult to wade through the jargon that seems irresistible to most tutorial writers, but this one was nicely light on the jargon <img src='http://ottopress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Quick question to see if I&#8217;m understanding what you&#8217;re doing.</p>
<p>I would like to translate the word &#8220;Home&#8221; in my navigation bar to Chinese (using a child theme I&#8217;ve called MGCK).</p>
<p>I basically took what was in the parent (twenty eleven) functions.php and named it with my own name:</p>
<pre class="brush: php; title: ; notranslate">function mgck_page_menu_args( $args ) {
	$args['show_home'] = '主页';
	return $args;
}</pre>
<p>Then I cancel this function in the parent theme like this?  </p>
<pre class="brush: php; title: ; notranslate">function translate_home_nav ( $args ) {
	remove_filter( 'show_home', 'twentyeleven_page_menu_args' );
}
add_action( 'after_setup_theme', 'translate_home_nav' );</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hilmon</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-7522</link>
		<dc:creator>Hilmon</dc:creator>
		<pubDate>Sat, 05 Mar 2011 12:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-7522</guid>
		<description><![CDATA[Thank you so much for clearing this up for me with your very easy to follow tutorial.]]></description>
		<content:encoded><![CDATA[<p>Thank you so much for clearing this up for me with your very easy to follow tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Theming Basics</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-7362</link>
		<dc:creator>WordPress Theming Basics</dc:creator>
		<pubDate>Wed, 23 Feb 2011 23:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-7362</guid>
		<description><![CDATA[[...] this tutorial, well written and lots of great resources (tools, software, references at the end.) WordPress Protip: Child Themes Another really good tutorial, with an intro to overriding with action and filter hooks. The Codex [...]]]></description>
		<content:encoded><![CDATA[<p>[...] this tutorial, well written and lots of great resources (tools, software, references at the end.) WordPress Protip: Child Themes Another really good tutorial, with an intro to overriding with action and filter hooks. The Codex [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How I Customized my WordPress Blog: The Power of Child Themes &#124; The Million Twister</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-7329</link>
		<dc:creator>How I Customized my WordPress Blog: The Power of Child Themes &#124; The Million Twister</dc:creator>
		<pubDate>Tue, 22 Feb 2011 18:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-7329</guid>
		<description><![CDATA[[...] to do this, you can view the answers on How to override parent functions in child themes or read Otto’s ProTip on child [...]]]></description>
		<content:encoded><![CDATA[<p>[...] to do this, you can view the answers on How to override parent functions in child themes or read Otto’s ProTip on child [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Powered By TwentyTen &#124; Ryzz.me</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-6974</link>
		<dc:creator>Powered By TwentyTen &#124; Ryzz.me</dc:creator>
		<pubDate>Mon, 31 Jan 2011 17:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-6974</guid>
		<description><![CDATA[[...] Overriding Templates from Otto [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Overriding Templates from Otto [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Osu</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-6792</link>
		<dc:creator>Osu</dc:creator>
		<pubDate>Sun, 23 Jan 2011 15:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-6792</guid>
		<description><![CDATA[Sorry for the hasty comment - I realised I was trying to override the wrong function!]]></description>
		<content:encoded><![CDATA[<p>Sorry for the hasty comment &#8211; I realised I was trying to override the wrong function!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Osu</title>
		<link>http://ottopress.com/2010/wordpress-protip-child-themes/comment-page-1/#comment-6791</link>
		<dc:creator>Osu</dc:creator>
		<pubDate>Sun, 23 Jan 2011 15:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://ottopress.com/?p=213#comment-6791</guid>
		<description><![CDATA[Hi,

I&#039;ve been pulling my hair out trying to work out why this doesn&#039;t work - the widgets override is working fine, but the &#039;OVERRIDE EXCERPT READ MORE LINK&#039; isn&#039;t. Do you know why? I assume it&#039;s not possible to have multiple instances of add_action( &#039;after_setup_theme&#039;, &#039;function_name&#039;) either right?

Thanks,

osu

&lt;code&gt;function twentyten_child_theme_setup() {
	
	// OVERRIDE SIDEBAR GENERATION!
	function osu_twentyten_widgets_init() {
		// Siedbar 1, located on LHS sidebar
		register_sidebar( array(
			&#039;name&#039; =&gt; __( &#039;Primary Widget Area&#039;, &#039;twentyten-child&#039; ),
			&#039;id&#039; =&gt; &#039;primary-widget-area&#039;,
			&#039;description&#039; =&gt; __( &#039;The primary widget area where the navigation goes&#039;, &#039;twentyten-child&#039; ),
			&#039;before_widget&#039; =&gt; &#039;&#039;,
			&#039;after_widget&#039; =&gt; &#039;&#039;,
			&#039;before_title&#039; =&gt; &#039;&#039;,
			&#039;after_title&#039; =&gt; &#039;&#039;,
		) );
		// Area 2, located on RHS sidebar
		register_sidebar( array(
			&#039;name&#039; =&gt; __( &#039;Secondary Widget Area&#039;, &#039;twentyten-child&#039; ),
			&#039;id&#039; =&gt; &#039;secondary-widget-area&#039;,
			&#039;description&#039; =&gt; __( &#039;The secondary widget area&#039;, &#039;twentyten-child&#039; ),
			&#039;before_widget&#039; =&gt; &#039;&#039;,
			&#039;after_widget&#039; =&gt; &#039;&#039;,
			&#039;before_title&#039; =&gt; &#039;&#039;,
			&#039;after_title&#039; =&gt; &#039;&#039;,
		) );
	}
	remove_action( &#039;widgets_init&#039;, &#039;twentyten_widgets_init&#039; );
	add_action( &#039;widgets_init&#039;, &#039;osu_twentyten_widgets_init&#039; );
	
	// OVERRIDE EXCERPT READ MORE LINK
	function osu_readon_link() {
	    return &#039; &lt;a href=&quot;&#039;. get_permalink() . &#039;&quot; rel=&quot;nofollow&quot;&gt;&#039; . __( &#039;Read on &#8594;&#039;, &#039;twentyten-child&#039; ) . &#039;&lt;/a&gt;&#039;;
	}
	function osu_auto_excerpt_more( $more ) {
	    return &#039; &#8230;&#039; . osu_readon_link();
	}
	remove_filter( &#039;excerpt_more&#039;, &#039;twentyten_auto_excerpt_more&#039; );
	add_filter( &#039;excerpt_more&#039;, &#039;osu_auto_excerpt_more&#039; );

}
add_action( &#039;after_setup_theme&#039;, &#039;twentyten_child_theme_setup&#039; ); /* IMPORTANT: Run the code after theme setup! */&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve been pulling my hair out trying to work out why this doesn&#8217;t work &#8211; the widgets override is working fine, but the &#8216;OVERRIDE EXCERPT READ MORE LINK&#8217; isn&#8217;t. Do you know why? I assume it&#8217;s not possible to have multiple instances of add_action( &#8216;after_setup_theme&#8217;, &#8216;function_name&#8217;) either right?</p>
<p>Thanks,</p>
<p>osu</p>
<p><code>function twentyten_child_theme_setup() {</p>
<p>	// OVERRIDE SIDEBAR GENERATION!<br />
	function osu_twentyten_widgets_init() {<br />
		// Siedbar 1, located on LHS sidebar<br />
		register_sidebar( array(<br />
			'name' =&gt; __( 'Primary Widget Area', 'twentyten-child' ),<br />
			'id' =&gt; 'primary-widget-area',<br />
			'description' =&gt; __( 'The primary widget area where the navigation goes', 'twentyten-child' ),<br />
			'before_widget' =&gt; '',<br />
			'after_widget' =&gt; '',<br />
			'before_title' =&gt; '',<br />
			'after_title' =&gt; '',<br />
		) );<br />
		// Area 2, located on RHS sidebar<br />
		register_sidebar( array(<br />
			'name' =&gt; __( 'Secondary Widget Area', 'twentyten-child' ),<br />
			'id' =&gt; 'secondary-widget-area',<br />
			'description' =&gt; __( 'The secondary widget area', 'twentyten-child' ),<br />
			'before_widget' =&gt; '',<br />
			'after_widget' =&gt; '',<br />
			'before_title' =&gt; '',<br />
			'after_title' =&gt; '',<br />
		) );<br />
	}<br />
	remove_action( 'widgets_init', 'twentyten_widgets_init' );<br />
	add_action( 'widgets_init', 'osu_twentyten_widgets_init' );</p>
<p>	// OVERRIDE EXCERPT READ MORE LINK<br />
	function osu_readon_link() {<br />
	    return ' <a href="'. get_permalink() . '" rel="nofollow">' . __( 'Read on &rarr;', 'twentyten-child' ) . '</a>';<br />
	}<br />
	function osu_auto_excerpt_more( $more ) {<br />
	    return ' &hellip;' . osu_readon_link();<br />
	}<br />
	remove_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' );<br />
	add_filter( 'excerpt_more', 'osu_auto_excerpt_more' );</p>
<p>}<br />
add_action( 'after_setup_theme', 'twentyten_child_theme_setup' ); /* IMPORTANT: Run the code after theme setup! */</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Object Caching 415/448 objects using xcache

 Served from: ottodestruct.com @ 2013-05-25 03:03:43 by W3 Total Cache -->