Hi Powerful1,
I have the same issue. I went to see your calendar and it seems to be working now. Could you share how did you troubleshoot the issue?
Cheers
Hey Buci
I am still troubleshooting it. I created a second install of my site. https://tara.meditationinhouston.org/introduction-to-buddhist-meditation-a-mini-retreat/) I get a 404 error.
The calendar is here
https://tara.meditationinhouston.org/calendar
What would create this error?
What I do know is that the shortcode pulls the content, but the event pages don’t display.
It is a permalink error. If I set the permalink to the basic structure /?p=123 then the events do display.
Also, if you you need a temporary fix Buci, you can redirect your events to pages that draw the info on shortcode. Not ideal, but a solution until the devs can work this out.
Hopefully there is a plugin update to fix the issue.
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