Support » Plugin: Smarter Navigation » [Plugin: Smarter Navigation] Trying to get smarter navigation to work with thumbnails

  • Resolved 12vidcom

    (@12vidcom)


    This is what I’m using.. what am i doing wrong? (I got no programming skills at all)

    <?php previous_post_smart(
    $format = ‘« %link’,
    $title = ‘%title’,
    $fallback = true,
    $in_same_cat = false,
    $excluded_categories = ”
    ); ?><?php $nextPost = get_adjacent_id_smart(true); $nextthumbnail = get_the_post_thumbnail($nextPost->ID, array(147,101) ); echo $nextthumbnail; ?>

Viewing 1 replies (of 1 total)
  • Plugin Author scribu

    (@scribu)

    Just replace $nextPost->ID with $nextPost.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Smarter Navigation] Trying to get smarter navigation to work with thumbnails’ is closed to new replies.