<?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: Child theme question after updating</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 25 May 2013 19:06:35 +0000</pubDate>

<item>
<title>quercus on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-8022</link>
<pubDate>Mon, 23 Nov 2009 06:45:48 +0000</pubDate>
<dc:creator>quercus</dc:creator>
<guid isPermaLink="false">8022@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Perfect, beautiful solution to the entire problem:&#60;/p&#62;
&#60;p&#62;&#34;Page Links To&#34; plug-in by Mark Jaquith.&#60;/p&#62;
&#60;p&#62;I sent him a donation.  If I could, I'd send him a bouquet of roses, lilies, orchids...
&#60;/p&#62;</description>
</item>
<item>
<title>quercus on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-8021</link>
<pubDate>Mon, 23 Nov 2009 05:29:08 +0000</pubDate>
<dc:creator>quercus</dc:creator>
<guid isPermaLink="false">8021@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;It doesn't work anymore. &#60;/p&#62;
&#60;p&#62;My stylesheet no longer connects to my menu, and the menu no longer has the &#34;home&#34; link.&#60;br /&#62;
 I temporarily had the &#34;home&#34; link on my horizontal menu.&#60;/p&#62;
&#60;p&#62;And I was temporarily able to achieve some of the styling I wanted (color-tweaking, etc.) by doing what jrobben suggests above, and changing the #menu entries in my css to .sf-menu.  But then after a while I kept getting this error message:&#60;/p&#62;
&#60;p&#62;Warning: Cannot modify header information - headers already sent by (output started at /home2/bendingt/public_html/blog/wp-content/themes/thematic_child/functions.php:2) in /home2/bendingt/public_html/blog/wp-includes/pluggable.php on line 865&#60;/p&#62;
&#60;p&#62;and pretty soon my blog page wouldn't even open, even after I restarted my computer.  &#60;/p&#62;
&#60;p&#62;So I went in via the server and cleared out the whole functions.php file, and then the error message was fixed.  &#60;/p&#62;
&#60;p&#62;Then I put back the functions.php file which Chris recommended, which looks like this:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;/p&#62;
&#60;p&#62;function childtheme_head_scripts()&#60;br /&#62;
add_filter('thematic_head_scripts','childtheme_head_scripts');&#60;/p&#62;
&#60;p&#62;function childtheme_menu_args($args) {&#60;br /&#62;
$args = array(&#60;br /&#62;
'show_home' =&#38;gt; 'Home',&#60;br /&#62;
'sort_column' =&#38;gt; 'menu_order',&#60;br /&#62;
'menu_class' =&#38;gt; 'menu',&#60;br /&#62;
'echo' =&#38;gt; true&#60;br /&#62;
);&#60;br /&#62;
return $args;&#60;br /&#62;
}&#60;br /&#62;
add_filter('wp_page_menu_args','childtheme_menu_args');&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;But there's nothing I can do to get back the &#34;HOME&#34; link on my menu.  I tried changing the CSS entries to .menu and then I even tried #menu, which is what they were last year.  And then I put them back to .sf-menu.  I even tried making them hot pink, so I'd be sure they were working.  The menu CSS doesn't connect to anything anymore.&#60;/p&#62;
&#60;p&#62;It shouldn't be this hard, should it?  I'm inexperienced, but I'm trying hard to learn and I've been doing nothing but this for 2 and a half days.
&#60;/p&#62;</description>
</item>
<item>
<title>quercus on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-8017</link>
<pubDate>Sun, 22 Nov 2009 23:50:56 +0000</pubDate>
<dc:creator>quercus</dc:creator>
<guid isPermaLink="false">8017@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Chris -- thank you.  I downloaded that child theme that you mentioned and compared it to what I already had.  It turned out that my child theme style sheet was missing a couple of the import commands:  the one about basic image styles, and the one about themes and colors.  So I added those into my existing child style sheet and, voila, a horizontal menu.&#60;/p&#62;
&#60;p&#62;Not the exact color and font I want, but definitely progress.  I'm more confident now that I can figure out how to adjust the appearance of the menu items.&#60;/p&#62;
&#60;p&#62;jrobben -- thank you also, but I'm too much of a beginner to make sense of your reply.  Superfish?  Javascript?  I looked in the source code and saw something that says sf-menu, so maybe that's what you're talking about.  I'll try to change the css to say &#34;sf-menu&#34; instead of plain &#34;menu&#34;, but I'm totally out of my depth here.  &#60;/p&#62;
&#60;p&#62;In any case, it may not be pretty yet, but at least I have a working horizontal menu now and I don't feel like banging my head on a wall anymore.
&#60;/p&#62;</description>
</item>
<item>
<title>jrobben on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-8014</link>
<pubDate>Sun, 22 Nov 2009 21:17:26 +0000</pubDate>
<dc:creator>jrobben</dc:creator>
<guid isPermaLink="false">8014@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;it looks like you have superfish menu javascript installed but it is not working. you need to use the sf-menu classes in the default css file,
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-8006</link>
<pubDate>Sun, 22 Nov 2009 15:45:41 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">8006@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;take a look at the &#60;a href=&#34;http://code.google.com/p/thematic/downloads/list&#34;&#62;Thematic Classic&#60;/a&#62; child theme.&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>quercus on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-7999</link>
<pubDate>Sun, 22 Nov 2009 06:53:23 +0000</pubDate>
<dc:creator>quercus</dc:creator>
<guid isPermaLink="false">7999@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK, I feel like I'm going nuts. I have a basic grasp of how to do things in html and CSS, and I put together an OK website. But the whole blog (except for the stylesheet) is in php. I don't understand how to link php together with the stylesheet that governs it.&#60;/p&#62;
&#60;p&#62;My blog is at &#60;a href=&#34;http://bendingtreearts.com/blog&#34; rel=&#34;nofollow&#34;&#62;http://bendingtreearts.com/blog&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I want to make a HORIZONTAL nav menu just below my blog header, to have a link to my home page, and also links to other pages (like &#34;about&#34;). &#60;/p&#62;
&#60;p&#62;Two links currently exist, in default design form, which is plain and VERTICAL. I want the links in boxes, and have them be a certain font and color and so on.&#60;/p&#62;
&#60;p&#62;Here's my entire functions.php file, in my child theme, which is responsible for the &#34;HOME&#34; link on my menu.&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
function childtheme_menu_args($args) {&#60;br /&#62;
$args = array(&#60;br /&#62;
'show_home' =&#38;gt; 'Home',&#60;br /&#62;
'sort_column' =&#38;gt; 'menu_order',&#60;br /&#62;
'menu_class' =&#38;gt; 'menu',&#60;br /&#62;
'echo' =&#38;gt; true&#60;br /&#62;
);&#60;br /&#62;
return $args;&#60;br /&#62;
}&#60;br /&#62;
add_filter('wp_page_menu_args','childtheme_menu_args');&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;My main question is, how do I link my stylesheet up to this php function, so that the menu is styled the way I want? I removed the entire #menu portion of my stylesheet and NOTHING CHANGED. The whole menu is currently styled according to some invisible default setting.&#60;/p&#62;
&#60;p&#62;I feel like there must be a really obvious answer to this question, but I'm just befuddled.&#60;/p&#62;
&#60;p&#62;Please, pretty please, can someone clear this up for me?  Thank you.
&#60;/p&#62;</description>
</item>
<item>
<title>quercus on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-7997</link>
<pubDate>Sun, 22 Nov 2009 04:00:29 +0000</pubDate>
<dc:creator>quercus</dc:creator>
<guid isPermaLink="false">7997@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK, I've got the &#34;home&#34; link back in my menu.  Someone had put a &#34;commented out&#34; bit of code in the Thematic parent functions.php file with just what I needed.  I just had to remove the slash signs and paste it into my child theme functions.php file.  &#60;/p&#62;
&#60;p&#62;Here it is, for anyone else who's confused by this:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
function childtheme_menu_args($args) {&#60;br /&#62;
   $args = array(&#60;br /&#62;
        'show_home' =&#38;gt; 'Home',&#60;br /&#62;
       'sort_column' =&#38;gt; 'menu_order',&#60;br /&#62;
       'menu_class' =&#38;gt; 'menu',&#60;br /&#62;
        'echo' =&#38;gt; true&#60;br /&#62;
    );&#60;br /&#62;
	return $args;&#60;br /&#62;
}&#60;br /&#62;
add_filter('wp_page_menu_args','childtheme_menu_args');&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;Now I just have to figure out the style of the menu.
&#60;/p&#62;</description>
</item>
<item>
<title>quercus on "Child theme question after updating"</title>
<link>http://themeshaper.com/forums/topic/child-theme-question-after-updating#post-7996</link>
<pubDate>Sun, 22 Nov 2009 03:20:29 +0000</pubDate>
<dc:creator>quercus</dc:creator>
<guid isPermaLink="false">7996@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I set up my blog with a Thematic Child theme last year, and then stopped blogging.  Recently I revived my blog, and of course Wordpress and Thematic were in need of updating.  I updated both of them, and my Child theme mostly protected my blog design.  However, the updating process did cause one glitch that I don't know how to fix.&#60;/p&#62;
&#60;p&#62;Before updating, I had a nice setup for a horizontal menu of pages right below the header.  Each link was in a little box.  I have no idea how I made that happen, but I have a vague sense that it had something to do with the functions.php file in my child theme folder.  That menu only had two links: One was for my &#34;about&#34; page, and one was for &#34;blog front page&#34;, because my custom header is not clickable.  &#60;/p&#62;
&#60;p&#62;I plan to add more pages, so in the future there will be more items in that menu.&#60;/p&#62;
&#60;p&#62;Could one of you design-masters explain to me how I can get my nice menu of horizontal boxes back?  After updating, the &#34;blog front page&#34; link is entirely gone, and the &#34;about&#34; link is small and needs its style settings changed.&#60;/p&#62;
&#60;p&#62;Blog URL:  &#60;a href=&#34;http://bendingtreearts.com/blog&#34; rel=&#34;nofollow&#34;&#62;http://bendingtreearts.com/blog&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here's my current child-theme functions.php file:&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
function sample_menu() {&#60;br /&#62;
    $menu = '&#38;lt;div id=&#34;menu&#34;&#38;gt;
&#60;ul&#62;';&#60;br /&#62;
    if ( is_home() ) {&#60;br /&#62;
        $menu .= '&#38;lt;li class=&#34;current_page_item&#34;&#38;gt;&#38;lt;a href=&#34;';&#60;br /&#62;
    }&#60;br /&#62;
    else {&#60;br /&#62;
         $menu .= '
&#60;li&#62;&#38;lt;a href=&#34;';&#60;br /&#62;
    }&#60;br /&#62;
    $menu .= get_option('home') . '/&#34; title=&#34;Home&#34;&#38;gt;Blog front page&#60;/li&#62;
';&#60;br /&#62;
    $menu .= str_replace( array( &#34;\r&#34;, &#34;\n&#34;, &#34;\t&#34; ), '', wp_list_pages('title_li=&#38;#38;sort_column=menu_order&#38;#38;echo=0') );&#60;br /&#62;
    $menu .= &#34;&#60;/ul&#62;
&#38;lt;/div&#38;gt;\n&#34;;&#60;br /&#62;
    echo $menu;&#60;br /&#62;
}&#60;br /&#62;
add_filter('sandbox_menu', 'sample_menu' );&#60;/p&#62;
&#60;p&#62;function childtheme_content($content) {&#60;br /&#62;
	if (is_category()) {&#60;br /&#62;
		$content= 'full';}&#60;br /&#62;
	return $content;&#60;br /&#62;
}&#60;br /&#62;
add_filter('thematic_content', 'childtheme_content');&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;thanks for any help!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
