Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jan-Willem

    (@janwoostendorp)

    This plugin will set a fallback image when no featured image is set. So when a post is missing a featured image, the fallback will be used.
    You can create exceptions.
    So you could set the logo as a fallback.

    Not sure what you want. Hope my answer helps.

    I would like to know this as well. It is not working for me. I set featured images for all of my posts, so that when I post the link to one of my posts on facebook, that is the image that shows up next to the link preview.

    What I want is that when I just post the link to my blog’s homepage, https://www.wineandwatch.com, the image preview that shows up is my logo. I can’t seem to find a way to get this to happen, though. Whenever I try to share my homepage, it gives me 3 choices of pictures and it’s the 3 featured images from my last 3 posts.

    Any way to fix this? Please help!

    Plugin Author Jan-Willem

    (@janwoostendorp)

    After reading both your questions beter again. I understand what you are asking. The plugin does not support that.
    I do have a solution.

    Paste this in functions.php

    function add_home_FB_logo () {
    	if (is_home()) {
    		$image_id = 690; // ADD your image ID here
    		$image = wp_get_attachment_image_src($image_id);
    		echo '<link rel="image_src" href="' . $image[0] . '" />'."\n";
    	}
    }
    add_action('wp_head', 'add_home_FB_logo');

    It may conflict with other plugins that do the same.

    Thread Starter benjancewicz

    (@benjancewicz)

    Thanks so much!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured Image for Home Page?’ is closed to new replies.