How can I set og:image

Write about issues that you have found.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

How can I set og:image

Postby pxjk » 04 Jan 2022, 13:56

Hi,

I'm trying to set the og:image for a client's site that pulls the first image used, instead of the logo.

I've tried adding og:image to the _header.php file in /public_html/themes/basis/views/layouts, however, Facebook only reads the first 50kb of data and therefore they're not picking it up.

Please can you advise which file I should be adding it to (or if there's a setting I'm missing in the admin dashboard) that will allow me to achieve the above?

Thanks,

Joe
pxjk
Stranger
 
Posts: 3
Joined: 03 Nov 2021, 14:53
Reputation point: 0

Return to Issues

Who is online

Users browsing this forum: No registered users and 5 guests

cron