• On the site in question, which is a one-page theme template from Kadence, the image used in social media posts is the image of the person heading up the shop… instead of the logo and/or the header image for the page (which is indeed a single-page WordPress site).
    Please let me know how I can make the logo image the image on a social media post header.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    Hey @3cstudio 👋

    I just checked the HTML code of your site and the plugin is adding 3 images. The first one is the Logo, the second one is the person and the third one is a truck. Can you tell me what social media platforms you tried?

    Thread Starter 3cstudio

    (@3cstudio)

    hi @pfefferle — thanks for your response.

    I’ve only tried Facebook — that’s the main social media outlet they wish to be seen on. I tried in both mobile and desktop versions of Facebook. If the Logo is “listed” as the first image, why is it being skipped over for the person’s photo?

    Thanks again.

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    I have no idea how Facebook decides which image might be the best tbh. but you can limit the number of images, so that only the logo will be added. Simply add define( 'OPENGRAPH_MAX_IMAGES', 1 ); to your wp-config file or use the filter opengraph_max_images.

    Thread Starter 3cstudio

    (@3cstudio)

    I added that snippet to wp-config:

    /** Set the og image for Facebook in Open Graph. */
    define( 'OPENGRAPH_MAX_IMAGES', 1 );

    …and the image remained solidly in place, even after all the caches were cleared. Copy/paste that URL into a Facebook feed and see the Preview.

    Thoughts?

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    I checked the HTML of your site and the logo is now definitely the only OpenGraph image. Maybe a cache on Facebook side!?

    (I hope they are not ignoring their own format (OpenGraph) and scrape the site instead!?)

    Thread Starter 3cstudio

    (@3cstudio)

    Huh.
    Did you test by copy/pasting into a Facebook ‘new post’ to see the preview too, and get the person’s image instead as well? Or had you already tested in the past and therefore it was also cached in FB for you as well?
    If the issue lies with FB, do you have any insight into how to get FB to NOT show cached content?

    Thread Starter 3cstudio

    (@3cstudio)

    I ended up having to add the Plugin: Rank Math SEO and setting its Open Graph Thumbnail to a recommended 1200×700 px logo image. That seems to be the effort that makes it work now… can’t keep fiddling with Open Graph any longer, as the client needs to promote now.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.