Hey @buci
I did two things to my site.
To fix my ordinary posts, I removed the following code from the child theme functions file.
/**
* Some hackery to have WordPress match postname to any of our public
* post types. All of our public post types can have /post-name/ as
* the slug, so they better be unique across all posts. Typically core
* only accounts for posts and pages where the slug is /post-name/
*/
function vipx_parse_request_tricksy( $query ) {
// Only noop the main query
if ( ! $query->is_main_query() )
return;
// Only noop our very specific rewrite rule match
if ( 2 != count( $query->query )
|| ! isset( $query->query[ 'page' ] ) )
return;
// 'name' will be set if post permalinks are just post_name,
// otherwise the page rule will match
if ( ! empty( $query->query[ 'name' ] ) )
$query->set( 'post_type', array( 'post', 'event', 'page','event-recurring' ) || is_singular( 'event' ));
}
add_action( 'pre_get_posts', 'vipx_parse_request_tricksy' );
To fix the calendar issue, I had to set a permalink slug for the calendar (I wasn’t using one). That was done in the EM settings, permalink slugs.
Then I had to go to the WordPress Permalinks settings under settings on the left.
I set the permalinks to normal. Click Save
Then I set the permalinks back to post-name and click saved.
Everything works now.
Cheers