• Resolved sbourg

    (@sbourg)


    Within each event on our events page, there is a search bar, as well as recent posts and recent comments. I would like to get rid of all of the content on the right side of these pages, so that the page only shows the event itself. I have been trying to figure this out for a long time with no luck, so I appreciate any help given.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • lisa

    (@contentiskey)

    • What actions have you tried that did not work? (changes to events calendar plugin settings, elementor plugin, ElementsKit Elementor addons plugin, oceanwp theme etc)
    • Try this to narrow down the source of the unwanted sidebar on single event display: install health check plugin which can be used in troubleshooting mode to deactivate all plugins and theme might help narrow down the source of the issue https://wordpress.org/plugins/health-check/

    Thread Starter sbourg

    (@sbourg)

    The main thing I tried was changing the display settings within the Events plugin. This seems to make changes to the main page; saigulf.com/events , but not to the pages that show after you click on an individual event. I will try to use that troubleshooting plugin now.

    Hi sbourg

    The problem is with a template file in the Oceanwp theme.

    oceanwp/tribe-events/default-template.php

    If you temporarily rename that file you should get the result you need.
    This isn’t a long term solution as the file will be rewritten when the theme is updated.
    So you would need to create a CHILD theme with a [CHILD-NAME]/tribe-events/default-template.php file with the following content. You may also need to look at the site-breadcrumbs CSS if that is a problem.

    <?php
    /**
    * The Events Calendar plugin template.
    *
    * @package OceanWP WordPress theme
    */
    get_header(); ?>
    <?php do_action('ocean_before_content_wrap'); ?>
    <div id="content-wrap" class="container clr">
    <?php do_action('ocean_before_primary'); ?>
    <div id="primary" class="">
    <?php do_action('ocean_before_content'); ?>
    <div id="content" class="site-content clr">
    <?php do_action('ocean_before_content_inner'); ?>
    <div id="oceanwp-tribe-events">
    <?php tribe_events_before_html(); ?>
    <?php tribe_get_view('single-event'); ?>
    <?php tribe_events_after_html(); ?>
    </div>
    <?php do_action('ocean_after_content_inner'); ?>
    </div><!-- #content -->
    </div><!-- #primary -->
    </div><!-- #content-wrap -->
    <?php do_action('ocean_after_content_wrap'); ?>
    <?php get_footer(); ?>
    
    Thread Starter sbourg

    (@sbourg)

    I was able to browse to that file within Appearance>Theme File Editor, in wordpress. I am not sure if this is the correct place to try and edit the file name. It looks like all I can do here is edit the code. I did change the content to what you have in your previous message, and it did move the search bar down, but it did not get rid of it entirely.

    Try previous plus this…

    Dashboard/Events/Settings/Display/Event template/Default Events template

    If that doesn’t work then maybe try deleting a few of the <PHP> lines above the get_footer line. Your setup looks different to mine so you may need to experiment a bit.

    • This reply was modified 11 months, 2 weeks ago by jim5471.
    Thread Starter sbourg

    (@sbourg)

    Deleting one of those lines worked! thanks for the help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The Events Calendar plugin’ is closed to new replies.