Incompatibility with The Events Calendar (and Pro)
-
I am running the latest Press Permit Core Pro (2.1.42), The Events Calendar (3.4.1), The Events Calendar Pro (3.4), under the latest version of WordPress (3.8.1)
With Press Permit Core Pro activated, no events display when clicking from month to month. The current month displays fine, but once you click to the next month, the calendar is blank. Refreshing the page displays the events. You can see this at https://www.stmatthiaschool.org/calendar/.
I see on your https://www.ads-software.com/plugins/press-permit-core/other_notes/ page that:
The Events Calendar : Not compatible as of TEV 1.6.3. For unofficial workaround, change the-events-calendar.class.php as follows :
change:
add_filter( 'posts_join', array( $this, 'events_search_join' ) ); add_filter( 'posts_where', array( $this, 'events_search_where' ) ); add_filter( 'posts_orderby',array( $this, 'events_search_orderby' ) ); add_filter( 'posts_fields', array( $this, 'events_search_fields' ) ); add_filter( 'post_limits', array( $this, 'events_search_limits' ) );
to:
if( ! is_admin() ) { add_filter( 'posts_join', array( $this, 'events_search_join' ) ); add_filter( 'posts_where', array( $this, 'events_search_where' ) ); add_filter( 'posts_orderby',array( $this, 'events_search_orderby' ) ); add_filter( 'posts_fields', array( $this, 'events_search_fields' ) ); add_filter( 'post_limits', array( $this, 'events_search_limits' ) ); }
but the above lines of code don’t exist on the latest version of The Events Calendar.
Is there any chance that you are working on this incompatibility issue? I have been in contact with Modern Tribe, the developers of The Events Calendar, and they said:
…we’d really appreciate it if you’d get in touch with the Press Permit devs and ask them to look into what’s going on. We’ve never had another report of this particular conflict, so we don’t really know what to suggest. If they do find something where we’re going against best practices, we’d love to hear about it!
Is there a new workaround available?
- The topic ‘Incompatibility with The Events Calendar (and Pro)’ is closed to new replies.