Home › Forums › Welcome! › Pre-Sales Questions › Sidebar Has Never Worked
- This topic has 3 replies, 1 voice, and was last updated 10 years, 5 months ago by
Brian.
-
AuthorPosts
-
December 17, 2015 at 7:34 am #1042927
Jen
GuestI absolutely love your calendar and it has worked very well for us for a number of years. Unfortunately, we have never been able to get a sidebar on any of the event pages. We are using Genesis customized child theme. Any suggestions?
December 17, 2015 at 8:30 am #1042968Brian
MemberHi,
Thanks for using the Events Calendar.
Here on the pre-sales forum, I’m afraid we do not provide technical support. I would ask that you take any technical support questions across to our wordpress.org forum – our staff scan it periodically and other community members may also be able to help out.
Having said that we have a Genesis guide here:
Thanks again!
December 18, 2015 at 1:15 am #1043302Alan
Guest@Jen
I had this same issue, and found that this worked:
Set your Events Calendar > Settings > Display > to use the Default Events Template
Then make a new file called default-template.php containing the code below, and place this in the following location:
wp-contents/themes/[your-theme]/tribe-events/
(you’ll need to create a folder called tribe-events within your theme folder.)This worked for me! thanks to Tom at the StudioPress forum for the code.
<?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
*
*//* Default Events Template – Customised for Genesis HTML5 themes */
if ( ! defined( ‘ABSPATH’ ) ) {
die( ‘-1’ );
}remove_action( ‘genesis_before_loop’, ‘genesis_do_breadcrumbs’ );
remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );
add_action(‘genesis_loop’,’genesis_tribe’);
function genesis_tribe() { ?>
<div id=”tribe-events-pg-template”><?php
tribe_events_before_html();
tribe_get_view();
tribe_events_after_html(); ?>
</div><?php
}genesis();
?>December 18, 2015 at 5:21 am #1043336Brian
MemberHi Alan,
Thanks for your help here. I will see about adding that to our guide as well.
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
AuthorPosts
- The topic ‘Sidebar Has Never Worked’ is closed to new replies.
