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.

Yet Another Related Posts Plugin (YARPP)
using other image instead of post thumbnail (1 post)

  1. dcumberland
    Posted 2 years ago #

    Hi there,

    My theme has a featured image built in. The image is displayed using this code:

    <a href="<?php the_permalink(); ?>">                                                                                                                                                                                                             
                                   if (get_post_meta($post->ID, 'blog-full-image', true)){
                                      <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                                      <img class="extended-blog-image" src="<?php echo get_post_meta($post->ID, 'blog-full-image', true); ?>" alt="<?php the_title(); ?>" />

    I'm trying to make YARPP show that image (blog-full-image) instead of the post-thumbnail. I know this isn't how the plugin is designed to work, but it would make my life a lot easier if I could make this happen. Could anyone help?

    ps - i know just enough code to get myself into trouble, so please forgive any ignorance in this question.
    pps- here's my site: http://sparkflyphotography.com


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic