Im trying to use
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
"><?php the_post_thumbnail(); ?>
<?php endwhile; ?>
in the thematic loop, but i dont see a loop.php file .. how would i do this?
Im trying to use
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
"><?php the_post_thumbnail(); ?>
<?php endwhile; ?>
in the thematic loop, but i dont see a loop.php file .. how would i do this?
you could either override the thematic_index_loop() which is in library/extension/content-extensions.php OR filter thematic_post() which is in the thematic_content() function in the same file.
could you point me to a tutorial on that? i dunno where i would begin i found the content-extensions.php and
// The Index Loop
if (function_exists('childtheme_override_index_loop')) {
function thematic_index_loop() {
childtheme_override_index_loop();
}
} else {
function thematic_index_loop() {
but i dont know how i would over ride it
ah... helg i finally found it, happens to have been solved by the one and only, you.. from another persons post.. :-D
//wrap thumbs in link to post
function my_post_image_html( $html, $post_id, $post_image_id ) {
$html = '<div class="thumbnail">' . $html . '<span class="linktopost">' . get_the_title($post_id) . '</span></div>';
return $html;
}
add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 );
THANK :-D YOU :-D
You must log in to post.