The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

next_post_link & timthumb (1 post)

  1. estellespecque
    Posted 6 years ago #


    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 :) ?


Topic Closed

This topic has been closed to new replies.

About this Topic

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