• I installed the plugin “Post Thumbs” found here;
    http://theblemish.com/post-thumbs-plugin/

    where in the loop to I add this? :

    This plugin needs to be used in The Loop. You have to echo tb_post_thumb(). The function looks like this:

    tb_post_thumb($generate=false, $alt_text=”, $resize_width = 0, $resize_height = 0, $crop_x = 0, $crop_y = 0)

    And shouldn’t there be some brackets or something surrounding it?

Viewing 1 replies (of 1 total)
  • Thread Starter OzBlog

    (@ozblog)

    sorry im a super newbie at this

    this is what my index looks like, where do i put this function and do i just copy and paste it exactly as it is?;

    <?php get_header(); ?>
    <div id=”container”>
    <div id=”entries”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <h3><?php the_category(‘, ‘) ?></h3><h1 style=”display:inline;”>” style=”color:#008000;”><?php the_title(); ?></h1><div style=”margin-top:-2px;”>

    <small><?php the_time(‘m.d.y’); ?> <b>|</b> “>Permalink <b>|</b> <?php comments_popup_link(‘Comment?’, ‘1 Comment’, ‘% Comments’ ) ?> </small></div>

    <div class=”post”>
    <?php the_excerpt(); ?>

    </div><!–end posts–>

    <?php endwhile; ?>
    <?php else : ?>
    <!– no posts –>

    <h2>Sorry, no posts were found</h2>
    <?php endif; ?>

    <?php next_posts_link(‘« Previous Entries’) ?>
    <?php previous_posts_link(‘» Next Entries’) ?>

    </div><!–end entries–>
    <?php get_sidebar(); ?>
    </div><!– end container –>
    <?php get_footer(); ?>

Viewing 1 replies (of 1 total)

The topic ‘Adding stuff to the loop’ is closed to new replies.