<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: Not clear how childtheme_override works</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 19 Jun 2013 07:01:30 +0000</pubDate>

<item>
<title>helgatheviking on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-21713</link>
<pubDate>Tue, 07 Jun 2011 22:12:17 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">21713@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;not sure what bug you are seeing?  &#60;/p&#62;
&#60;p&#62;0.9.7.7 might be official in the WP repo, but the latest version of Thematic is 0.9.8 which fixed a lot of bugs w/ the overrides&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://developing.thematic4you.com/thematic-development-release/&#34; rel=&#34;nofollow&#34;&#62;http://developing.thematic4you.com/thematic-development-release/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Teenage on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-21712</link>
<pubDate>Tue, 07 Jun 2011 22:06:50 +0000</pubDate>
<dc:creator>Teenage</dc:creator>
<guid isPermaLink="false">21712@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;The official code (0.9.7.7) still get this bug.&#60;/p&#62;
&#60;p&#62;I stumbled onto this page after looking for information about &#34;childtheme_override_**&#34; that still doesn't existe : &#60;a href=&#34;http://themeshaper.com/thematic/guide/?s=override&#38;#38;searchsubmit=Find&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/thematic/guide/?s=override&#38;#38;searchsubmit=Find&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Please add the missing  &#34;add_action('thematic_header','thematic_***',X);&#34; lines to the next release and update the documentation.
&#60;/p&#62;</description>
</item>
<item>
<title>kirkroberts on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-18905</link>
<pubDate>Wed, 02 Feb 2011 18:55:50 +0000</pubDate>
<dc:creator>kirkroberts</dc:creator>
<guid isPermaLink="false">18905@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Sweet, thanks! I'll check those out.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-18875</link>
<pubDate>Tue, 01 Feb 2011 16:22:44 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">18875@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;you can either get:&#60;br /&#62;
&#60;a href=&#34;http://developing.thematic4you.com/thematic-development-release/&#34; rel=&#34;nofollow&#34;&#62;http://developing.thematic4you.com/thematic-development-release/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;or learn to get SVN from this great tut:&#60;br /&#62;
&#60;a href=&#34;http://themeshaper.com/forums/topic/how-to-get-the-latest-svn-copy-of-thematic&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/how-to-get-the-latest-svn-copy-of-thematic&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>kirkroberts on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-18870</link>
<pubDate>Tue, 01 Feb 2011 14:03:37 +0000</pubDate>
<dc:creator>kirkroberts</dc:creator>
<guid isPermaLink="false">18870@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I just recently downloaded Thematic and it seems this issue is not resolved in the package downloaded from themeshaper.com?&#60;br /&#62;
I see how to fix it but don't want to overwrite core files.&#60;br /&#62;
Not on the SVN train yet... sigh.
&#60;/p&#62;</description>
</item>
<item>
<title>mirko77 on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16938</link>
<pubDate>Fri, 12 Nov 2010 10:33:09 +0000</pubDate>
<dc:creator>mirko77</dc:creator>
<guid isPermaLink="false">16938@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Oh yes...I overlooked that if statement! Thank you very much!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16907</link>
<pubDate>Thu, 11 Nov 2010 13:07:41 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">16907@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;thanks chris!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16904</link>
<pubDate>Thu, 11 Nov 2010 10:27:27 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16904@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ok .. this one is fixed. Grab the latest SVN copy and remove the add_action call.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16903</link>
<pubDate>Thu, 11 Nov 2010 08:55:40 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">16903@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'll check this later today. Normally the override functions should work without add_action. Unfortunately I had the add_action call inside the if-clause. We fixed a couple of these bugs in the latest SVN copies, but I'm not sure if we fixed this one.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16876</link>
<pubDate>Wed, 10 Nov 2010 16:13:28 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">16876@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;actually if you take a look at the header-extensions.php file you will see exactly what happens w/ the override&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Open #branding
	// In the header div
	if (function_exists(&#38;#39;childtheme_override_brandingopen&#38;#39;))  {
	    function thematic_brandingopen() {
	    	childtheme_override_brandingopen();
	    }
	} else {
		function thematic_brandingopen() {
			echo &#38;quot;&#38;lt;div id=\&#38;quot;branding\&#38;quot;&#38;gt;\n&#38;quot;;
		}
	    add_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;thematic_brandingopen&#38;#39;,1);
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;look carefully, if childtheme_override_brandingopen exists then the action is NOT added to the thematic_header, hence you see nothing.&#60;/p&#62;
&#60;p&#62;i dont know that i agree w/ this behavior 100% but that's how it is.  you need to add childtheme_override_brandingopen to the desired hook.  try:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_brandingopen(){
echo &#38;quot;&#38;lt;div id=&#38;#39;branding&#38;#39;&#38;gt;&#38;lt;div id=&#38;#39;logo-container&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;div id=&#38;#39;social-links&#38;#39;&#38;gt;      &#38;lt;/div&#38;gt;\n&#38;quot;;
}
add_action(&#38;#39;thematic_header&#38;#39;,&#38;#39;childtheme_override_brandingopen&#38;#39;,1);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>antesark on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16872</link>
<pubDate>Wed, 10 Nov 2010 14:37:04 +0000</pubDate>
<dc:creator>antesark</dc:creator>
<guid isPermaLink="false">16872@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Try..&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function childtheme_override_brandingopen() { ?&#38;gt;&#60;br /&#62;
&#38;lt;div id=&#34;branding&#34;&#38;gt;&#38;lt;div id=&#34;logo-container&#34;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;div id=&#34;social-links&#34;&#38;gt;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;/p&#62;
&#60;p&#62;function childtheme_override_brandingclose() { ?&#38;gt;&#60;br /&#62;
&#38;lt;/div&#38;gt;&#38;lt;!-- #branding --&#38;gt;&#60;br /&#62;
&#38;lt;?php }&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
And remember not to use add_action.
&#60;/p&#62;</description>
</item>
<item>
<title>mirko77 on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16871</link>
<pubDate>Wed, 10 Nov 2010 10:48:52 +0000</pubDate>
<dc:creator>mirko77</dc:creator>
<guid isPermaLink="false">16871@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;That is exactly what I did.&#60;br /&#62;
I created my child theme with its own function.php, but my override function does not work.&#60;/p&#62;
&#60;p&#62;I have other custom functions in my own function.php and they all work
&#60;/p&#62;</description>
</item>
<item>
<title>McSalty on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16844</link>
<pubDate>Tue, 09 Nov 2010 16:16:04 +0000</pubDate>
<dc:creator>McSalty</dc:creator>
<guid isPermaLink="false">16844@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;The override functions are meant so you don't have to modify the original thematic source files.&#60;/p&#62;
&#60;p&#62;Create a new child theme (there are guides for how to do this online). In your child them folder, create &#34;functions.php&#34;. Within functions.php, paste your code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_brandingopen(){
   echo &#38;quot;&#38;lt;div id=\&#38;quot;branding\&#38;quot;&#38;gt;&#38;lt;div id=&#38;#39;logo-container&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;div id=&#38;#39;social-links&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;\n&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Now your child theme will automatically use this function instead of thematic's default.
&#60;/p&#62;</description>
</item>
<item>
<title>mirko77 on "Not clear how childtheme_override works"</title>
<link>http://themeshaper.com/forums/topic/not-clear-how-childtheme_override-works#post-16842</link>
<pubDate>Tue, 09 Nov 2010 14:51:42 +0000</pubDate>
<dc:creator>mirko77</dc:creator>
<guid isPermaLink="false">16842@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I want to add a couple of &#38;lt;div&#38;gt; containers in my  child theme header, inside #branding.&#60;/p&#62;
&#60;p&#62;If I modify the function thematic_brandingopen() directly in header-extension.php it works flawlessly:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function thematic_brandingopen() {
 echo &#38;quot;&#38;lt;div id=\&#38;quot;branding\&#38;quot;&#38;gt;&#38;lt;div id=&#38;#39;logo-container&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;div id=&#38;#39;social-links&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;\n&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but if I create a childtheme_override_brandingopen() my whole #branding div container disappears...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_brandingopen(){
echo &#38;quot;&#38;lt;div id=\&#38;quot;branding\&#38;quot;&#38;gt;&#38;lt;div id=&#38;#39;logo-container&#38;#39;&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;div id=&#38;#39;social-links&#38;#39;&#38;gt;      &#38;lt;/div&#38;gt;\n&#38;quot;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I do not know why it does not work...
&#60;/p&#62;</description>
</item>

</channel>
</rss>
