• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Events Calendar (Modern Tribes) with Genesis??

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Events Calendar (Modern Tribes) with Genesis??

This topic is: not resolved

Tagged: events calendar

  • This topic has 6 replies, 3 voices, and was last updated 9 years, 6 months ago by squid74.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • December 17, 2015 at 4:19 pm #174134
    deadhead1971
    Participant

    Hello all,

    I'm having a problem with Events Calendar within a site using Executive Pro.

    I want the calendar to appear on the standard content/sidebar template, as per the posts and pages on my site.
    To do this, I'm selecting the Events Calendar > Settings > Display > Default Page Template.
    But this causes the calendar to be displayed with a thick grey band to appear above the calendar, the same height as the featured image would be. (I have the Featured image box ticked on my Genesis archive settings)

    If I choose the Default Events Template, this works ok, but is full screen (no sidebar).

    If I untick the featured images box, the calendar displays properly, with the sidebar, but of course I lose all the featured images on my blog archive pages!

    So, how can we tell Events Calendar to not show featured images, OR, how can I add a sidebar to the view to the standard Events Calendar "events template". This has been covered in this post, but it didn't work for me http://www.studiopress.community/topic/add-sidebar-to-events-calendar-page-template/

    Grateful for any help
    thanks
    Alan

    My test page is http://test.conwydisabilitynetwork.info/events/ - you'll see the odd grey border at the top, above the calendar search area.

    http://test.conwydisabilitynetwork.info/events/
    December 18, 2015 at 12:59 am #174179
    Tom
    Participant

    how can I add a sidebar to the view to the standard Events Calendar “events template”.

    Hi Alan,
    This is the template I've found to work for this with The Events Calendar.

    In the default template (file: /wp-content/themes/<theme-slug>/tribe-events/default-template.php):

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

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    December 18, 2015 at 1:54 am #174182
    deadhead1971
    Participant

    Hi Tom,

    Thanks so much for responding 🙂
    But I'm sorry to say that just gave me a white screen...

    Alan

    December 18, 2015 at 2:05 am #174183
    Tom
    Participant

    Totally my mistake in copying too quickly and missing a couple lines.

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

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    December 18, 2015 at 3:03 am #174184
    deadhead1971
    Participant

    Tom,

    You Sir, are a star!
    Thanks so much. I hope I can repay the favour some time.

    Kind regards
    Alan

    December 18, 2015 at 8:56 am #174208
    Tom
    Participant

    Good luck with your project, Alan. TEC can be frustrating at times, but usually can get the job done.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    July 29, 2016 at 10:33 am #190448
    squid74
    Participant

    Thanks!!! Glad I found this, it worked for me.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble