peeblesmedia

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Event posts not appearing with other posts #231104
    peeblesmedia
    Participant

    Thanks, will just stick to using the widgets in sidebar to promote events.

    in reply to: Exclusive sidebar to show across all events #231068
    peeblesmedia
    Participant

    Thanks for prompt response. The template override isn’t working. The ‘Hello!!’ is showing up in the main default-template here: http://www.homesandinteriorsscotland.com/events/
    Sidebar showing below page as opposed to right hand side, it’s showing the default sidebar as opposed to the one ‘Events Sidebar’.
    I don’t create any php code for the ‘Events Sidebar. The sidebar is located within Appearance > Widgets and it’s called ‘Events Sidebar’. (The theme I use creates exclusive sidebars which you can select when you create a post/page.)
    Code on the 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
    * @since 3.0
    * @author Modern Tribe Inc.
    *
    */

    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(); ?>
    <h1> Hello!! </h1>
    </div> <!– #tribe-events-pg-template –>
    <?php get_sidebar(EventsSidebar); ?>
    <?php get_footer(); ?>

    <?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
    * @since 3.0
    * @author Modern Tribe Inc.
    *
    */

    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(); ?>
    <h1> Hello!! </h1>
    </div> <!– #tribe-events-pg-template –>
    <?php get_sidebar(Events); ?>
    <?php get_footer(); ?>

    in reply to: Event posts not appearing with other posts #228944
    peeblesmedia
    Participant

    OK, I’ll not use event category code at all.
    When I create a normal WordPress post should categories from the Events section appear in my WordPress Categories panel?

    in reply to: Exclusive sidebar to show across all events #228933
    peeblesmedia
    Participant

    I tried that code with and without the sidebar name and neither the ‘Events Sidebar or the default sidebar showed up.

    in reply to: Event posts not appearing with other posts #222952
    peeblesmedia
    Participant

    This reply is private.

    in reply to: Exclusive sidebar to show across all events #222915
    peeblesmedia
    Participant

    This reply is private.

    peeblesmedia
    Participant

    This reply is private.

Viewing 7 posts - 1 through 7 (of 7 total)