WordPress.org

Support

Support » Plugins and Hacks » Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] How to display thumbs before related post in sidebar widg

[Plugin: Yet Another Related Posts Plugin] How to display thumbs before related post in sidebar widg

Viewing 13 replies - 1 through 13 (of 13 total)
  • I used the sidebar widget and links will show, however no thumbnails (photo) shows up? I dragged yarpp-template-thumbnail.php and yarpp-template-photoblog.php into my template and selected them in the drop down when checking the box: Display using a custom template file.

    However nothing happens? I just keep getting: Related Photos, No related photos.

    I changed the settings to a max threshold of: 1 and unchecked and checked just about everything.

    I am using the latest 3.1.2 wordpress with the latest buddypress. What could be the problem?

    You have to choose the template in the widget’s options, not in the YARPP options screen. Does that help?

    I had already selected the template in the widget, however nothing happens.

    @famous which template are you using?

    Hello Mitch, I am using a child theme to buddypress’ default theme, without much of a change.

    Sorry, that’s not what I meant. Which YARPP template did you choose to use?

    I tried both YARPP photoblog and thumbnail.

    I run a basic site without the frills, so I cannot be the only one have problems here? I created a sidebar and placed the YARPP widget in it and activated both of the above (YARPP photoblog and thumbnail) and neither one would show any pic, any ideas?

    Well, the photoblog template requires the Yet Another Photoblog plugin, so you might want to check that out. The thumbnail one should work out of the box, though. Have you looked at the code it’s producing on your site? Is it producing an <img> tag, or not at all?

    Hi I’m having the exact same problem. I selected yarpp-template-thumbnail.php and this is the wedsite display code example. This does not look correct to me.

    <h3>Related Photos</h3>

    The plugin works fine if no tempaltes are used.

    Thanks

    This is the code I show:

    <div id="yarpp_widget-3" class="widget widget_yarpp_widget">
    <h3>Related Photos</h3>
    <p>No related photos.</p>
    </div>

    Thanks Greg, I knew I couldn’t be the only one.

    I’m not sure if this helps, but yarpp-template-thumbnail.php checks for has_post_thumbnail function. As explained in the link below, your theme has to support post thumbnails – and the post has to have a thumbnail as well.

    http://codex.wordpress.org/Function_Reference/has_post_thumbnail

    IF both of these things are true, then I suppose it’s a problem with the plugin.

    thanks @chadrew I got it in functions. I didn’t really think about it, but I am using this for the attachment.php and not posts. Does it work with attachment.php?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] How to display thumbs before related post in sidebar widg’ is closed to new replies.
Skip to toolbar