I see both of Coupon Theme V8.9.6 & Yoast SEO plugin support Open Graph metadata When sharing URL on Social networks it takes the Open Graph metadata generated by Coupon Theme V8.9.6 and I don’t want to use it. Instead of, I want to use the Yoast’s one So, How can I remove Open Graph metadata by Coupon Theme. I don’t want to upgrade to new V9. Please suggest me if you know Thanks,
You need to comment out this line in class_layout.php file
add_action(‘wp_head’, array($this, ‘_facebookmeta’) );
Thank you very much for your help Adnan, I tried the code above but it does not work Instead of, I removed the code of Open Graph metadata on class-layout.php file and it works now. Thank you very much for giving me a suggestion that check file class-layout.php file which I spent much time to search for. Thanks you once more!
Start your new website today!