Change the Default Event Template to remove the Sidebar

Home Forums Calendar Products Events Calendar PRO Change the Default Event Template to remove the Sidebar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #27087
    Manuel H
    Participant

    Hi Guys,
    Which file would I change the template for the “Default Event Template” to remove the Sidebar. Right now, the sidebar items wrap to the bottom of the page. I believe simply removing the sidebar() would solve my problem. Here’s the page I want to fix:
    http://www.uhipnj.org/event/uhip-at-union-baptist-church-of-montclair/

    #27089
    Jonah
    Participant

    Hi Manuel,

    The Default Events Template uses /wp-content/plugins/the-events-calendar/views/ecp-page-template.php for the list and grid views and /wp-content/plugins/the-events-calendar/views/ecp-single-template.php for single events. You could also hide it using CSS by targeting the body class of .events-single

    I hope that helps but let me know if you need anything else.

    – Jonah

    #27090
    Manuel H
    Participant

    Thanks for the quick reply Jonah. I kept digging through your forum and found similar posts. I managed to resolve this by adding a condition int he ecp-single-template.php.

    if (tribe_is_event() and is_single()) {
    //get_template_part(‘page-sidebar-right’);
    get_template_part(‘page-full’);
    return;
    }

    Honestly, what threw me off was the different naming of ‘the-event-calendar’ and ‘event-calendar-pro’ directories. ?:)

    Thanks for the support. Your quick response is greatly appreciated.

    #27145
    Jonah
    Participant

    Hi Manuel,

    Glad that worked for you. Let us know if there’s anything else we can do for you.

    Thanks,
    Jonah

    #978053
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change the Default Event Template to remove the Sidebar’ is closed to new replies.