• Resolved astbarc

    (@astbarc)


    Hi,

    This filter for deactivate integration with yoast seo is not working anymore.

    Events schema is showing in all the pages of the website.

    add_filter( 'tec_events_integrations_plugin_wordpress-seo_should_load', '__return_false' );

    • This topic was modified 2 years, 3 months ago by astbarc.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Abz

    (@abzlevelup)

    Hi @astbarc, we’ve shared that workaround to fix issues from the previous version. Kindly update to v6.0.5 and remove the filter, as we already included the fix in this version.

    Best,
    Abz

    Thread Starter astbarc

    (@astbarc)

    Hi @abzlevelup,

    Thanks for the reply but I want that the json-ld schema doesn’t appear on the website and now it’s not possible without the filter.

    Plugin Support Abz

    (@abzlevelup)

    Hi @astbarc, let me confirm this behavior with our devs. I’d get back to you whenever I hear from them.

    Also, it would be great if you could also reach out to Yoast Team if there are any workarounds they can share as well.

    Hang in there,
    Abz

    Plugin Support Abz

    (@abzlevelup)

    Hi @astbarc, writing back to you, and I appreciate your patience here.

    Could you try this workaround for now and see if that works on your end?

    add_filter( "tribe_json_ld_event_object", 'tec_custom_event_schema_eventStatus' );
    
    function tec_custom_event_schema_eventStatus( $data ) {
    
    	if ( ! isset( $data->eventStatus ) ) {
    		$data->eventStatus = 'https://schema.org/EventScheduled';
    	}
    
    	return $data;
    }

    Let me know how it goes.

    Best,
    Abz

    Plugin Support Darian

    (@d0153)

    Hi @astbarc

    We haven’t heard from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Filter for remove events schema not working’ is closed to new replies.