• Resolved Fabricio10

    (@fabriciobarros10)


    how can i set og:image to shop page?

    I added a featured image but sharing only pulls the image of the last published product

Viewing 5 replies - 1 through 5 (of 5 total)
  • What you’re asking is unclear. What do you mean by og:image? Are you asking how to use open graph tags?

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @evenimous

    yes i want to set the highlight image with share image but i don’t know how to do

    echo “<meta property=’og:image’ content='” . get_the_post_thumbnail_url() . “‘>\n”;

    Saif

    (@babylon1999)

    Hi there,

    yes i want to set the highlight image with share image but i don’t know how to do

    If I understand you correctly, you want the featured images of your product to be the ones showing in the embeds when sharing the link in a Facebook post or elsewhere.

    This should be done by default. Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    I also found someone facing the same problem here, you can check the reply sent as the thread starter says it fixed their problem.

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @babylon1999

    on the product page it appears, but on the “shop” page “mysite.com/shop” does not appear, on the shop page it is pulling the image of the last product

    Plugin Support Rafy a11n

    (@nawaz0705)

    Hi @fabriciobarros10

    In order for us to get a better understanding of your site setup, could you please share a copy of your website’s System Status Report?

    You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘og:image shop page’ is closed to new replies.