Tagged: open graph
The problem is that I am having duplicate open graph data show when I use Yoast SEO open graph and nothing else. After viewing the page source I see where there is a few extra OG tags.
Can those be turned off?
I have read a couple other threads about this but I am not familiar with php to fix the issue. I would also add that I have seen 2 other sites using the same theme with the same issue.
Thanks in advance
You need edit the file wp-content/themes/legenda/framework/theme-functions.php and remove or comment the code in lines 1130-1134.
I don’t know php. Can I just delete those specified lines and be okay? I really don’t know what a comment is in terms of php.
If deleting the code is a solutions, should I copy/paste the theme-function.php into the child theme so that when I erase the code it stays that way through updates?
Yes, you can delete the code in the mentioned lines and copy the edited file to child theme. How to create child theme you can read here:
Cool thanks. I will get to that here shortly.
Are you guys planning on makng a change for this in the future? Maybe adding an on/off button in theme options for the open graph. Or is there only a few people having this issue?
We’ll take your notice into our account and try to resolve it in future updates.
Thank you for the very vague answer
Please take our apologies but this issue will be discussed with our developers and we can’t guarantee you anything for the future updates, but we’ll try to find some fix.
Thank you for understanding.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
You may extend support period on ThemeForest and then update its status by clicking "Update" button in your Account area.