• Resolved The Naked Baker

    (@the-naked-baker)


    I have YARPP installed on my baking blog and I know other users of the plug in have a photo showing along with the header of the post recommended by the plugin. This isn’t working for me. The plugin is recommending other posts alright but only with the title of the post. The related photo is not showing. As it is a baking blog this is important to entice people to look further.

    I have no knowledge of programming and would be so grateful if someone could walk me through how to make this happen.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thumbnail support, in most cases, requires some custom PHP coding. You may be able to get by with the included yarpp-template-thumbnails template, though… copy the yarpp-template-*.php files to your active theme directory, then in YARPP settings choose “use template” and choose that thumbnails template. For starters, that may give you thumbnails displayed, and then you can use some CSS to style them.

    Thread Starter The Naked Baker

    (@the-naked-baker)

    Thank you so much for replying. I realise you probably broke it down to simple language but I’m afraid I still don’t understand what to do.

    I found lots of codes in the Theme Editor but I can’t find yarpp-template-*.php

    Can you give me any further help? I understand it would only take a second for you to actually do it but is difficult to explain to someone who doesn”t understand.

    Thank you very much for trying!

    In the YARPP plugin’s directory (probably something like wp-content/plugins/yet-another-related-posts-plugin) there’s a folder called yarpp-templates. You want to copy the *files* in there into your active theme’s folder. You’ll need to access your server’s files to do this, probably using FTP. I don’t think this is possible using the WordPress Theme Editor.

    Thread Starter The Naked Baker

    (@the-naked-baker)

    I found the template, if this is it.

    */ ?>
    <h3>Related Photos</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; ?>

    I don’t know what to do with it. I’ll have to see if I can find a computer whiz friend to help me out I guess.

    Thanks a mil for your instructions.

    You’ll need to identify your currently active theme and put this file in that folder. Best of luck.

    Hello Mitcho – I am new user of this plugin. Everything is fine so far. Many thanks. I copied the yarrp template files to my theme folder but I need some help on ‘how to go further’.

    When I look at Plugin->Settings->YARRP, the option to use ‘Post Thumbnails’ is disabled because I guess my theme is not utilizing this.

    Is there a way I can get thumbnails for my related posts ? I can look at building ‘Post Thumbnails’ feature in my theme if it is not a significant work. Regards and take care.

    I have copied the Yarpp template to my active themes and it still not working. My theme does accept thumbnails. Now, all is not completely lost. Although the pictures are not showing, the thumbnail boxes with the titles to the related posts are showing. Everything except the image. Could it be that I’m uploading the media wrong? Or is there some other place that I can tweak to show the images?

    I got it. I was not aware that I needed to have a featured image until I read your other post:

    http://wordpress.org/support/topic/yarpp-not-displaying-thumbnails?replies=2

    @nandanjha the custom templates are a different feature than the “thumbnail” view. Here’s more info on turning on post thumbnails in your theme:

    https://codex.wordpress.org/Post_Thumbnails

    @agastelum glad you figured it out.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Photos aren't showing with YARPP’ is closed to new replies.