Home › Forums › Calendar Products › Community Events › Trouble editing default template php
- This topic has 3 replies, 4 voices, and was last updated 9 years, 2 months ago by
debranettles.
-
AuthorPosts
-
January 24, 2017 at 8:10 am #1222951
debranettles
ParticipantThe 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();January 24, 2017 at 9:40 pm #1223402Hunter
ModeratorHi 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.
- Stylesheets and Page Templates
- Settings Overview: The Events Calendar and Events Calendar PRO
- Themer’s Guide
- Customizing WordPress #1 – How To Create A Child Theme by LevelUpTuts
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!
February 15, 2017 at 8:35 am #1235522Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Trouble editing default template php’ is closed to new replies.
