Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Warning: Cannot modify header information - headers already sent by (output started at /home/themes/public_html/forums/bb-includes/db-mysql.php:12) in /home/themes/public_html/forums/my-templates/kakumei-variant/rss2.php on line 1
ThemeShaper Forums Topic: Not clear how childtheme_override works http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Tue, 26 May 2015 07:38:47 +0000 helgatheviking on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-21713 Tue, 07 Jun 2011 22:12:17 +0000 helgatheviking 21713@http://forums.themeshaper.com/ <p>not sure what bug you are seeing? </p> <p>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</p> <p><a href="http://developing.thematic4you.com/thematic-development-release/" rel="nofollow">http://developing.thematic4you.com/thematic-development-release/</a> </p> Teenage on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-21712 Tue, 07 Jun 2011 22:06:50 +0000 Teenage 21712@http://forums.themeshaper.com/ <p>Hi,</p> <p>The official code (0.9.7.7) still get this bug.</p> <p>I stumbled onto this page after looking for information about "childtheme_override_**" that still doesn't existe : <a href="http://themeshaper.com/thematic/guide/?s=override&#38;searchsubmit=Find" rel="nofollow">http://themeshaper.com/thematic/guide/?s=override&#38;searchsubmit=Find</a></p> <p>Please add the missing "add_action('thematic_header','thematic_***',X);" lines to the next release and update the documentation. </p> kirkroberts on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-18905 Wed, 02 Feb 2011 18:55:50 +0000 kirkroberts 18905@http://forums.themeshaper.com/ <p>Sweet, thanks! I'll check those out. </p> helgatheviking on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-18875 Tue, 01 Feb 2011 16:22:44 +0000 helgatheviking 18875@http://forums.themeshaper.com/ <p>you can either get:<br /> <a href="http://developing.thematic4you.com/thematic-development-release/" rel="nofollow">http://developing.thematic4you.com/thematic-development-release/</a></p> <p>or learn to get SVN from this great tut:<br /> <a href="http://forums.themeshaper.com/topic/how-to-get-the-latest-svn-copy-of-thematic" rel="nofollow">http://forums.themeshaper.com/topic/how-to-get-the-latest-svn-copy-of-thematic</a> </p> kirkroberts on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-18870 Tue, 01 Feb 2011 14:03:37 +0000 kirkroberts 18870@http://forums.themeshaper.com/ <p>I just recently downloaded Thematic and it seems this issue is not resolved in the package downloaded from themeshaper.com?<br /> I see how to fix it but don't want to overwrite core files.<br /> Not on the SVN train yet... sigh. </p> mirko77 on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16938 Fri, 12 Nov 2010 10:33:09 +0000 mirko77 16938@http://forums.themeshaper.com/ <p>Oh yes...I overlooked that if statement! Thank you very much! </p> helgatheviking on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16907 Thu, 11 Nov 2010 13:07:41 +0000 helgatheviking 16907@http://forums.themeshaper.com/ <p>thanks chris! </p> Chris on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16904 Thu, 11 Nov 2010 10:27:27 +0000 Chris 16904@http://forums.themeshaper.com/ <p>Ok .. this one is fixed. Grab the latest SVN copy and remove the add_action call.</p> <p>Chris </p> Chris on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16903 Thu, 11 Nov 2010 08:55:40 +0000 Chris 16903@http://forums.themeshaper.com/ <p>Hi,</p> <p>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.</p> <p>Chris </p> helgatheviking on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16876 Wed, 10 Nov 2010 16:13:28 +0000 helgatheviking 16876@http://forums.themeshaper.com/ <p>actually if you take a look at the header-extensions.php file you will see exactly what happens w/ the override</p> <pre><code>// Open #branding // In the header div if (function_exists(&#39;childtheme_override_brandingopen&#39;)) { function thematic_brandingopen() { childtheme_override_brandingopen(); } } else { function thematic_brandingopen() { echo &quot;&lt;div id=\&quot;branding\&quot;&gt;\n&quot;; } add_action(&#39;thematic_header&#39;,&#39;thematic_brandingopen&#39;,1); }</code></pre> <p>look carefully, if childtheme_override_brandingopen exists then the action is NOT added to the thematic_header, hence you see nothing.</p> <p>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:</p> <pre><code>function childtheme_override_brandingopen(){ echo &quot;&lt;div id=&#39;branding&#39;&gt;&lt;div id=&#39;logo-container&#39;&gt;&lt;/div&gt;&lt;div id=&#39;social-links&#39;&gt; &lt;/div&gt;\n&quot;; } add_action(&#39;thematic_header&#39;,&#39;childtheme_override_brandingopen&#39;,1);</code></pre> antesark on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16872 Wed, 10 Nov 2010 14:37:04 +0000 antesark 16872@http://forums.themeshaper.com/ <p>Try..<br /> <code><br /> function childtheme_override_brandingopen() { ?&gt;<br /> &lt;div id="branding"&gt;&lt;div id="logo-container"&gt;&lt;/div&gt;&lt;div id="social-links"&gt;&lt;/div&gt;<br /> &lt;?php }</p> <p>function childtheme_override_brandingclose() { ?&gt;<br /> &lt;/div&gt;&lt;!-- #branding --&gt;<br /> &lt;?php }<br /> </code><br /> And remember not to use add_action. </p> mirko77 on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16871 Wed, 10 Nov 2010 10:48:52 +0000 mirko77 16871@http://forums.themeshaper.com/ <p>That is exactly what I did.<br /> I created my child theme with its own function.php, but my override function does not work.</p> <p>I have other custom functions in my own function.php and they all work </p> McSalty on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16844 Tue, 09 Nov 2010 16:16:04 +0000 McSalty 16844@http://forums.themeshaper.com/ <p>The override functions are meant so you don't have to modify the original thematic source files.</p> <p>Create a new child theme (there are guides for how to do this online). In your child them folder, create "functions.php". Within functions.php, paste your code</p> <pre><code>function childtheme_override_brandingopen(){ echo &quot;&lt;div id=\&quot;branding\&quot;&gt;&lt;div id=&#39;logo-container&#39;&gt;&lt;/div&gt;&lt;div id=&#39;social-links&#39;&gt;&lt;/div&gt;\n&quot;; }</code></pre> <p>Now your child theme will automatically use this function instead of thematic's default. </p> mirko77 on "Not clear how childtheme_override works" http://forums.themeshaper.com/topic/not-clear-how-childtheme_override-works#post-16842 Tue, 09 Nov 2010 14:51:42 +0000 mirko77 16842@http://forums.themeshaper.com/ <p>I want to add a couple of &lt;div&gt; containers in my child theme header, inside #branding.</p> <p>If I modify the function thematic_brandingopen() directly in header-extension.php it works flawlessly:</p> <pre><code>function thematic_brandingopen() { echo &quot;&lt;div id=\&quot;branding\&quot;&gt;&lt;div id=&#39;logo-container&#39;&gt;&lt;/div&gt;&lt;div id=&#39;social-links&#39;&gt;&lt;/div&gt;\n&quot;; }</code></pre> <p>but if I create a childtheme_override_brandingopen() my whole #branding div container disappears...</p> <pre><code>function childtheme_override_brandingopen(){ echo &quot;&lt;div id=\&quot;branding\&quot;&gt;&lt;div id=&#39;logo-container&#39;&gt;&lt;/div&gt;&lt;div id=&#39;social-links&#39;&gt; &lt;/div&gt;\n&quot;; }</code></pre> <p>I do not know why it does not work... </p>