I have Yoast SEO installed with my Scalia theme. Problem is that I get double facebook og meta tags on my post pages where I have Scalia share buttons.
I would only like the Yoast SEO og tags and remove the other one. How do I fix that? See the attached pictures.
Hi,
I have Yoast SEO installed with my Scalia theme. Problem is that I get double facebook og meta tags on my post pages where I have Scalia share buttons.
I would only like the Yoast SEO og tags and remove the other one. How do I fix that? See the attached pictures.
Thanks!
HI!
You need to edit:
/wp-content/themes/scalia/functions.php
line 352
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Exactly how should I edit that line? Im using Scalia child theme.
HI!
You can remove whole action:
https://codex.wordpress.org/Function_Reference/remove_action
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Ok! I want to remove function scalia_open_graph.
Im trying to add the remove action to child theme function.php. How should the correct code look like?
Something like this:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
For some reason, Im getting error 500 when I add that code to function.php in child theme. What do I need to change?
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
That one worked great.
Thanks!