Hi @narelly,
We found some compatibility issues with the Events calendar plugin. For a quick fix, you can create a fake or dummy post type and on our post grid, just select the fake post with the event post type. Kindly follow the steps below:
# Create a fake post type
From your WordPress dashboard, go to Appearance => Theme File Editor and select the Theme Functions option from the right sidebar. Then copy the code from below and paste it into the bottom of the theme function file. Then click on the Update file button.
Screenshot: https://i.imgur.com/5iVBMGb.png
Code:
function fake_setup_post_type() {
$args = array(
'public' => true,
'label' => __( 'Fake', 'textdomain' ),
'menu_icon' => 'dashicons-media-archive',
);
register_post_type( 'fake', $args );
}
add_action( 'init', 'fake_setup_post_type' );
# Select Post Types
Now under Post Grid => Query Post, just select the Fake post type along with the event post type, and you’re good to go.
Screenshot:
https://i.imgur.com/tK4IoEx.png
-
This reply was modified 2 years ago by azizulraju.