Yet Another Related Posts Plugin (YARPP)
[resolved] Thumbnail - Related Photos (4 posts)

  1. xpolp32
    Posted 2 years ago #


    I can not figure out how to change the "Related Photos" header. I changed the thumbnail.php, but without any effect.

    Thanks a lot for any hint

    YARPP Template: Thumbnails
    Description: Requires a theme which supports post thumbnails
    Author: mitcho (Michael Yoshitaka Erlewine)
    */ ?>
    <h3>Mohlo by Vás také zajímat</h3>
    <?php if (have_posts()):?>

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

    1. " rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail(); ?>
    2. <?php endif; ?>
      <?php endwhile; ?>

    <?php else: ?>
    <p>No related photos.</p>
    <?php endif; ?>


  2. jeffparker
    Plugin Author

    Posted 2 years ago #

    Are you using a custom template? If so, which one?

    If you're just using the thumbnail button from the "Display options" panel, you should see the <h3> text just beneath it, in that same panel.

  3. xpolp32
    Posted 2 years ago #

    I made mistake in code. Its all right now.

    Can I ask you one off topic WP question. I would like to hide my preview imgae for post, but still use in YARRP thumbnails. Any hint?

    Thx a lot for help.

  4. jeffparker
    Plugin Author

    Posted 2 years ago #

    Hi xpolp32, you'll probably have to edit single.php or a similar page to hide the featured image from displaying. This thread may shed some light for you: http://wordpress.org/support/topic/how-do-i-stop-the-featured-image-showing-in-post-as-well

    Please create a new thread if you want others to help you out.

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


No tags yet.