Can you switch to twenty fourteen theme?
Since our custom post type uses the slug “event” for single event view and your theme as events post types, there might be a collision…
Hey, Nicola! Thank you for the quick response!
I don’t have any explanation for what follows:
1. I switched to the twenty fourteen theme. As I said above, the problem still existed but–in the default themes–trying to display an event simply takes you to the Home page instead of getting a 404 Error.
2. While in the twenty fourteen theme, I switched to default Permalinks and the event pages started showing up again.
3. I changed the Permalinks back to Post Name and they still worked.
4. I switched back to my original theme and they still work.
So it’s fixed (for now)? I don’t know why. But thanks!
Sigh. Spoke too soon. The theme I’m using has a total of three custom post types (one of which is called Events).
I’ve now discovered that the above solution only appeared to work because Events were displaying properly when the theme was restored. However, the other two custom post types began to generate 404 Errors. When I resaved Permalinks, those two began working correctly but the calendar events began generating errors again.
Can’t get all three working together. I may have to try other plugins, which I really don’t want to do… 🙁
No it’s not easy to have everything working together, they are clashing.
You can try to change in file lib/post/post-type.php on line 55
$rewrite = array( 'slug' => Ai1ec_I18n::__( 'event' ) );
to
$rewrite = array( 'slug' => Ai1ec_I18n::__( 'ai1ec_event' ) );
and then resave permalinks and see what happens
Thank you, Nicola!
I will keep that possible solution in mind.
Funny thing–before I saw your post, I actually went the other way–I got into functions.php for the theme and changed the slug for its Event type. After I resaved permalinks everything seemed to work.
I’m glad I’ll be able to use this plugin!
Thanks again.