Hi,
why don’t you want to use yoast plugin to achieve this ?
thanks
Hi,
Because the standard wp_head() function does it and it’s fine by me.
So is there a way not to format the header the way you do it ?
thx
Hello,
here’s where the theme calls the standard wp_head()
https://github.com/Nikeo/customizr/blob/master/inc/parts/class-header-header_main.php#L117
Where did you find that the standard wp_head() does that?
For example if I switch to the standard wordpress theme twentyfifteen I don’t see any og:tags
@fredquie The standard wp_head function in WordPress does not do that, in fact. WordPress has no code to output OpenGraph tags of any sort.
OpenGraph tags can be added to the header using plugins like Yoast’s SEO plugin, or the Publicize module in Jetpack. These plugins use the wp_head code to do it, but unless you have one of those plugins active, then no og: meta will be created.
Use a plugin to add those. There’s lots of them.
All right 😉
Thank you very much !
Subject closed.