<?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 overide</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Wed, 19 Jun 2013 08:39:06 +0000</pubDate>

<item>
<title>teamA on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17868</link>
<pubDate>Tue, 21 Dec 2010 05:41:55 +0000</pubDate>
<dc:creator>teamA</dc:creator>
<guid isPermaLink="false">17868@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I would recommend that the solution from Helga and this topic in general become an article in the documentation. I spent quite a while making incorrect code before coming across this simple, lean solution. It's something I knew must exist - but laying it out in a nice tutorial / example would really help folks who are just getting up to speed (like me).&#60;/p&#62;
&#60;p&#62;Who do we suggest that to?
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17813</link>
<pubDate>Fri, 17 Dec 2010 08:25:57 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">17813@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;worked a charm miss viking!&#60;br /&#62;
thanks
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17492</link>
<pubDate>Sat, 04 Dec 2010 12:59:54 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17492@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;this seems to work for me:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function default_loop(){
  //loopy stuff
}
function childtheme_override_archive_loop(){
	default_loop();
}
function childtheme_override_author_loop(){
	default_loop();
}
function childtheme_override_category_loop(){
	default_loop();
}
function childtheme_override_index_loop(){
	default_loop();
}
function childtheme_override_search_loop(){
	default_loop();
}
function childtheme_override_tag_loop(){
	default_loop();
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>helgatheviking on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17485</link>
<pubDate>Sat, 04 Dec 2010 07:44:09 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17485@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i suppose you could do&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;childtheme_override_archive_loop(){
   default_loop();
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;if you don't want to add and remove actions.  i am going to try this tomorrow (errrr later today when i wake up) as i just modded my index loop.
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17284</link>
<pubDate>Thu, 25 Nov 2010 10:39:05 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">17284@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@vasudeva&#60;br /&#62;
although, in theory that should have worked for me (but does go back to removing/adding functions, when overides seemed like forward progress). it didn't in this particular case. maybe if i was using it in a standard set-up. for some reason, it messed with my archive() tags() statements.&#60;br /&#62;
i'm pulling archive and tag display via an options panel conditional. i was getting a lot of duplicate posts. tried resets to no avail.&#60;br /&#62;
its a little difficult to explain.&#60;br /&#62;
reverted back to my overides and all was good. i'll keep the bloat knowing all is working correctly.&#60;br /&#62;
thanks for you help.&#60;/p&#62;
&#60;p&#62;@chris, had any luck?
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17244</link>
<pubDate>Wed, 24 Nov 2010 02:31:33 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">17244@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;@Vasudeva Adiga&#60;br /&#62;
i'll give that a whirl.
&#60;/p&#62;</description>
</item>
<item>
<title>Vasudeva Adiga on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17142</link>
<pubDate>Sat, 20 Nov 2010 06:01:22 +0000</pubDate>
<dc:creator>Vasudeva Adiga</dc:creator>
<guid isPermaLink="false">17142@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;You will have to remove the default actions hooks before replacing them with new ones:&#60;/p&#62;
&#60;p&#62;remove_action('thematic_categoryloop', 'thematic_category_loop');&#60;br /&#62;
remove_action('thematic_tagloop', 'thematic_tag_loop');&#60;br /&#62;
remove_action('thematic_archiveloop', 'thematic_archive_loop');&#60;br /&#62;
remove_action('thematic_indexloop', 'thematic_index_loop');
&#60;/p&#62;</description>
</item>
<item>
<title>Chris on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17133</link>
<pubDate>Fri, 19 Nov 2010 22:06:02 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid isPermaLink="false">17133@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ok .. will take a look at this one :)&#60;/p&#62;
&#60;p&#62;Chris
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17132</link>
<pubDate>Fri, 19 Nov 2010 20:34:47 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17132@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;neat idea.  i think you'd also have to remove the current loops from those hooks OR define each override as xyz_loop, but i think it could work
&#60;/p&#62;</description>
</item>
<item>
<title>Vasudeva Adiga on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17120</link>
<pubDate>Fri, 19 Nov 2010 08:06:52 +0000</pubDate>
<dc:creator>Vasudeva Adiga</dc:creator>
<guid isPermaLink="false">17120@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;I guess you could do this if you want all of them to use the same loop:&#60;/p&#62;
&#60;p&#62;add_action('thematic_categoryloop', 'xyz_loop');&#60;br /&#62;
add_action('thematic_tagloop', 'xyz_loop');&#60;br /&#62;
add_action('thematic_archiveloop', 'xyz_loop');&#60;br /&#62;
add_action('thematic_indexloop', 'xyz_loop');
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17111</link>
<pubDate>Thu, 18 Nov 2010 20:13:11 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">17111@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;glad you understand the situation.&#60;br /&#62;
it is a code bloat. in basic themes, you could style the main loop and if category, tag loops dont exist, the index loops run through.&#60;br /&#62;
is there a way to bypass loops?
&#60;/p&#62;</description>
</item>
<item>
<title>helgatheviking on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17106</link>
<pubDate>Thu, 18 Nov 2010 18:45:27 +0000</pubDate>
<dc:creator>helgatheviking</dc:creator>
<guid isPermaLink="false">17106@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;have wondered this myself.  it is sort of a pain (and code bloat) to have to override ALL the loops if you'd like them to all be the same.
&#60;/p&#62;</description>
</item>
<item>
<title>Jonny Janiero on "child overide"</title>
<link>http://themeshaper.com/forums/topic/child-overide#post-17100</link>
<pubDate>Thu, 18 Nov 2010 09:01:58 +0000</pubDate>
<dc:creator>Jonny Janiero</dc:creator>
<guid isPermaLink="false">17100@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;i use the child overides a lot.&#60;/p&#62;
&#60;p&#62;lets say i use overide category_loop to change the layout of my category loop.&#60;/p&#62;
&#60;p&#62;have i got to overide index, archive, tag, search individually or can i change the lot by combining the overides?&#60;/p&#62;
&#60;p&#62;hope this makes any sense
&#60;/p&#62;</description>
</item>

</channel>
</rss>
