WordPress.org

Ready to get started?Download WordPress

Forums

next_post_link & timthumb (1 post)

  1. estellespecque
    Member
    Posted 4 years ago #

    hello

    I want to insert the image (croped and resized by the script timthumb)of the next post into next_post_link() but i dont know how to do...?

    i just have :
    <?php previous_post_link('%link','$what_i_want')

    and today $what_i_want is :
    <img class="miniature" src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>&h=150&w=&150&zc=1" alt="<?php the_title(); ?>" width="100" height="100" />

    but it doesn't match...

    If somebody have my answer :) ?
    sainkiou

    Estelle

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by estellespecque
  • This topic is not resolved
  • WordPress version: 2.8.4