WordPress.org

Forums

WordPress Related Posts
[resolved] Setup everything but doesn't show anywhere (8 posts)

  1. chitaranjan.thoudam
    Member
    Posted 1 year ago #

    I have selected the option "Auto Insert Related Posts", also tried adding <?php wp_related_posts()?> in single.php but doesn't show anywhere. My blog is http://nezone.info/

    Any suggestion?

    http://wordpress.org/plugins/wordpress-23-related-posts-plugin/

  2. Mateja
    Member
    Posted 1 year ago #

    Hi, I've checked your blog and it seems to me you don't have our plugin activated, but I've noticed some other related posts...

    Where exactly in the single.php file did you put the code?
    You should have it in the loop preferably right after this line:
    get_template_part( 'content', get_post_format() );
    but still in the while-endwhile block.

    Hope this helps,
    Mateja

  3. chitaranjan.thoudam
    Member
    Posted 1 year ago #

    My mistake, I have selected most of the category as excluded, now I got it.

  4. Mateja
    Member
    Posted 1 year ago #

    Great :) I'll mark this topic as resolved then.

    Happy blogging,
    Mateja

  5. chitaranjan.thoudam
    Member
    Posted 1 year ago #

    Thanks Mateja,
    One more silly question,not exactly related to this thread. I seems to be lost trying to figure out how my post feature image will be shown as thumbnail, most of my post does not have image attached to it.

    Thanks in advance...

  6. Mateja
    Member
    Posted 1 year ago #

    There is no such thing as silly question :)
    When looking for images to generate thumbnails from our plugin looks at several places in this order:

    1. custom field for thumbnail - first you have to enable this option in plugin's settings and then add this exact custom field to your post(s); note that you have to provide an url to actual thumbnail image (size matters, no resizing nor cropping done here)
    2. featured image - if set
    3. first image attached to the post (e.g. if image was inserted through post)
    4. first image in the post (e.g. if it is hot-linked)

    If the plugin cannot find an image in the post or from some reason cannot generate a thumbnail, it returns either our default (abstract) thumbnail or the one you provided in the settings.

    If you have any other question don't hesitate to ask. I'll gladly help.

  7. chitaranjan.thoudam
    Member
    Posted 1 year ago #

    Yeah I was looking for the one you have mentioned in 2nd point, I have many post which does not have any media attached to it...for that showing the abstract images by your plugin is absolutely fine. I am just expecting those post having feature images to be shown with their feature images as thumbnail. Do I need to set all 4 points you have mentioned or if the post has feature image, will that also fall in 2nd point and at least pull the thumbnail for those post.

  8. Mateja
    Member
    Posted 1 year ago #

    If a blog post has a featured image set then this image should be used as thumbnail:

    1. if custom field for this post was not set and
    2. if it is big enough (i.e. WordPress should be able to create a thumbnail from it).

    So the answer is no, you don't have to set all 4 options. Just be aware of the order in which our plugin looks for thumbnail.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.