ThemeShaper Forums » Thematic


Where is Thematic loop?

(4 posts)
  • Started 8 years ago by mrmikeman
  • Latest reply from mrmikeman
  • This topic is resolved


  1. mrmikeman

    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?

    Posted 8 years ago #
  2. 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.

    Posted 8 years ago #
  3. mrmikeman

    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() {



    } else {

    function thematic_index_loop() {

    but i dont know how i would over ride it

    Posted 8 years ago #
  4. mrmikeman

    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

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.