Home Forums WC Vendors Pro Support Yoast SEO conflict

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #64051
    Citydrive
    Participant

    Hello,

    Since you solved my previous problem, I’m here again with one new mystery to solve!

    I encountered a conflict in the dashboard with the plugin Yoast SEO.

    When Yoast SEO is enabled, the dashboard and the forms are duplicated and diplayed 3 times (screnshoot_1-1, screnshoot_1-2). When I disable the plugin, everything turns back to normal (screenshoot_2-1, screnshoot_2-2).

    Can you help me find a solution to this problem ?

    I really appreciate any help you can provide.

    #64170
    Anna
    Member

    If you switch to the Storefront theme temporarily, does this still occur? https://wordpress.org/themes/storefront/
    We’ve never had any issues with Yoast at all- and I have Several Yoast plugins on my dev site right now with no issue whatsoever…

    #65195
    Citydrive
    Participant

    Hi,
    Thanks for your time i don’t have the problem with the storefront theme.
    But i found a way to resolve this. I just need to disable yoast in the page.

    If this can help someone.
    I added this code in function.php file. (1219 is the id of the dashboard page)

    
    add_action('template_redirect', 'remove_wpseo');
    
    function remove_wpseo()
    {
        if (is_page(1219)) {
            global $wpseo_front;
            if (defined($wpseo_front)) {
                remove_action('wp_head', array($wpseo_front, 'head'), 1);
            } else {
                $wp_thing = WPSEO_Frontend::get_instance();
                remove_action('wp_head', array($wp_thing, 'head'), 1);
            }
        }
    }
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.