Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Steve M

    (@wpsmort)

    Hi rtomo,

    You can go to All in One SEO, Social Meta and set the Select OG:Image Source dropdown to First Available Image. The way this option works is that it uses the Featured Image, if none is set it looks for an image in the post content, then it looks for an image attached to the post, and finally it falls back to the Default Image if no images are present for the post.

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Thank you, but…
    When im dont add the featured image, the plugin doesnt add to the header og:image code line.
    Why?

    Plugin Support Steve M

    (@wpsmort)

    Hi rtomo,

    What do you have set under All in One SEO, Social Meta, Select OG:Image Source? Can you provide me with the URL of a post that doesn’t have a featured image.

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Hi!

    Dont post, that problem on pages.

    Here is when i’m add featured image: https://shisharoma.com/tastes/

    ....
    <meta property="og:type" content="article" />
    <meta property="og:url" content="https://shisharoma.com/tastes/" />
    <meta property="og:image" content="https://shisharoma.com/wp-content/uploads/hokah-steam-stone-pack-800x533.jpg" />
    <meta property="og:site_name" content="Shisharoma - High quality shisha steam stones" />
    ....

    And here isnt add featured image: https://shisharoma.com/re-flavoring-and-re-using-shisharoma/

    ....
    <meta property="og:type" content="article" />
    <meta property="og:url" content="https://shisharoma.com/re-flavoring-and-re-using-shisharoma/" />
    <meta property="og:site_name" content="Shisharoma - High quality shisha steam stones" />
    ....

    Plugin Support Steve M

    (@wpsmort)

    What do you have set under All in One SEO, Social Meta, Select OG:Image Source?

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Here it is: https://i59.tinypic.com/98dmvp.png

    (Kiemelt = featured)

    Plugin Support Steve M

    (@wpsmort)

    In that case please see my earlier response where I suggested you change that to First Available Image.

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Hy!

    I’m tried that. Dont solve the problem ??
    This options add the second (not the frist) avaible picture to og:image.

    Plugin Support Steve M

    (@wpsmort)

    Hi rtomo,

    That option uses the Featured Image, if none is set it looks for an image in the post content, then it looks for an image attached to the post, and finally it falls back to the Default Image if no images are present for the post.

    Thread Starter Tamas Rottenbacher

    (@rtomo)

    Only the post? And the pages?

    Plugin Support Steve M

    (@wpsmort)

    This option works for all content types – posts, pages and custom post types.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Default OG:Image when featured image not specified’ is closed to new replies.