• Hi there,
    I am using Post Types Order on our site:
    healthebay.org

    I have auto sort unchecked because I only need to use the re-order on specific post types in my build, not all the post types.

    We also have Events Calendar Pro by Modern Tribe installed on our site (https://theeventscalendar.com/) and if you go to healthebay.org/events and hit “Next Page,” the events are all out of chronological order. (Incidentally, if you refresh the page, the events go back in the correct order.)

    I unchecked “affect prev/next archives” (the last option) in Post Types Order settings and the problem still persisted. I eventually had to disable the Post Types Order plugin to get the event calendar to work probably when you hit next/previous page.

    We would still like to use both plugins if possible, so if you have any insight as to why our calendar would be affected, that would be great.

    We are using all the latest versions of both plugins and are on the latest version of WordPress.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The issue is when tribe events executes their ajax call it is automatically sorted by post types order which would be an issue with post types order because you can’t exclude post types easily. I created this script to bypass it for now. Just add it your theme’s functions.php file

    function ignore_post_types_order_sort( $args ) {
    	$args['ignore_custom_sort'] = true;
    
    	return $args;
    }
    add_filter( 'tribe_events_listview_ajax_get_event_args', 'ignore_post_types_order_sort' );

    @jrosebud, sorry for the lack of official reply here.

    This free forum is primarily for bug reports and only pertains to the core plugin. Please post in our Premium Support Forums to get help for this question about one of our paid add-ons.

    @stormrockwell has graciously helped out here, especially since we do not guarantee compatibility with all other plugins. He’s also posted here for future reference: https://theeventscalendar.com/support/forums/topic/conflict-with-post-types-order-events-out-of-order/

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conflict with Events Calendar by Modern Tribe’ is closed to new replies.