<?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: filters</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Sat, 04 Feb 2012 04:18:53 +0000</pubDate>

<item>
<title>linup on "Changing page-title contents using functions.php"</title>
<link>http://themeshaper.com/forums/topic/changing-page-title-contents-using-functionsphp#post-25091</link>
<pubDate>Mon, 30 Jan 2012 18:09:54 +0000</pubDate>
<dc:creator>linup</dc:creator>
<guid isPermaLink="false">25091@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks ScottNix &#38;#38; helgatheviking for the tips!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Changing page-title contents using functions.php"</title>
<link>http://themeshaper.com/forums/topic/changing-page-title-contents-using-functionsphp#post-25086</link>
<pubDate>Mon, 30 Jan 2012 15:07:33 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">25086@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;some explanation of actions and filters&#60;br /&#62;
&#60;a href=&#34;http://themeshaper.com/forums/topic/need-help-understanding-actions-vs-filters-and-changing-post-meta-and-utility#post-22638&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/need-help-understanding-actions-vs-filters-and-changing-post-meta-and-utility#post-22638&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "Changing page-title contents using functions.php"</title>
<link>http://themeshaper.com/forums/topic/changing-page-title-contents-using-functionsphp#post-25080</link>
<pubDate>Mon, 30 Jan 2012 07:56:23 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">25080@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I wouldn't be the one to walk you through as there are a bunch of different details, but this is just an easy filter.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_page_title($content) {
	if (is_category()) {
		$content = &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
		$content .= __(&#38;#39;Custom Text or Remove:&#38;#39;, &#38;#39;thematic&#38;#39;);
		$content .= &#38;#39; &#38;lt;span&#38;gt;&#38;#39;;
		$content .= single_cat_title(&#38;#39;&#38;#39;, FALSE);
		$content .= &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
		$content .= &#38;#39;&#38;lt;div class=&#38;quot;archive-meta&#38;quot;&#38;gt;&#38;#39;;
		if ( !(&#38;#39;&#38;#39;== category_description()) ) : $content .= apply_filters(&#38;#39;archive_meta&#38;#39;, category_description()); endif;
		$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
	}
	return $content;
}
add_filter(&#38;#39;thematic_page_title&#38;#39;,&#38;#39;childtheme_page_title&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It will now output &#34;Custom Text or Remove:&#34;, you can just remove or change the text there. &#60;/p&#62;
&#60;p&#62;If you were doing a bunch of modifications to all your page titles, you would probably want to then use an override. To override, it looks like this.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_page_title() {
	global $post;

	$content = &#38;#39;&#38;#39;;
	if (is_attachment()) {
			$content .= &#38;#39;&#38;lt;h2 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;#39;;
			$content .= apply_filters(&#38;#39;the_permalink&#38;#39;,get_permalink($post-&#38;gt;post_parent));
			$content .= &#38;#39;&#38;quot; rev=&#38;quot;attachment&#38;quot;&#38;gt;&#38;lt;span class=&#38;quot;meta-nav&#38;quot;&#38;gt;&#38;amp;laquo; &#38;lt;/span&#38;gt;&#38;#39;;
			$content .= get_the_title($post-&#38;gt;post_parent);
			$content .= &#38;#39;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;&#38;#39;;
	} elseif (is_author()) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title author&#38;quot;&#38;gt;&#38;#39;;
			$author = get_the_author_meta( &#38;#39;display_name&#38;#39; );
			$content .= __(&#38;#39;Author Archives: &#38;#39;, &#38;#39;thematic&#38;#39;);
			$content .= &#38;#39;&#38;lt;span&#38;gt;&#38;#39;;
			$content .= $author;
			$content .= &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;#39;;
	} elseif (is_category()) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$content .= __(&#38;#39;Category Archives:&#38;#39;, &#38;#39;thematic&#38;#39;);
			$content .= &#38;#39; &#38;lt;span&#38;gt;&#38;#39;;
			$content .= single_cat_title(&#38;#39;&#38;#39;, FALSE);
			$content .= &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;
			$content .= &#38;#39;&#38;lt;div class=&#38;quot;archive-meta&#38;quot;&#38;gt;&#38;#39;;
			if ( !(&#38;#39;&#38;#39;== category_description()) ) : $content .= apply_filters(&#38;#39;archive_meta&#38;#39;, category_description()); endif;
			$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
	} elseif (is_search()) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$content .= __(&#38;#39;Search Results for:&#38;#39;, &#38;#39;thematic&#38;#39;);
			$content .= &#38;#39; &#38;lt;span id=&#38;quot;search-terms&#38;quot;&#38;gt;&#38;#39;;
			$content .= esc_html(stripslashes($_GET[&#38;#39;s&#38;#39;]));
			$content .= &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;#39;;
	} elseif (is_tag()) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$content .= __(&#38;#39;Tag Archives:&#38;#39;, &#38;#39;thematic&#38;#39;);
			$content .= &#38;#39; &#38;lt;span&#38;gt;&#38;#39;;
			$content .= __(thematic_tag_query());
			$content .= &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;#39;;
	} elseif (is_tax()) {
			global $taxonomy;
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$tax = get_taxonomy($taxonomy);
			$content .= $tax-&#38;gt;labels-&#38;gt;name . &#38;#39; &#38;#39;;
			$content .= __(&#38;#39;Archives:&#38;#39;, &#38;#39;thematic&#38;#39;);
			$content .= &#38;#39; &#38;lt;span&#38;gt;&#38;#39;;
			$content .= thematic_get_term_name();
			$content .= &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;#39;;
	}	elseif (is_day()) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$content .= sprintf(__(&#38;#39;Daily Archives: &#38;lt;span&#38;gt;%s&#38;lt;/span&#38;gt;&#38;#39;, &#38;#39;thematic&#38;#39;), get_the_time(get_option(&#38;#39;date_format&#38;#39;)));
			$content .= &#38;#39;&#38;lt;/h1&#38;gt;&#38;#39;;
	} elseif (is_month()) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$content .= sprintf(__(&#38;#39;Monthly Archives: &#38;lt;span&#38;gt;%s&#38;lt;/span&#38;gt;&#38;#39;, &#38;#39;thematic&#38;#39;), get_the_time(&#38;#39;F Y&#38;#39;));
			$content .= &#38;#39;&#38;lt;/h1&#38;gt;&#38;#39;;
	} elseif (is_year()) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$content .= sprintf(__(&#38;#39;Yearly Archives: &#38;lt;span&#38;gt;%s&#38;lt;/span&#38;gt;&#38;#39;, &#38;#39;thematic&#38;#39;), get_the_time(&#38;#39;Y&#38;#39;));
			$content .= &#38;#39;&#38;lt;/h1&#38;gt;&#38;#39;;
	} elseif (isset($_GET[&#38;#39;paged&#38;#39;]) &#38;#38;&#38;#38; !empty($_GET[&#38;#39;paged&#38;#39;])) {
			$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;
			$content .= __(&#38;#39;Blog Archives&#38;#39;, &#38;#39;thematic&#38;#39;);
			$content .= &#38;#39;&#38;lt;/h1&#38;gt;&#38;#39;;
	}
	$content .= &#38;quot;\n&#38;quot;;
	echo apply_filters(&#38;#39;thematic_page_title&#38;#39;, $content);
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>linup on "Changing page-title contents using functions.php"</title>
<link>http://themeshaper.com/forums/topic/changing-page-title-contents-using-functionsphp#post-25079</link>
<pubDate>Mon, 30 Jan 2012 06:36:55 +0000</pubDate>
<dc:creator>linup</dc:creator>
<guid isPermaLink="false">25079@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hi there-&#60;br /&#62;
Loving this framework, but am new to any development &#38;#38; need some guidance as to how to change things using filters &#38;#38; action hooks....&#60;br /&#62;
For example, I need to get rid of the words &#34;category archives&#34; on my cat archives pages. These are default in the &#34;page-title.&#34;&#60;br /&#62;
I found the related code in content-extensions.php file (library &#38;gt; extensions folder). See below. I know I have to make this happen in my functions.php file in my child theme... but I am not clear on what to write in the functions.php code to get rid of the words, Category Archives.&#60;br /&#62;
Would someone be so kind as to walk me through this?&#60;br /&#62;
Thanks in advance... and thanks for this time-saving gem of a theme!&#60;br /&#62;
Lindsay&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Code from content-extensions.php
// Filter the page title

// located in archive.php, attachement.php, author.php, category.php, search.php, tag.php

if (function_exists(&#38;#39;childtheme_override_page_title&#38;#39;))  {

	function thematic_page_title() {

		childtheme_override_page_title();

	}

} elseif (is_category()) {

				$content .= &#38;#39;&#38;lt;h1 class=&#38;quot;page-title&#38;quot;&#38;gt;&#38;#39;;

				$content .= __(&#38;#39;Category Archives:&#38;#39;, &#38;#39;thematic&#38;#39;);

				$content .= &#38;#39; &#38;lt;span&#38;gt;&#38;#39;;

				$content .= single_cat_title(&#38;#39;&#38;#39;, FALSE);

				$content .= &#38;#39;&#38;lt;/span&#38;gt;&#38;lt;/h1&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot;;

				$content .= &#38;#39;&#38;lt;div class=&#38;quot;archive-meta&#38;quot;&#38;gt;&#38;#39;;

				if ( !(&#38;#39;&#38;#39;== category_description()) ) : $content .= apply_filters(&#38;#39;archive_meta&#38;#39;, category_description()); endif;

				$content .= &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "WP Candy - An Introduction to Hooks"</title>
<link>http://themeshaper.com/forums/topic/wp-candy-an-introduction-to-hooks#post-22954</link>
<pubDate>Sat, 03 Sep 2011 15:07:16 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">22954@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;for newbs wondering about hooks and filters this is a decent tutorial:&#60;br /&#62;
&#60;a href=&#34;http://wpcandy.com/teaches/how-to-use-wordpress-hooks&#34; rel=&#34;nofollow&#34;&#62;http://wpcandy.com/teaches/how-to-use-wordpress-hooks&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>craw on "adding widget areas under header"</title>
<link>http://themeshaper.com/forums/topic/adding-widget-areas-under-header#post-22864</link>
<pubDate>Fri, 26 Aug 2011 22:42:38 +0000</pubDate>
<dc:creator>craw</dc:creator>
<guid isPermaLink="false">22864@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello all- I want to add 4 widget areas that will span across the page above the container and primary/secondary areas.&#60;/p&#62;
&#60;p&#62;My first question is- do they already exist and can I just style an existing widget area (like &#34;widget-top&#34;)?&#60;/p&#62;
&#60;p&#62;If not, what document can you point me to to get started?&#60;/p&#62;
&#60;p&#62;Also, can I do this with hooks and/or filters? I'm pretty good styling thematic with css but I'm a novice when it comes to hooks/filters.&#60;/p&#62;
&#60;p&#62;Here is a diagram of what i'd like to accomplish- &#60;a href=&#34;http://64.79.143.234/diagram/outline.jpg&#34; rel=&#34;nofollow&#34;&#62;http://64.79.143.234/diagram/outline.jpg&#60;/a&#62; - basically, all the boxes with question marks I need help with.&#60;/p&#62;
&#60;p&#62;Thanks for any help
&#60;/p&#62;</description>
</item>
<item>
<title>noumaan on "'Read more' link in excerpt redux"</title>
<link>http://themeshaper.com/forums/topic/read-more-link-in-excerpt-redux#post-22481</link>
<pubDate>Sun, 31 Jul 2011 00:30:42 +0000</pubDate>
<dc:creator>noumaan</dc:creator>
<guid isPermaLink="false">22481@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@scottNix Thank you it worked
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "'Read more' link in excerpt redux"</title>
<link>http://themeshaper.com/forums/topic/read-more-link-in-excerpt-redux#post-22476</link>
<pubDate>Sat, 30 Jul 2011 00:57:49 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">22476@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Looks like his code got mangled and the link turned active.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;&#38;#39;.get_permalink().&#38;#39;&#38;quot; class=&#38;quot;more-link&#38;quot;&#38;gt;Read more &#38;amp;raquo;&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Will link to the post, although feel free to modify the class and Read More text
&#60;/p&#62;</description>
</item>
<item>
<title>noumaan on "'Read more' link in excerpt redux"</title>
<link>http://themeshaper.com/forums/topic/read-more-link-in-excerpt-redux#post-22475</link>
<pubDate>Fri, 29 Jul 2011 21:38:09 +0000</pubDate>
<dc:creator>noumaan</dc:creator>
<guid isPermaLink="false">22475@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I am a total newbie to child theme development. &#60;/p&#62;
&#60;p&#62;I have a question, using @whatsthebigidea's code I am able to get the excerpts with Read more at the end. Now how do I make this Read more a link to the post?
&#60;/p&#62;</description>
</item>
<item>
<title>umberto on "Filtering Thematic_page_title"</title>
<link>http://themeshaper.com/forums/topic/filtering-thematic_page_title#post-21358</link>
<pubDate>Wed, 18 May 2011 20:04:55 +0000</pubDate>
<dc:creator>umberto</dc:creator>
<guid isPermaLink="false">21358@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I'm still getting to grips with filtering and overriding but overrides don't seem to work without a 'return' line eg (this removes the 'published' before the date):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function childtheme_override_postmeta_entrydate() {

	    $entrydate = &#38;#39;&#38;lt;span class=&#38;quot;meta-prep meta-prep-entry-date&#38;quot;&#38;gt;&#38;#39; . __(&#38;#39; &#38;#39;, &#38;#39;thematic&#38;#39;) . &#38;#39;&#38;lt;/span&#38;gt;&#38;#39;;
	    $entrydate .= &#38;#39;&#38;lt;span class=&#38;quot;entry-date&#38;quot;&#38;gt;&#38;lt;abbr class=&#38;quot;published&#38;quot; title=&#38;quot;&#38;#39;;
	    $entrydate .= get_the_time(thematic_time_title()) . &#38;#39;&#38;quot;&#38;gt;&#38;#39;;
	    $entrydate .= get_the_time(thematic_time_display());
	    $entrydate .= &#38;#39;&#38;lt;/abbr&#38;gt;&#38;lt;/span&#38;gt;&#38;#39;;

	    return $entrydate;
	    }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Snip out the &#60;code&#62;return $entrydate;&#60;/code&#62; and it removes the whole of the postmeta entrydate.
&#60;/p&#62;</description>
</item>
<item>
<title>Andrew on "Filtering Thematic_page_title"</title>
<link>http://themeshaper.com/forums/topic/filtering-thematic_page_title#post-21355</link>
<pubDate>Wed, 18 May 2011 18:22:18 +0000</pubDate>
<dc:creator>Andrew</dc:creator>
<guid isPermaLink="false">21355@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Woah,  That was a little bit of a slip.. :-)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function remove_cat_titles() {
function remove_cat_titles() {&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks so much Helga for clarifying the Thematic child theme overides,  I had no idea this existed and I'll be happy to investigate it further.&#60;br /&#62;
And thanks Kwight for the list of all the overrides.  Super handy.&#60;/p&#62;
&#60;p&#62;I look forward to be able to help in this community a little more as my knowledge gets to a basic level :-)
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21269</link>
<pubDate>Thu, 12 May 2011 19:32:02 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21269@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Its just that the &#60;code&#62;init&#60;/code&#62; action fires really really early in the process, and the conditionals have not been set yet. If you need them, you need to add your action somewhere later. I don't really know all the wordpress actions or their order, but I have seen template_redirect been recommended before when there was a need for conditionals to work. I guess that template_redirect is used somewhere around fetching the right template page, so the conditinals &#60;em&#62;definitely&#60;/em&#62; need to be set by then.
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21268</link>
<pubDate>Thu, 12 May 2011 19:03:46 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21268@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks for the explanation. I've now been better edumacated on how Thematic works and what's really possible! :)&#60;/p&#62;
&#60;p&#62;EDIT: Oooh ooh. One more. What's the &#60;code&#62;template_redirect&#60;/code&#62; for? Haven't seen that used before.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21264</link>
<pubDate>Thu, 12 May 2011 18:50:26 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21264@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Digging deeeep in the souce code. ;)&#60;/p&#62;
&#60;p&#62;No, really, the actions and order of thematic_footer are in footer_extensions.php and the action hooks for subsidiaries can be found in sidebar-extensions.php. I did a folderwise search for &#34;&#60;code&#62;widget_area_subsidiaries()&#60;/code&#62;&#34;, and they all popped up in the results. There really are action hooks everywhere -  &#60;code&#62;thematic_before_first_sub()&#60;/code&#62;, &#60;code&#62;thematic_between_firstsecond_sub()&#60;/code&#62;, &#60;code&#62;thematic_between_secondthird_sub()&#60;/code&#62;  etc. &#60;/p&#62;
&#60;p&#62;Not all actions have priorities, but the ones added to &#60;code&#62;thematic_header&#60;/code&#62; and &#60;code&#62;thematic_footer&#60;/code&#62; have for sure. This makes it easy to switch the order of the div's around if you want. I haven't read about it in the docs either, but now we know the widget_area_subsidiaries have priorities too.
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21263</link>
<pubDate>Thu, 12 May 2011 18:28:31 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21263@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Last question, and this is for my personal knowledge, where did you come up with the order number for subsidiaries? I know we're supposed to use them with removing actions, but I never read anywhere in the docs about subsidiaries having an order.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21262</link>
<pubDate>Thu, 12 May 2011 18:23:14 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21262@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Phew finally! :-D&#60;/p&#62;
&#60;p&#62;I wonder too. From what I see, &#60;code&#62;widget_area_subsidiaries()&#60;/code&#62; is actually an action hook to which all the subsidiaries gets attached. My last resort would have been to unhook them all in order and add them conditionally back again, but I'm glad this worked too. I guess the hook function could not be conditionally replaced with the childtheme_override, don't really understand why though.
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21261</link>
<pubDate>Thu, 12 May 2011 18:11:36 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21261@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;That actually worked. I wonder why that is. Is there any other info you want from me to try and get to the bottom of this?&#60;/p&#62;
&#60;p&#62;Thanks for the patience and help!
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21260</link>
<pubDate>Thu, 12 May 2011 18:01:22 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21260@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hm. Does it work if we go the add/remove action route?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function remove_subsidiaries() {
	remove_action(&#38;#39;thematic_footer&#38;#39;, &#38;#39;thematic_subsidiaries&#38;#39;, 10);
}
add_action(&#38;#39;init&#38;#39; , &#38;#39;remove_subsidiaries&#38;#39; );

function readding_subsidiaries() {
	if( is_front_page() ) {
		add_action(&#38;#39;thematic_footer&#38;#39;, &#38;#39;thematic_subsidiaries&#38;#39;, 10);
	}
}
add_action(&#38;#39;template_redirect&#38;#39; , &#38;#39;readding_subsidiaries&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21259</link>
<pubDate>Thu, 12 May 2011 17:43:29 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21259@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;It definitely is front-page. I've used that to test. And still nothing even with the conditional statement. I.Am.Stumped.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21258</link>
<pubDate>Thu, 12 May 2011 17:40:25 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21258@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Well I can't see anything from the top of my mind. I guess you can clearly see that the template is used on the front page. Have you tried putting anything else in another action hook, just to see if is_front_page() works at all? Something like&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function front_page_test() {
    if ( is_front_page() ) {
        echo &#38;#39;bacon!&#38;#39;;
    }
}
add_action(&#38;#39;thematic_abovecontent&#38;#39; , &#38;#39;front_page_test&#38;#39;)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Otherwise, maybe you could try &#60;code&#62;is_page_template(&#38;#39;front-page.php&#38;#39;)&#60;/code&#62; for the conditional in the childtheme_override function...
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21257</link>
<pubDate>Thu, 12 May 2011 17:23:47 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21257@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;No, not in that template, but I am in another one in my child theme root for a Nivo Slider. Here is the code for my front-page.php&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*

 Template Name: Front Page

 */

    // calling the header.php
    get_header();

    // action hook for placing content above #container
    thematic_abovecontainer();

?&#38;gt;

		&#38;lt;div id=&#38;quot;container&#38;quot; class=&#38;quot;dv-front&#38;quot;&#38;gt;

			&#38;lt;?php thematic_abovecontent(); ?&#38;gt;

			&#38;lt;div id=&#38;quot;content&#38;quot; class=&#38;quot;dv-front&#38;quot;&#38;gt;
	          &#38;lt;?php /*
				&#38;lt;div id=&#38;quot;slider&#38;quot; class=&#38;quot;&#38;lt;?php echo (is_home()) ? &#38;#39;home&#38;#39; : &#38;#39;normal&#38;#39;; ?&#38;gt;&#38;quot;&#38;gt;
					&#38;lt;?php
				    $tmp = $wp_query;
				    $wp_query = new WP_Query(&#38;#39;posts_per_page=3&#38;#38;category_name=hero&#38;#39;);
				    if(have_posts()) : while(have_posts()) : the_post();
				    ?&#38;gt;
				    	&#38;lt;?php the_post_thumbnail(&#38;#39;nivoFront&#38;#39;); ?&#38;gt;
				    &#38;lt;?php
				    endwhile; endif;
					$wp_query = $tmp;
				    ?&#38;gt;
		*/ ?&#38;gt;
				&#38;lt;?php /*?&#38;gt;&#38;lt;/div&#38;gt;&#38;lt;!-- close #slider --&#38;gt;&#38;lt;?php */?&#38;gt;

	        &#38;lt;?php

	        thematic_belowpost();

	        // calling the comments template
	        thematic_comments_template();

	        // calling the widget area &#38;#39;page-bottom&#38;#39;
	        get_sidebar(&#38;#39;page-bottom&#38;#39;);

	        ?&#38;gt;

			&#38;lt;/div&#38;gt;&#38;lt;!-- #content --&#38;gt;

			&#38;lt;?php thematic_belowcontent(); ?&#38;gt; 

		&#38;lt;/div&#38;gt;&#38;lt;!-- #container --&#38;gt;
	&#38;lt;div id=&#38;quot;clear&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
&#38;lt;?php 

    // action hook for placing content below #container
    thematic_belowcontainer();

    // calling footer.php
    get_footer();

?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The query I have there is commented out, and will be used for use later. I will have to reset that, since I haven't already in that code. But mayeb you can see something else in here that is causing the problem.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21256</link>
<pubDate>Thu, 12 May 2011 17:12:42 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21256@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yes, front-page.php will override that and get used. &#60;/p&#62;
&#60;p&#62;Are you by any chance using query_posts() in that template? It will change the global values of $wp_query so some conditionals will no longer be the same. Take a look at &#60;a href=&#34;http://themeshaper.com/forums/topic/multiple-loops-demystified#post-21144,&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/multiple-loops-demystified#post-21144,&#60;/a&#62; and make sure that the global values are restored. Otherwise, wordpress will no longer know that it is on the front page.
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21255</link>
<pubDate>Thu, 12 May 2011 17:03:38 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21255@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;haha. I guess it's not. it is set to latest posts, but I thought front-page.php overrides that. I did try is_home() and still nothing. I feel like a dam amateur over here!!
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21254</link>
<pubDate>Thu, 12 May 2011 17:00:27 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21254@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You don't have your home page set? Is that even possible? :-)&#60;/p&#62;
&#60;p&#62;What does your wordpress settings say, a static page or the blog page?
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21252</link>
<pubDate>Thu, 12 May 2011 16:53:02 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21252@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;This is super annoying. I don't have my home page set. Front-page.php is the home. Not sure what to do now.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21251</link>
<pubDate>Thu, 12 May 2011 16:47:01 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21251@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Weird. I tried it on a test install and it works for me. The name of the function is just like I wrote - &#60;code&#62;childtheme_override_subsidiaries()&#60;/code&#62;. Place it straight in your functions.php and not inside another function. You don't need any add_action or add_filter for it to get used.&#60;/p&#62;
&#60;p&#62;This code will only add the subsidiaries widget on the front page and not to any other pages. You can also try with &#60;code&#62;is_home()&#60;/code&#62; if your front page is your blog page.
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21249</link>
<pubDate>Thu, 12 May 2011 16:34:28 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21249@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Nevermind... wasn't using &#60;code&#62;childtheme_override_widget_area_subsidiaries&#60;/code&#62;. Works like a charm now. Thanks. Now I'm more familiar with child theme overrides.&#60;/p&#62;
&#60;p&#62;EDIT: I lied. The widgets are back with that last change in code... I can't figure this out for the life of me.
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21248</link>
<pubDate>Thu, 12 May 2011 16:30:22 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21248@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hmmm... I tested without the filter and still the same result. Not sure what the culprit is.
&#60;/p&#62;</description>
</item>
<item>
<title>middlesister on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21247</link>
<pubDate>Thu, 12 May 2011 16:11:15 +0000</pubDate>
<dc:creator>middlesister</dc:creator>
<guid isPermaLink="false">21247@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You don't need to apply any filters when you use a childtheme_override. Thematic will see your function and use it instead of the original.
&#60;/p&#62;</description>
</item>
<item>
<title>chris_s on "Remove widgetized areas except from home page"</title>
<link>http://themeshaper.com/forums/topic/remove-widgetized-areas-except-from-homepage#post-21244</link>
<pubDate>Thu, 12 May 2011 16:00:50 +0000</pubDate>
<dc:creator>chris_s</dc:creator>
<guid isPermaLink="false">21244@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I guess I'm missing something. When I use that and apply the filter, it removes it from all pages, including the front page...
&#60;/p&#62;</description>
</item>

</channel>
</rss>

