<?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 Tag: header.php</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 19 Jun 2013 11:51:59 +0000</pubDate>

<item>
<title>helgatheviking on "move code from header file to functions.php"</title>
<link>http://themeshaper.com/forums/topic/move-code-from-header-file-to-functionsphp#post-26962</link>
<pubDate>Fri, 11 May 2012 03:26:06 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26962@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i should reinsert my brain from time to time.  that's a  neat trick.  actually, middlesister has convinced me that this bit of code is &#34;doing it wrong&#34;... in the sense that it is &#60;em&#62;hard-coding&#60;/em&#62; things into doc-title that seo plugins then have to bludgeon to get out of there.... or can't at all.    &#60;/p&#62;
&#60;p&#62;a better approach might be&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;title&#38;gt;&#38;lt;?php wp_title( &#38;#39;&#124;&#38;#39;, true, &#38;#39;right&#38;#39; ); ?&#38;gt;&#38;lt;/title&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and then filter in the rest via the wp_title filter that lives inside the wp_title function.
&#60;/p&#62;</description>
</item>
<item>
<title>PitaMaria on "move code from header file to functions.php"</title>
<link>http://themeshaper.com/forums/topic/move-code-from-header-file-to-functionsphp#post-26961</link>
<pubDate>Fri, 11 May 2012 03:10:16 +0000</pubDate>
<dc:creator>PitaMaria</dc:creator>
<guid isPermaLink="false">26961@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks, gang, for your replies. I was mixing up this issue with another project built on TwentyTen. Re-inserting brain now.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "move code from header file to functions.php"</title>
<link>http://themeshaper.com/forums/topic/move-code-from-header-file-to-functionsphp#post-26950</link>
<pubDate>Thu, 10 May 2012 14:12:33 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">26950@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;this code is automatically added via thematic_doctitle() in the default header.php.  so there is no need to manually include it in a child header.php
&#60;/p&#62;</description>
</item>
<item>
<title>tammai on "move code from header file to functions.php"</title>
<link>http://themeshaper.com/forums/topic/move-code-from-header-file-to-functionsphp#post-26946</link>
<pubDate>Thu, 10 May 2012 09:53:02 +0000</pubDate>
<dc:creator>tammai</dc:creator>
<guid isPermaLink="false">26946@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I think you can create new function name childtheme_override_doctitle() in your functions.php then put your code into that.
&#60;/p&#62;</description>
</item>
<item>
<title>PitaMaria on "move code from header file to functions.php"</title>
<link>http://themeshaper.com/forums/topic/move-code-from-header-file-to-functionsphp#post-26930</link>
<pubDate>Thu, 10 May 2012 04:37:48 +0000</pubDate>
<dc:creator>PitaMaria</dc:creator>
<guid isPermaLink="false">26930@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@ScottNix: Yes, I'm using a Thematic child theme. That snippet is being used successfully in my child theme's header.php file ... I'm just trying to eliminate all child theme files except for style.css and functions.php, and the page-titling automation this snippet provides is the only thing keeping me from doing that.&#60;/p&#62;
&#60;p&#62;Am I understanding you correctly that I could do something to an extensions file in my child theme? What's that?
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "move code from header file to functions.php"</title>
<link>http://themeshaper.com/forums/topic/move-code-from-header-file-to-functionsphp#post-26922</link>
<pubDate>Thu, 10 May 2012 00:08:29 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">26922@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hmm, I know this is going to come up. Are you using a Thematic Child Theme? It would take some serious butchering to work this into a child theme considering all the relevant information for titles is handled in the extensions file. :/&#60;/p&#62;
&#60;p&#62;There is something else going on here, more to fix than just converting this to a functions.php snippet.
&#60;/p&#62;</description>
</item>
<item>
<title>PitaMaria on "move code from header file to functions.php"</title>
<link>http://themeshaper.com/forums/topic/move-code-from-header-file-to-functionsphp#post-26921</link>
<pubDate>Thu, 10 May 2012 00:03:35 +0000</pubDate>
<dc:creator>PitaMaria</dc:creator>
<guid isPermaLink="false">26921@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Apologies if this topic is covered in this forum; I searched but couldn't find anything relevant.&#60;/p&#62;
&#60;p&#62;I'm using the code below to customize page titles, but have only figured out how to make it work placed in my child theme's header.php file. Is it possible to move this code out of that header file and put it in my functions.php? If so, would you be so kind as to provide the syntax that I may copy and paste? Thanks in advance for your attention to this issue.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;title&#38;gt;&#38;lt;?php
	/*
	 * Print the &#38;lt;title&#38;gt; tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( &#38;#39;&#124;&#38;#39;, true, &#38;#39;right&#38;#39; );

	// Add the blog name.
	bloginfo( &#38;#39;name&#38;#39; );

	// Add the blog description for the home/front page.
	$site_description = get_bloginfo( &#38;#39;description&#38;#39;, &#38;#39;display&#38;#39; );
	if ( $site_description &#38;#38;&#38;#38; ( is_home() &#124;&#124; is_front_page() ) )
		echo &#38;quot; &#124; $site_description&#38;quot;;

	// Add a page number if necessary:
	if ( $paged &#38;gt;= 2 &#124;&#124; $page &#38;gt;= 2 )
		echo &#38;#39; &#124; &#38;#39; . sprintf( __( &#38;#39;Page %s&#38;#39;, &#38;#39;twentyten&#38;#39; ), max( $paged, $page ) );

	?&#38;gt;&#38;lt;/title&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20510</link>
<pubDate>Tue, 12 Apr 2011 20:16:01 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20510@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;haha... well yeah, but i do it all the time too.  when i am feeling particularly generous i drop it into whatever theme i current have running in the background.  that is the best way, but plenty of times i just write from memory- which often leads to slightly mangled syntax... like a semi-colon running amuck
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20509</link>
<pubDate>Tue, 12 Apr 2011 20:02:20 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">20509@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks helga.&#60;br /&#62;
I should probably start to pre-write any code snippets in my text editor to take advantage of syntax highlighting - that would avoid typos like these.&#60;br /&#62;
Not much help if the code doesn't work, right? :)
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20507</link>
<pubDate>Tue, 12 Apr 2011 19:05:44 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20507@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@soren, you can add things to header.php via thematic's hook à la the method demo'd by middlesister.  haven't tried it but there could be a typo error or something... that sometimes happens to me.  &#60;/p&#62;
&#60;p&#62;throwing it into my testing environment- the problem was w/ the way the quotes were being used.  this doesn't break anything for me, but i'm not sure the conditional logic is doing exactly what you want... but you can hopefully figure that out.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_create_robots($content) {
	global $paged;
	$content = &#38;quot;\t&#38;quot;;
	if(is_home() &#38;#38;&#38;#38; (!$paged &#124;&#124; $paged == 1) &#124;&#124; is_single()) {
		$content .= &#38;#39;&#38;lt;meta name=&#38;quot;googlebot&#38;quot; content=&#38;quot;index,archive,follow,noodp&#38;quot; /&#38;gt;&#38;#39;;
		$content .= &#38;#39;&#38;lt;meta name=&#38;quot;robots&#38;quot; content=&#38;quot;all,index,follow&#38;quot; /&#38;gt;&#38;#39;;
		$content .= &#38;#39;&#38;lt;meta name=&#38;quot;msnbot&#38;quot; content=&#38;quot;all,index,follow&#38;quot; /&#38;gt;&#38;#39;;
    } else {
		$content .= &#38;#39;&#38;lt;meta name=&#38;quot;googlebot&#38;quot; content=&#38;quot;noindex,noarchive,follow,noodp&#38;quot; /&#38;gt;&#38;#39;;
		$content .= &#38;#39;&#38;lt;meta name=&#38;quot;robots&#38;quot; content=&#38;quot;noindex,follow&#38;quot; /&#38;gt;&#38;#39;;
		$content .= &#38;#39;&#38;lt;meta name=&#38;quot;msnbot&#38;quot; content=&#38;quot;noindex,follow&#38;quot; /&#38;gt;&#38;#39;;
    }
	$content .= &#38;quot;\n\n&#38;quot;;
	return $content;
}
add_filter(&#38;#39;thematic_create_robots&#38;#39;,&#38;#39;childtheme_create_robots&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;the main point is that we prefer to add things via hook/filter versus adding things to header.php or even copying header.php into our child's folder.
&#60;/p&#62;</description>
</item>
<item>
<title>soren on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20504</link>
<pubDate>Tue, 12 Apr 2011 18:05:57 +0000</pubDate>
<dc:creator>soren</dc:creator>
<guid isPermaLink="false">20504@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;middlesister. thank you for helping. It was recommended to put this lines in header.php. I did try your solution in functions.php and it actually got worse :( I got http500 error when using IE, did not show the page at all... and Safari and Firefox did not have this problem...perhaps the cache file is playing with me...&#60;/p&#62;
&#60;p&#62;Anyway if thematic already adding this robots rules then it should be fine and I leave it that way...&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20487</link>
<pubDate>Tue, 12 Apr 2011 07:33:16 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20487@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;yay!!  +1 for middlesister. really great to see someone else answering questions as that helps the community grow.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20485</link>
<pubDate>Tue, 12 Apr 2011 06:51:46 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">20485@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You have added your code above everything else - even before the doctype declaration. This means the webpage hasn't even started yet when your code is executed. &#60;/p&#62;
&#60;p&#62;But there really is no need for you to modify header.php, you can add code to &#38;lt;head&#38;gt; with a hook instead. And in your case, thematic is already adding similar meta robots rules. If you want to change them, you can filter thematic_create_robots.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_create_robots($content) {
	global $paged;
	$content = &#38;quot;\t&#38;quot;;
	if(is_home() &#38;#38;&#38;#38; (!$paged &#124;&#124; $paged == 1) &#124;&#124; is_single()) {
		$content .= &#38;quot;&#38;lt;meta name=&#38;quot;googlebot&#38;quot; content=&#38;quot;index,archive,follow,noodp&#38;quot; /&#38;gt;&#38;quot;;
		$content .= &#38;quot;&#38;lt;meta name=&#38;quot;robots&#38;quot; content=&#38;quot;all,index,follow&#38;quot; /&#38;gt;&#38;quot;;
		$content .= &#38;quot;&#38;lt;meta name=&#38;quot;msnbot&#38;quot; content=&#38;quot;all,index,follow&#38;quot; /&#38;gt;&#38;quot;;
    } else {
		$content .= &#38;quot;&#38;lt;meta name=&#38;quot;googlebot&#38;quot; content=&#38;quot;noindex,noarchive,follow,noodp&#38;quot; /&#38;gt;&#38;quot;;
		$content .= &#38;quot;&#38;lt;meta name=&#38;quot;robots&#38;quot; content=&#38;quot;noindex,follow&#38;quot; /&#38;gt;&#38;quot;;
		$content .= &#38;quot;&#38;lt;meta name=&#38;quot;msnbot&#38;quot; content=&#38;quot;noindex,follow&#38;quot; /&#38;gt;&#38;quot;;
    }
	$content .= &#38;quot;\n\n&#38;quot;;
	return $content;
}
add_filter(&#38;#39;thematic_create_robots&#38;#39;,&#38;#39;childtheme_create_robots&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Put this code in your functions.php. It is best to leave header.php alone.
&#60;/p&#62;</description>
</item>
<item>
<title>soren on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20463</link>
<pubDate>Mon, 11 Apr 2011 21:41:14 +0000</pubDate>
<dc:creator>soren</dc:creator>
<guid isPermaLink="false">20463@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@helgatheviking&#60;/p&#62;
&#60;p&#62;The only thing I added was this&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if(is_home() &#38;#38;&#38;#38; (!$paged &#124;&#124; $paged == 1) &#124;&#124; is_single()) { ?&#38;gt;
&#38;lt;meta name=&#38;quot;googlebot&#38;quot; content=&#38;quot;index,archive,follow,noodp&#38;quot; /&#38;gt;
&#38;lt;meta name=&#38;quot;robots&#38;quot; content=&#38;quot;all,index,follow&#38;quot; /&#38;gt;
&#38;lt;meta name=&#38;quot;msnbot&#38;quot; content=&#38;quot;all,index,follow&#38;quot; /&#38;gt;
&#38;lt;?php } else {?&#38;gt;
&#38;lt;meta name=&#38;quot;googlebot&#38;quot; content=&#38;quot;noindex,noarchive,follow,noodp&#38;quot; /&#38;gt;
&#38;lt;meta name=&#38;quot;robots&#38;quot; content=&#38;quot;noindex,follow&#38;quot; /&#38;gt;
&#38;lt;meta name=&#38;quot;msnbot&#38;quot; content=&#38;quot;noindex,follow&#38;quot; /&#38;gt;
&#38;lt;?php } ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;When I remove this lines from the Header.php... IE works fine and has a left margin but when adding this IE dropps the left margin. I don't know why as both Firefox and Safari has no problem...!&#60;br /&#62;
I use this method to prevent duplicate content recommended by &#34;Diggin Into WordPress&#34; by Chris Coyier and Jeff Starr&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20451</link>
<pubDate>Mon, 11 Apr 2011 14:21:48 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20451@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;why are you modifying header.php?  what changes did you make?
&#60;/p&#62;</description>
</item>
<item>
<title>soren on "Left margin dropped in IE when modify Header.php"</title>
<link>http://themeshaper.com/forums/topic/left-margin-dropped-in-ie-when-modify-headerphp#post-20449</link>
<pubDate>Mon, 11 Apr 2011 13:49:52 +0000</pubDate>
<dc:creator>soren</dc:creator>
<guid isPermaLink="false">20449@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;Don't know what is going wrong here... I use this following code (below the blackhole) in Header.php from &#34;Digging Into WordPress&#34;. What happen is that in Internet Explorer the left margin is dropped but in FireFox and Safari there is no problem. I tried with &#38;lt;head&#38;gt; as a start but that did not help...&#60;/p&#62;
&#60;p&#62;Any solution that can help?&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;'&#60;br /&#62;
&#38;lt;?php include($_SERVER['DOCUMENT_ROOT'] . &#34;/blackhole/blackhole.php&#34;); ?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php if(is_home() &#38;#38;&#38;#38; (!$paged &#124;&#124; $paged == 1) &#124;&#124; is_single()) { ?&#38;gt;&#60;br /&#62;
	&#38;lt;meta name=&#34;googlebot&#34; content=&#34;index,archive,follow,noodp&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;meta name=&#34;robots&#34; content=&#34;all,index,follow&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;meta name=&#34;msnbot&#34; content=&#34;all,index,follow&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;?php } else {?&#38;gt;&#60;br /&#62;
	&#38;lt;meta name=&#34;googlebot&#34; content=&#34;noindex,noarchive,follow,noodp&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;meta name=&#34;robots&#34; content=&#34;noindex,follow&#34; /&#38;gt;&#60;br /&#62;
	&#38;lt;meta name=&#34;msnbot&#34; content=&#34;noindex,follow&#34; /&#38;gt;&#60;br /&#62;
&#38;lt;?php } ?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;/p&#62;
&#60;p&#62;    // Creating the doctype&#60;br /&#62;
    thematic_create_doctype();&#60;br /&#62;
    echo &#34; &#34;;&#60;br /&#62;
    language_attributes();&#60;br /&#62;
    echo &#34;&#38;gt;\n&#34;;&#60;/p&#62;
&#60;p&#62;    // Creating the head profile&#60;br /&#62;
    thematic_head_profile();&#60;/p&#62;
&#60;p&#62;    // Creating the doc title&#60;br /&#62;
    thematic_doctitle();&#60;/p&#62;
&#60;p&#62;    // Creating the content type&#60;br /&#62;
    thematic_create_contenttype();&#60;/p&#62;
&#60;p&#62;    // Creating the description&#60;br /&#62;
    thematic_show_description();&#60;/p&#62;
&#60;p&#62;    // Creating the robots tags&#60;br /&#62;
    thematic_show_robots();&#60;/p&#62;
&#60;p&#62;    // Creating the canonical URL&#60;br /&#62;
    thematic_canonical_url();&#60;/p&#62;
&#60;p&#62;    // Loading the stylesheet&#60;br /&#62;
    thematic_create_stylesheet();&#60;/p&#62;
&#60;p&#62;	if (THEMATIC_COMPATIBLE_FEEDLINKS) {&#60;br /&#62;
    	// Creating the internal RSS links&#60;br /&#62;
    	thematic_show_rss();&#60;/p&#62;
&#60;p&#62;    	// Creating the comments RSS links&#60;br /&#62;
    	thematic_show_commentsrss();&#60;br /&#62;
   	}&#60;/p&#62;
&#60;p&#62;    // Creating the pingback adress&#60;br /&#62;
    thematic_show_pingback();&#60;/p&#62;
&#60;p&#62;    // Enables comment threading&#60;br /&#62;
    thematic_show_commentreply();&#60;/p&#62;
&#60;p&#62;    // Calling WordPress' header action hook&#60;br /&#62;
    wp_head();&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/head&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php &#60;/p&#62;
&#60;p&#62;thematic_body();&#60;/p&#62;
&#60;p&#62;// action hook for placing content before opening #wrapper&#60;br /&#62;
thematic_before(); &#60;/p&#62;
&#60;p&#62;if (apply_filters('thematic_open_wrapper', true)) {&#60;br /&#62;
	echo '&#38;lt;div id=&#34;wrapper&#34; class=&#34;hfeed&#34;&#38;gt;';&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;    // action hook for placing content above the theme header&#60;br /&#62;
    thematic_aboveheader(); &#60;/p&#62;
&#60;p&#62;    ?&#38;gt;   &#60;/p&#62;
&#60;p&#62;    &#38;lt;div id=&#34;header&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;        &#38;lt;?php &#60;/p&#62;
&#60;p&#62;        // action hook creating the theme header&#60;br /&#62;
        thematic_header();&#60;/p&#62;
&#60;p&#62;        ?&#38;gt;&#60;/p&#62;
&#60;p&#62;	&#38;lt;/div&#38;gt;&#38;lt;!-- #header--&#38;gt;&#60;br /&#62;
    &#38;lt;?php&#60;/p&#62;
&#60;p&#62;    // action hook for placing content below the theme header&#60;br /&#62;
    thematic_belowheader();&#60;/p&#62;
&#60;p&#62;    ?&#38;gt;&#60;br /&#62;
    &#38;lt;div id=&#34;main&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;'
&#60;/p&#62;</description>
</item>
<item>
<title>em hr on "Change Nav Menu"</title>
<link>http://themeshaper.com/forums/topic/change-nav-menu#post-6052</link>
<pubDate>Sat, 22 Aug 2009 02:56:29 +0000</pubDate>
<dc:creator>em hr</dc:creator>
<guid isPermaLink="false">6052@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi mdm-&#60;/p&#62;
&#60;p&#62;I'm guessing that you want change the main navigation and are wondering where the javascripts are called? Look in the thematic theme directory and you'll see a header.php file open and you'll see a block of php right before the closing of the head.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php 

thematic_doctitle();
thematic_create_contenttype();
thematic_show_description();
thematic_show_robots();
thematic_canonical_url();
thematic_create_stylesheet();
thematic_show_rss();
thematic_show_commentsrss();
thematic_show_pingback();
thematic_show_commentreply();

wp_head(); ?&#38;gt;

&#38;lt;/head&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thats where you're probably looking to find links to the javascripts.&#60;/p&#62;
&#60;p&#62;The function that you need to filter &#60;code&#62;thematic_head_scripts()&#60;/code&#62; is not listed there but it hooks in to &#60;code&#62;wp_head()&#60;/code&#62; so that is how it's called.  &#60;code&#62;thematic_head_scripts()&#60;/code&#62; is the function that you want to filter if you want to remove the included scripts for the navigation namely... hoverintent.js , superfish.js and supersubs.js and possibly add your own. Look here to find this function:   thematic/library/extentions/header-extentions.php&#60;/p&#62;
&#60;p&#62;Thats the path to getting pointed in the right direction alt least.
&#60;/p&#62;</description>
</item>
<item>
<title>amygail on "Change Nav Menu"</title>
<link>http://themeshaper.com/forums/topic/change-nav-menu#post-6051</link>
<pubDate>Sat, 22 Aug 2009 00:33:17 +0000</pubDate>
<dc:creator>amygail</dc:creator>
<guid isPermaLink="false">6051@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I don't know what P7 uberlink script or P7 PopMenuMagic script is so it's hard to be of much help.&#60;/p&#62;
&#60;p&#62;Can you provide more info?
&#60;/p&#62;</description>
</item>
<item>
<title>mdm172 on "Change Nav Menu"</title>
<link>http://themeshaper.com/forums/topic/change-nav-menu#post-6050</link>
<pubDate>Fri, 21 Aug 2009 23:46:17 +0000</pubDate>
<dc:creator>mdm172</dc:creator>
<guid isPermaLink="false">6050@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks amygail for the response.  I learned that I can replace it (maybe) using my functions.php file but that still begs the question of WHAT to replace.  My header file just looks like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
wp_head(); ?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;/head&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;body class=&#34;&#38;lt;?php thematic_body_class() ?&#38;gt;&#34;&#38;gt;&#60;br /&#62;
&#38;lt;?php thematic_before(); ?&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;div id=&#34;wrapper&#34; class=&#34;hfeed&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php thematic_aboveheader(); ?&#38;gt;   &#60;/p&#62;
&#60;p&#62;    &#38;lt;div id=&#34;header&#34;&#38;gt;&#60;br /&#62;
        &#38;lt;?php thematic_header() ?&#38;gt;&#60;br /&#62;
    &#38;lt;/div&#38;gt;&#38;lt;!-- #header--&#38;gt;&#60;/p&#62;
&#60;p&#62;&#38;lt;?php thematic_belowheader(); ?&#38;gt;   &#60;/p&#62;
&#60;p&#62;    &#38;lt;div id=&#34;main&#34;&#38;gt;&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;No mention of #access or #navlist. So, what am I filtering or hooking.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>amygail on "Change Nav Menu"</title>
<link>http://themeshaper.com/forums/topic/change-nav-menu#post-6049</link>
<pubDate>Fri, 21 Aug 2009 22:01:23 +0000</pubDate>
<dc:creator>amygail</dc:creator>
<guid isPermaLink="false">6049@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;here's a good series of posts to help you understand how to modify your theme&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://themeshaper.com/modify-wordpress-themes/&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/modify-wordpress-themes/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>mdm172 on "Change Nav Menu"</title>
<link>http://themeshaper.com/forums/topic/change-nav-menu#post-6048</link>
<pubDate>Fri, 21 Aug 2009 21:11:41 +0000</pubDate>
<dc:creator>mdm172</dc:creator>
<guid isPermaLink="false">6048@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi All,&#60;br /&#62;
I'm trying to figure out how to change header.php to replace the P7 uberlink script to the P7 PopMenuMagic script.&#60;/p&#62;
&#60;p&#62;Looking at header.php, I can't see the P7 script call or the css link. It just says&#60;br /&#62;
&#60;code&#62; &#38;lt;div id=&#34;header&#34;&#38;gt;&#60;br /&#62;
       php thematic_header()&#60;br /&#62;
    &#38;lt;/div&#38;gt;&#38;lt;!-- #header--&#38;gt;&#60;br /&#62;
&#60;/code&#62; &#60;/p&#62;
&#60;p&#62;So, any help to find where to change the file?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3550</link>
<pubDate>Sun, 26 Apr 2009 20:22:32 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">3550@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;.. you were faster :-)
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3549</link>
<pubDate>Sun, 26 Apr 2009 20:20:18 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">3549@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Seems like Lightbox is jumping in (FF3) .. ok .. will test with the other browsers .. works with Chrome, IE6, IE7, Safari and Opera ..
&#60;/p&#62;</description>
</item>
<item>
<title>manlikemalcolm on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3548</link>
<pubDate>Sun, 26 Apr 2009 20:14:45 +0000</pubDate>
<dc:creator>manlikemalcolm</dc:creator>
<guid isPermaLink="false">3548@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey Chris, after digging around the forum I decided that the lightbox 2 login would suit my purposes quite well! Thanks again...malcolm
&#60;/p&#62;</description>
</item>
<item>
<title>manlikemalcolm on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3547</link>
<pubDate>Sun, 26 Apr 2009 19:32:33 +0000</pubDate>
<dc:creator>manlikemalcolm</dc:creator>
<guid isPermaLink="false">3547@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://michener.malcolmmcatee.com/2009/04/how-large-is-this-painting/&#34; rel=&#34;nofollow&#34;&#62;http://michener.malcolmmcatee.com/2009/04/how-large-is-this-painting/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks Again!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3540</link>
<pubDate>Sun, 26 Apr 2009 12:54:56 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">3540@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Malcolm, Thickbox works with WP's standard jQuery and with Thematic. Running both on my blog with NextGEN.&#60;/p&#62;
&#60;p&#62;Could you provide a link?!&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>manlikemalcolm on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3537</link>
<pubDate>Sat, 25 Apr 2009 23:35:21 +0000</pubDate>
<dc:creator>manlikemalcolm</dc:creator>
<guid isPermaLink="false">3537@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello Chris, thanks that function worked great &#38;#38; I have a pretty good start on the child theme etc. Do you know if the jQuery library included with thematic is compatible with Thickbox? I have troubleshooted all of the other possibilities, all of my paths are correct (verified), I have included the correct class names on my link, etc.&#60;/p&#62;
&#60;p&#62;Thickbox uses a file called jquery-latest.js. I tried including this as well, but no luck...
&#60;/p&#62;</description>
</item>
<item>
<title>manlikemalcolm on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3533</link>
<pubDate>Sat, 25 Apr 2009 19:52:22 +0000</pubDate>
<dc:creator>manlikemalcolm</dc:creator>
<guid isPermaLink="false">3533@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks Chris....haven't quite grasped the child theme concept yet....I just went straight ahead and started hacking away at the thing....but looking at the sample file I know see why this is the way to go.&#60;br /&#62;
Thanks for your help! Thematic is really super awesome!
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3529</link>
<pubDate>Sat, 25 Apr 2009 18:44:44 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">3529@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hey Malcolm,&#60;/p&#62;
&#60;p&#62;doesn't look as if you're working with a child theme .. in your Thematic directory you'll find a sample directory. Move this one to /wp-content/themes and rename it .. Maybe you should re-install Thematic. &#60;/p&#62;
&#60;p&#62;And now all changes can be done in the child theme's directory.&#60;/p&#62;
&#60;p&#62;Edit your child theme's functions.php and add:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function my_script() {?&#38;gt;
   &#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;http://yourdomain.com/wherever/yourscript.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
&#38;lt;?php
}
add_action(&#38;#39;wp_head&#38;#39;, &#38;#39;my_script&#38;#39;,9);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>manlikemalcolm on "Disapperaing Theme + Thickbox?"</title>
<link>http://themeshaper.com/forums/topic/disapperaing-theme-thickbox#post-3526</link>
<pubDate>Sat, 25 Apr 2009 17:17:35 +0000</pubDate>
<dc:creator>manlikemalcolm</dc:creator>
<guid isPermaLink="false">3526@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;A couple of questions here:&#60;/p&#62;
&#60;p&#62;I added the thickbox.js file to libraby &#38;gt; scripts.&#60;br /&#62;
I am not sure which file to edit to call this script. I assumed it was header.php - I am clearly not grasping a crucial Thematic concept here.&#60;/p&#62;
&#60;p&#62;Also, after uploading the script and navigating to appearance &#38;gt; editor. Wordpress tells me that I have no themes installed, however the theme still appears to be working.&#60;/p&#62;
&#60;p&#62;Thanks, Malcolm
&#60;/p&#62;</description>
</item>

</channel>
</rss>
