<?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: Getting rid of excess template files</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 11:48:30 +0000</pubDate>

<item>
<title>helgatheviking on "Getting rid of excess template files"</title>
<link>http://themeshaper.com/forums/topic/getting-rid-of-excess-template-files#post-20093</link>
<pubDate>Tue, 29 Mar 2011 06:08:06 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20093@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;exactly.  just explained the same thing over here:&#60;br /&#62;
&#60;a href=&#34;http://themeshaper.com/forums/topic/removing-an-action-hook-from-a-post-template#post-20070&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/removing-an-action-hook-from-a-post-template#post-20070&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;once you understand hooks and filters, conditional logic is the missing piece
&#60;/p&#62;</description>
</item>
<item>
<title>stonefree on "Getting rid of excess template files"</title>
<link>http://themeshaper.com/forums/topic/getting-rid-of-excess-template-files#post-20087</link>
<pubDate>Tue, 29 Mar 2011 01:10:48 +0000</pubDate>
<dc:creator>stonefree</dc:creator>
<guid isPermaLink="false">20087@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;OK I think I just need to use conditional tags more. I understand that many of the hooks are empty. I was concerned if I had above_container doing something on a page but didn't want it on the index, I'd have to also remove it on category.php, tag.php, etc. Or if I had additional code or markup on index.php and would have to be copy it to tag.php, etc. But it sounds like conditional tags for hook functions are the way to go and also not to add anything directly to index.php and use hooks instead. Thanks for your help!
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Getting rid of excess template files"</title>
<link>http://themeshaper.com/forums/topic/getting-rid-of-excess-template-files#post-20072</link>
<pubDate>Mon, 28 Mar 2011 21:19:54 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20072@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;gosh, someone else was just concerned about thematic_abovecontainer.  BOTH above and belowcontainer are EMPTY hooks.  unless you add something to them then you don't NEED to remove it- nothing will show there.  if you DO add something to it, but don't want it to show everywhere then you need to add it conditionally.  &#60;/p&#62;
&#60;p&#62;to construct your own logic please check out the WP codex on conditional tags&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Conditional_Tags&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Conditional_Tags&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;here is how to get rid of the sidebar wherever you don't want it:&#60;br /&#62;
&#60;a href=&#34;http://themeshaper.com/forums/topic/remove-sidebar&#34; rel=&#34;nofollow&#34;&#62;http://themeshaper.com/forums/topic/remove-sidebar&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>stonefree on "Getting rid of excess template files"</title>
<link>http://themeshaper.com/forums/topic/getting-rid-of-excess-template-files#post-20058</link>
<pubDate>Mon, 28 Mar 2011 20:22:36 +0000</pubDate>
<dc:creator>stonefree</dc:creator>
<guid isPermaLink="false">20058@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thank you for the reply Helga. Its' not the loop I'm concerned with it's everything else on the page. For example if I have the sidebar or below_container commented out on index (but not page), I would have to comment it out on all the other pages. Or if I just want to add some markup to index.php without having to go through action hooks.
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "Getting rid of excess template files"</title>
<link>http://themeshaper.com/forums/topic/getting-rid-of-excess-template-files#post-20033</link>
<pubDate>Mon, 28 Mar 2011 07:09:59 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">20033@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;well they aren't especially different?&#60;/p&#62;
&#60;p&#62;this might not be a complete solution, but you can create 1 default loop and then set all your other loops to be the same.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function default_loop(){
  echo &#38;quot;we like bacon!&#38;quot;;
}

childtheme_override_index_loop(){
   default_loop();
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and so on.
&#60;/p&#62;</description>
</item>
<item>
<title>stonefree on "Getting rid of excess template files"</title>
<link>http://themeshaper.com/forums/topic/getting-rid-of-excess-template-files#post-20023</link>
<pubDate>Sun, 27 Mar 2011 23:07:27 +0000</pubDate>
<dc:creator>stonefree</dc:creator>
<guid isPermaLink="false">20023@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I recently started using Thematic and after an initial struggle with the learning curve, have come to love it and use it for all my projects now.&#60;/p&#62;
&#60;p&#62;One thing I can't figure out is how to deal with the large number of templates in the Thematic parent folder when using a child theme. I don't want tag.php, category.php , etc - I want them to revert to index.php .I know I can simply delete them from the parent theme, but that doesn't seem like the best way to do it, since an update would replace them. Nor do I want to make copies of index.php and rename them, since a change to index would require changes to everything else.&#60;/p&#62;
&#60;p&#62;Anyone know the solution?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
