WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. xpolp32
    Member
    Posted 10 months ago #

    Hi,

    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

    <?php
    /*
    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; ?>

    http://wordpress.org/plugins/yet-another-related-posts-plugin/

  2. jeffparker
    Member
    Plugin Author

    Posted 10 months 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
    Member
    Posted 9 months 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
    Member
    Plugin Author

    Posted 9 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.