Support » Plugin: Events Manager » Calendar duplicate on Events page, how to delete the duplicate calendar?

  • Resolved brandquery

    (@brandquery)


    Hi,

    Using Events Manager, my events page has two identical calendars on the page and I can’t delete the copy so there is only one calendar visible. Has anyone been able to solve this or have any advice to delete the copy?

    • This topic was modified 2 months, 1 week ago by brandquery.
Viewing 6 replies - 1 through 6 (of 6 total)
  • angelo_nwl

    (@angelo_nwl)

    NetWebLogic Support

    hi,

    do you have sample link to your site with this issue for us to see and analyze please?

    It basically has two calendars stacked on top of each other…

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    We’re not able to see that image because we don’t have a login,

    What code / formatting are you using to generate the page?

    Sorry, hard to post page example (I’m still a WP beginner). Here’s the legacy events code on the page that shows two calendars stacked:

    <style>
    table.em-calendar td a {color:#CF0A2C !important;text-decoration:none !important;}
    table.em-calendar td ul {list-style:none !important;margin:0px !important;padding:0px !important;line-height:14px !important;}
    table.em-calendar td.eventless-today, table.em-calendar td.eventful-today {background:#eeeeee;}
    table.em-calendar td.eventful-today ul li a {font-size:12px;}
    /*
    table.em-calendar td.eventful a, table.em-calendar td.eventful-today a {color:#CF0A2C;}
    */
    .cbp-event-listing-name {}moht
    .cbp-event-listing-name h3 {font-weight:400;line-height:24px;margin:0px 0px 0px -2px;}
    .cbp-event-listing-date-time-loc {color:#666666;padding-bottom:10px;}
    .cbp-event-listing-date-time-loc i.fa {font-size:12px;}
    .cbp-event-listing-details {}
    .event-listing-item-date {text-align:center;}
    .event-listing-item-date .day {font-size:34px;line-height:34px;}
    .event-listing-item-date .month {font-size:19px;line-height:19px;font-weight:600;text-transform:uppercase;}
    .event-listing-item-date .year {}
    .em-calendar-wrapper {width:100%;}
    table.em-calendar.fullcalendar {width:100%;}
    .em-calendar .days-names td {height:auto;text-align:center;width:14.28%;font-weight:600;}
    .em-calendar tr td {vertical-align:top;text-align:left;}
    .em-calendar .eventless, .em-calendar .eventful, .em-calendar .eventless-post {height:90px;}
    .em-calendar .eventless-today {background-color:rgba(193,199,183,.1) !important;}
    .em-calendar .month_name {font-weight:600 !important;text-align:center;}
    .em-calendar .em-calnav.full-link.em-calnav-next {display:block;text-align:right;text-decoration:none !important;padding:6px;}
    .em-calendar .em-calnav.full-link.em-calnav-prev {display:block;text-align:left;text-decoration:none !important;padding:6px;}
    .em-calendar thead td {vertical-align:middle;border:none;}
    .eventful ul, .eventful-post ul, .eventful-pre ul {list-style:none;margin:0px;padding:0px;font-size:12px;}
    ul.full-calendar-event-listing {list-style-image:none;padding-left:0px !important;list-style:none !important;margin-bottom:0px;margin:left:0px;margin-right:0px;}
    ul.full-calendar-event-listing li {margin:0px;padding:0px;}
    ul.full-calendar-event-listing li a {display:block;text-decoration:none !important;font-size:12px;background-color:#79826c;color:#ffffff !important;padding:2px 4px 3px 10px;border-radius:11px;font-weight:400;line-height:12px;margin-bottom:1px;}
    #maincontent > section {padding:1px 0px 20px 0px !important;}
    @media screen and (max-width: 900px) {
    .em-calendar .eventless, .em-calendar .eventful, .em-calendar .eventless-post {height:90px;}
    }
    </style>

    <?php
    /**
    * The template for displaying all pages.
    *
    * This is the template that displays all pages by default.
    * Please note that this is the WordPress construct of pages
    * and that other ‘pages’ on your WordPress site may use a
    * different template.
    *
    * @link https://codex.wordpress.org/Template_Hierarchy
    *
    * @package WP_BS3
    Template Name: Events
    */

    get_header(); ?>

    <div class=”container container-smooth”>
    <?php // if ( function_exists(‘yoast_breadcrumb’) ) {yoast_breadcrumb(‘<div class=”row hidden-print”><div class=”col-xs-12 col-lg-10 col-lg-push-1″><div class=”breadcrumbs”>’,'</div></div></div>’); } ?>

    <div class=”row”>
    <div class=”col-sm-12 col-md-8 col-lg-8″>

    <?php if ( have_posts() ) : ?>
    <?php while ( have_posts() ) : the_post(); ?>
    <h1><?php the_title(); ?></h1>
    <?php the_content(); ?>
    <?php include(‘inc/_flexiblecontent.php’); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘bs3’ ), ‘after’ => ‘</div>’ ) ); ?>
    <?php endwhile; ?>
    <?php endif; ?>

    </div>
    <div class=”row contentpad”>
    <div class=”col-sm-12″>
    <?php the_content(); ?>
    <?php include(‘inc/_flexiblecontent.php’); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘bs3’ ), ‘after’ => ‘</div>’ ) ); ?>
    </div>
    </div>

    <div class=”col-sm-12 col-md-4 col-lg-4 hidden-print”>
    <?php get_sidebar(); ?>
    </div>

    </div>
    </div>

    <?php get_footer(); ?>

    caimin_nwl

    (@caimin_nwl)

    NetWebLogic Support

    Not sure this helps much without being able to see the layout. Can you post either an image we can see without a login or a live link?

    Have you added a calendar to a widget area or sidebar?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.