Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #307099

    Hi, when i try and change page title and metadescription etc in seo yoast using enfold seo and woo commerce it won’t update and reverts back to the original. If I change to the twenty 14 theme or similar it works fine. If I stay in enfold theme and deactivate woo commerce plugin it also works, please help

    #307100
    This reply has been marked as private.
    #307308

    Hello just wondering if this is a known issue or is it outside of your support scope, just need to know so I can either change themes or wait
    Thanks
    Richard

    #307331

    Hey!

    Unfortunately this seems to be a conflict between WooCommerce and Yoast. Our theme just triggers it because we load the WooCommerce shortcode (Product Grid element which you use in your template). You can “fix” this issue by adding this code to the enfold/functions.php or child theme functions.php file:

    
    add_action('after_theme_setup','avia_remove_yoast_filter');
    function avia_remove_yoast_filter()
    {
    remove_filter('wpseo_pre_analysis_post_content','avia_wpseo_pre_analysis_post_content_fix', 10, 1);
    }
    

    Pages without the “Product grid” shortcode do not trigger this conflict – thus I recommend to add this code temporarily to the functions.php file when you want to save the meta description on this page and afterwards you can remove it.

    Best regards,
    Peter

    #307344

    Hi Peter

    So I just copy and paste that exact text at the end of the file you mentioned, make changes to the seo yoast info on that page, update the page and then go back into the file and delete the text?

    Not that sure on this stuff but thanks for looking into it

    Regards
    Richard

    #307756

    Hey!

    Yes exactly. Please add this code to the functions.php file when you want to edit the meta description of the “Photography Courses Blue Mountains” page. Afterwards you can remove it again. If you don’t remove it the Yoast SEO page analysis feature won’t work properly on advanced template pages because the “advanced templates” are based on wordpress shortcodes and our advanced template framework processes/executes these shortcodes before we pass the content to Yoast SEO. The plain/raw shortcode content can vary from the final output which can also affect the seo analysis.

    Cheers!
    Peter

    #307806

    Thanks Peter

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Conflict with enfold and seo yeast woo commerce’ is closed to new replies.