• Resolved amarkoudis

    (@amarkoudis)


    I’m using the visual composer and i create a page that use posts grid to display a specific category of posts. When i check that page using the seo i get error

    There are 0 words contained in the body copy. This is far too low and should be increased.

    How can i solve that problem. Thank you

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 2 replies - 31 through 32 (of 32 total)
  • Similar issues using Visual Composer with the Tilt theme.

    With WordPress SEO activated I only see the shortcodes in the backend, with no way to switch to the visual composer: https://monosnap.com/image/Uxgv7cELbv46nFVJyNamqDoR3Y9VbQ

    The Tilt theme author provided a temporary fix by commenting out the autcomplete block in wordpress-seo/js/wp-seo-metabox.min.js. But silly me forgot and updated the plugin so the issue has returned.

    Look forward to a proper fix!

    bkf0

    (@bentleykfrog)

    Yep, same issue here. For some reason wordpress/yoast seo leaves out jquery.qtip.min.js from the admin post edit page. Not sure why. Its included in the page edit page and even on custom post types pages.

    The error prevents any further js code thats bound to whatever wordpress javascript load event executing. Visual Composer must be bound to the same event, hence stopping the visual composer ui from loading and replacing the native wordpress post editor.

    A quick themes hack is to include the script back in just in the admin section like the following script I have in my functions.php file:

    function yoast_seo_vc_post_conflict_fix() {
    
    		$x = get_stylesheet_directory_uri();
    		$x = substr($x, strpos($x,'://')+3);
    		$x = explode("/", $x);
    		array_pop($x);
    		array_pop($x);
    		$x = implode("/", $x);
    		$x = '//' . $x;
    		wp_enqueue_script( 'jquery-qtip', $x .  '/plugins/wordpress-seo/js/jquery.qtip' . WPSEO_CSSJS_SUFFIX . '.js', array( 'jquery' ), '2.2.1' );
    }
    add_action( 'admin_enqueue_scripts', 'yoast_seo_vc_post_conflict_fix' );

    Its definitely not a fix that will work for everybody but at least it works on my configuration.

    Note I’m using get_stylesheet_directory_uri() then taking off the themes/theme directory and building it back to the wordpress-seo plugin directory, which ain’t pretty.

    Its also included on every admin page, so it might be wise to restrict it just to the post edit page to prevent any unknown conflicts.

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘Yoast and Visual Composer’ is closed to new replies.