Sidebar Has Never Worked

Home Forums Welcome! Pre-Sales Questions Sidebar Has Never Worked

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1042927
    Jen
    Guest

    I 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?

    #1042968
    Brian
    Member

    Hi,

    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.

    The Events Calendar

    Having said that we have a Genesis guide here:

    Genesis Framework & Event Submissions

    Thanks again!

    #1043302
    Alan
    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();
    ?>

    #1043336
    Brian
    Member

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Sidebar Has Never Worked’ is closed to new replies.