Trouble editing default template php

Home Forums Calendar Products Community Events Trouble editing default template php

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1222951
    debranettles
    Participant

    The header and footer do not show when I choose the “Default Events Template” . The list is correct with photo, date description etc.
    If I choose the “Default Template” I have the header and footer but then the list looks like just that — a list.

    I am not sure how to edit the php to have the sites header and footer visible.

    Thank you,

    Debra

    http://bwme.org/member-events/

    <?php
    /**
    * Default Events Template
    * This file is the basic wrapper template for all the views if ‘Default Events Template’
    * is selected in Events -> Settings -> Template -> Events Template.
    *
    * Override this template in your own theme by creating a file at [your-theme]/tribe-events/default-template.php
    *
    * @package TribeEventsCalendar
    *
    */

    if ( ! defined( ‘ABSPATH’ ) ) {
    die( ‘-1’ );
    }

    get_header();
    ?>
    <div id=”tribe-events-pg-template”>
    <?php tribe_events_before_html(); ?>
    <?php tribe_get_view(); ?>
    <?php tribe_events_after_html(); ?>
    </div> <!– #tribe-events-pg-template –>
    <?php
    get_footer();

    #1223402
    Hunter
    Moderator

    Hi Debra 🙂

    Thank you for reaching out and sorry to see you’ve run into difficulties. We’re fairly limited with theme customizations, but I’ll provide all the resources I have and hopefully they’ll help get you on the right track.

    The first two articles describe what the settings do. The last two articles are handy if you need to create any custom templates. For example, if you wanted to add content to your single event pages, you would create a file and save it as: [your-theme]/tribe-events/single-event.php.

    I wish I was able to provide more assistance in this situation, but our What support is provided for license holders? Knowledgebase article states theme customizations need to be addressed by the user.

    If things get beyond your level of expertise, you might want to look into hiring a front end developer to help work out the kinks. We’ve got a list of non-affiliated customizers available to help further assist, but there are many great developers ready to help in exchange for compensation, just be sure and do your due diligence.

    Best of luck and thanks again. Cheers!

    #1235522
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Trouble editing default template php’ is closed to new replies.