First of all I want to thank all of you for you're work :)
I'm kinda new to Thematic... I've created my personalized themes for Wordpress in the past but I wanted to start using frameworks.
Now. I needed to heavily customize the loop of Thematic, and I've understood how to eliminate the standard loop from the them. But I've had quite a lot of difficulties creating my own.
That's the code I've used (it's not complete, I have to add all the meta fields):
function remove_thematic_index_loop(){
remove_action('thematic_indexloop','thematic_index_loop');
}
add_action('init', 'remove_thematic_index_loop');
function child_index_loop(){
while ( have_posts() ) : the_post() ?>
<div id="post-<?php the_ID() ?>" class="<?php thematic_post_class() ?> <?php if ( has_post_thumbnail() ) { echo "conthumb"; } ?>">
<div class="testatapost"><?php the_post_thumbnail(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><div class="entry-title">
<h2><?php the_title(); ?></h2>
<span class="entry-excerpt"><?php the_excerpt(); ?></span>
</div></a>
</div>
<div class="entry-content">
<div class="addtoany_share_save_container"><?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?></div>
<?php thematic_content(); ?>
</div>
<?php thematic_postfooter(); ?>
<br style="clear: both;" />
</div><!-- .post -->
<?php
endwhile;
}
add_action('thematic_indexloop', 'child_index_loop');
(You can see the result in http://test.fermentigattici.net)
The problem is: do I have to replicate this code for single and search and archive pages?
Or can I use child_index_loop for all of these?
More in general: I haven't found a clear documentation about the functions used for generating the loops.
Are there any?
(Sorry for my English: italian schools are not that good teaching it ;) )