Support » Plugin: WordPress Related Posts » Setup everything but doesn't show anywhere

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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,

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

    Great 🙂 I’ll mark this topic as resolved then.

    Happy blogging,

    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…

    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.

    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.

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Setup everything but doesn't show anywhere’ is closed to new replies.