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: Breaking things to fix others http://forums.themeshaper.com/ Help In Shaping WordPress Themes en Sat, 30 May 2015 18:30:16 +0000 helgatheviking on "Breaking things to fix others" http://forums.themeshaper.com/topic/breaking-things-to-fix-others#post-11904 Sat, 24 Apr 2010 20:20:38 +0000 helgatheviking 11904@http://forums.themeshaper.com/ <p>Thanks for the heads up chris! </p> xxxevilgrinxxx on "Breaking things to fix others" http://forums.themeshaper.com/topic/breaking-things-to-fix-others#post-11899 Sat, 24 Apr 2010 16:49:58 +0000 xxxevilgrinxxx 11899@http://forums.themeshaper.com/ <p>thanks for the head's up, Chris!<br /> I am using version .9.6.1 of Thematic ( I haven't really figured out SVN yet), so would this be an issue for me?</p> <p>I've noted the change to echo, but as I use the wp_page_menu twice in my functions, can you let me know what changes I may have to make, if any?<br /> relevant code:<br /> <pre><code>// Adds a home link to your menu // <a href="http://codex.wordpress.org/Template_Tags/wp_page_menu" rel="nofollow">http://codex.wordpress.org/Template_Tags/wp_page_menu</a> function childtheme_menu_args($args) { $args = array( &#39;show_home&#39; =&gt; &#39;Home&#39;, &#39;sort_column&#39; =&gt; &#39;menu_order&#39;, &#39;menu_class&#39; =&gt; &#39;menu&#39;, &#39;echo&#39; =&gt; true ); return $args; } add_filter(&#39;wp_page_menu_args&#39;,&#39;childtheme_menu_args&#39;); //add links to the menu function child_add_menu_items($output) { $my_code = &#39;&lt;li&gt;&lt;a href=&quot;http://qwstnevrythg.com/&quot; target=&quot;blank&quot;&gt;Question Everything&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://astore.amazon.com/fdbrightly-20&quot; target=&quot;blank&quot;&gt;The Shelf&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&#39;; return str_replace(&#39;&lt;/ul&gt;&#39;,$my_code, $output); } add_filter(&#39;wp_page_menu&#39;,&#39;child_add_menu_items&#39;);</code></pre> <p>I haven't noticed any difference to my theme yet, nothing appears to be broken....but it's coming, isn't it :)<br /> Thanks in advance for any help you can offer! </p> Chris on "Breaking things to fix others" http://forums.themeshaper.com/topic/breaking-things-to-fix-others#post-11897 Sat, 24 Apr 2010 16:16:37 +0000 Chris 11897@http://forums.themeshaper.com/ <p>Hi,</p> <p>I know, that I promised not to break existing child themes with future versions of Thematic. But sometimes it is necessary to break things 'cause we need to fix others.</p> <p>Read more about <a href="http://developing.thematic4you.com/2010/04/breaking-things-to-fix-others/">Breaking things to fix others</a></p> <p>Chris </p>