Site logo

Archived topic

Where to add meta data code to fix OG logo in SMS?

3 replies · Started by Eugene on August 8, 2018

Viewing posts 1–4 of 4

Hi there! I need to add some meta data lines to change my page's open graph protocol image so that it shows the correct logo in SMS, but I'm having a bit of trouble. It's a static page website with a single home page. It used to have an older logo that I've since replaced with a newer logo. I've replaced it in the websites identity within the site appearance, but the old logo still appears in SMS previews.

In order to change this I need to add something like

<meta property="og:image" content="http://mywordpresswebsite.com/images/logo.jpg" />

into the header of wp-content/themes/generatepress/header.php correct?

edit:more accurate title

Hi there,

Sounds like it should be the wp_head hook.

Let me know if this helps :)

Thanks. I ended up finding the correct location but I guess my phone memory cache was showing me the old logo. When I sent a text with the URL to my girlfriend, the rich data preview showed the new logo for her.

No problem :)

This archived topic is closed to new replies.