• Resolved lhabrant

    (@lhabrant)


    Hi,

    When I set a static page as front page in WordPress reading options, the og:image tag don’t dsiplay. It seems because the og_frontpage_image is empty. I can’t set og_frontpage_image option because it is hidden when WordPress front page is a static page. In file class-opengraph-image.php, at line 453, I replace $this->set_front_page_image(); with $this->set_posts_page_image(); and it works. Where is the mistake ?

    Thanks.

Viewing 1 replies (of 1 total)
  • Md Mazedul Islam Khan

    (@mazedulislamkhan)

    When you set a static page as the homepage, you can set the open graph image by directly from the edit front page under the Yoast SEO meta box.

Viewing 1 replies (of 1 total)

The topic ‘Font page static page og:image’ is closed to new replies.