spratticus81
Forum Replies Created
-
Not sure if this will be helpful to anyone else but it turns out our issue is that our theme (Twenty Fourteen) is not compatible with the new Event Calendar. The very easy solution is injecting this custom CSS code to the theme so the sidebar isn’t an issue:
body.post-type-archive-tribe_events #page::before,
body.single-tribe_events #page::before { display: none; }I’m not sure if what we are experiencing is a bug or if I need to make a CSS (or other) change in our plug-in since we have a custom Theme in place. Would be very very helpful if I could get simple guidance on langauge I can add to the Event plug-in to keep the sidebar from showing up. You can view the issue here (I’m currently using the Default Events Page since that is the only way it displays correctly on mobile as well. On Desktop, the calendar is being covered up by an “empty” left-sidebar that shouldn’t be showing up): https://aa-dc.org/events
<?php /** * Plugin Name: The Events Calendar * Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome. * Version: 6.0.3.1 * Author: The Events Calendar * Author URI: https://evnt.is/1x * Text Domain: the-events-calendar * License: GPLv2 or later * * @package TEC */ /** * Copyright 2009-2021 by The Events Calendar and the contributors * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ define( 'TRIBE_EVENTS_FILE', __FILE__ ); // Load the required php min version functions. require_once dirname( TRIBE_EVENTS_FILE ) . '/src/functions/php-min-version.php'; // Load the Composer autoload file. require_once dirname( TRIBE_EVENTS_FILE ) . '/vendor/autoload.php'; /** * Verifies if we need to warn the user about min PHP version and bail to avoid fatals */ if ( tribe_is_not_min_php_version() ) { tribe_not_php_version_textdomain( 'the-events-calendar', TRIBE_EVENTS_FILE ); /** * Include the plugin name into the correct place * * @since 4.8 * * @param array $names current list of names. * * @return array */ function tribe_events_not_php_version_plugin_name( $names ) { $names['the-events-calendar'] = esc_html__( 'The Events Calendar', 'the-events-calendar' ); return $names; } add_filter( 'tribe_not_php_version_names', 'tribe_events_not_php_version_plugin_name' ); if ( ! has_filter( 'admin_notices', 'tribe_not_php_version_notice' ) ) { add_action( 'admin_notices', 'tribe_not_php_version_notice' ); } return false; } /** * Loads the action plugin */ require_once dirname( TRIBE_EVENTS_FILE ) . '/src/Tribe/Main.php'; Tribe__Events__Main::instance(); register_activation_hook( TRIBE_EVENTS_FILE, array( 'Tribe__Events__Main', 'activate' ) ); register_deactivation_hook( TRIBE_EVENTS_FILE, array( 'Tribe__Events__Main', 'deactivate' ) );- This reply was modified 3 years, 4 months ago by spratticus81.
We are also experiencing issues with the new version. Originally Events were not showing up on Mobile. After adjusting many of the settings, I realize we have 2 Default versions available. In one, mobile does not work at all but desktop experience is fine. On the other, mobile works as expected but the side menu and side widgets do not display and the events are hidden by the left side menu (i.e. text not appearing square but behind the side menu area).
We are on PHP 7.4.12 (Supports 64bit values) and using a custom theme.
- This reply was modified 3 years, 4 months ago by spratticus81.