Using Cornerstone (Layouts) to build Modern Events Calendar single event page

Unfortunately we had to make the decision to move from WooCommerce Bookings to Modern Events Calendar since Bookings turns out to be way too limited in their options. With Bookings however we are able to make a ‘WC Single’-layout in the layout builder which gave us the freedom to design a custom template. With Modern Events Calendar we appear to be limited to editing their single event file and as you can probably understand we would really like to use the Cornerstone layout builder to make a custom template for Modern Events Calendar. Is there any way we can achieve this?

The Modern Events Calendar single event template file:

 <?php
/** no direct access **/
defined('MECEXEC') or die();

/**
 * The Template for displaying all single events
 * 
 * @author Webnus <info@webnus.net>
 * @package MEC/Templates
 * @version 1.0.0
 */
get_header('mec'); ?>

    <section id="<?php echo apply_filters('mec_single_page_html_id', 'main-content'); ?>" class="<?php echo apply_filters('mec_single_page_html_class', 'mec-container'); ?>">

        <?php do_action('mec_before_main_content'); ?>

        <?php while(have_posts()): the_post(); ?>

            <?php $MEC = MEC::instance(); echo MEC_Kses::full($MEC->single()); ?>

        <?php endwhile; // end of the loop. ?>
        <?php comments_template(); ?>
    </section>

    <?php do_action('mec_after_main_content'); ?>

<?php get_footer('mec');
1 Like

Hello @eyedia,

Thanks for writing to us.

The MEC events page cannot be overwritten using the Layout Builder for Archives and Single Event Pages. It has been already added to our feature request list, so it might be taken into account in the future.

Thanks for understanding

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.