• Resolved mmdrog

    (@mmdrog)


    hello
    i want to know how can i add these meta`s to my posts

    <meta property=”og:image” content=”https://test.com/wp-content/uploads/2018/111.jpg&#8221; />
    <meta property=”og:image:width” content=”500″ />
    <meta property=”og:image:height” content=”500″ />
    <meta property=”og:image:alt” content=”test” />

    but now
    have just there :

    <meta name=”description” content=”teeeeeeeeeeeeeeeeeest”/>
    <link rel=”canonical” href=”https://testcom/test.php&#8221; />
    <meta property=”og:type” content=”article” />
    <meta property=”og:title” content=”teststststststs” />
    <meta property=”og:description” content=”testststs” />
    <meta property=”og:url” content=”https://testcom/test.php&#8221; />
    <meta property=”og:site_name” content=”site name” />
    <meta property=”article:tag” content=”tagggg” />
    <meta property=”article:section” content=”cat18″ />
    <meta property=”article:published_time” content=”2018-11-15T17:33:10+00:00″ />
    <meta property=”article:modified_time” content=”2018-11-15T17:49:49+00:00″ />
    <meta property=”og:updated_time” content=”2018-11-15T17:49:49+00:00″ />
    <meta property=”og:image” content=”https://test.com/wp-content/uploads/2018/11/test.jpg&#8221; />

    thanks every one

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support amboutwe

    (@amboutwe)

    When you set a custom Facebook image in the metabox, Yoast SEO will output the og:image tags.

    https://kb.yoast.com/kb/custom-open-graph-tags/

    Thread Starter mmdrog

    (@mmdrog)

    i added image for facebook in post and added these :

    <meta property=”og:image” content=”https://test.com/wp-content/uploads/test.jpg&#8221; />
    <meta property=”og:image:width” content=”450″ />
    <meta property=”og:image:height” content=”450″ />

    but how can i add this one too :

    <meta property=”og:image:alt” content=”test” />

    its after width and height

    but is there any way too add this image info for the posts automatic ?

    • This reply was modified 6 years ago by mmdrog.
    Plugin Support amboutwe

    (@amboutwe)

    When you selected the Open Graph image, there is a field called “Alt Text” or “Alternative Text”. This will be used for the og:image:alt tag.

    Thread Starter mmdrog

    (@mmdrog)

    i will add image to my posts

    can take that img + alt for the Open Graph image ? automatically ?

    Plugin Support devnihil

    (@devnihil)

    The og:image:alt has to be set manually as their isn’t a function to automatically set this value in the plugin. We have additional information on customizing Open Graph tags here: https://kb.yoast.com/kb/custom-open-graph-tags/

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read this post before open a new request.

    Thanks for understanding!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘how to add some meta`s’ is closed to new replies.