• Resolved elspencer

    (@elspencer)


    I’m having trouble pinpointing a CSS issue in this plugin, WPNG Calendar Plugin. There seems to be an additional

    • popping up, but I don’t know where to go to modify it.
    • https://taipeitechclub.com/ (in the sidebar you can see a portion of a second image is poking its head out the top of the <h2> “Taipei Tech Events”.)

      This is a great plugin and works well when used as a Custom Field in a page. I have no other plugins installed or widgets used in the sidebar.

      Here’s some of the HTML code I got from Firebug.

      <li id="wpng-calendar" class="widget widgetWPNGCalendar">
      <h2 class="widgettitle"/>
      <h2 class="widgettitle">Taipei Tech Events</h2>

      I can see that it’s the <h2 class="widgettitle"/> causing the issue, but don’t know where to go to eliminate it.

      If anyone has good eyes and could help me figure out how to fix this I’d be very thankful. ??

      Best regards,

      Spence

Viewing 2 replies - 1 through 2 (of 2 total)
  • How was this resolved? I have the same issue.

    Cheers,
    – Deg –

    Found this solution:
    https://code.google.com/p/wpng-calendar/issues/detail?id=43&q=title

    I was able to fix this problem by changing the following in wpng-calendar.php
    (beginning at line 264):

    FROM:
    echo $before_widget . $before_title . $after_title;
    if(!$options = get_option(‘wpng_cal_widget_options’)) {
    $options = array(‘wpng_cal_widget_list_size’ => 5, ‘wpng_cal_widget_title’
    => ‘Upcoming Events’);
    }
    ?>
    <?php echo($options[‘wpng_cal_widget_title’]) ?></h2>
    <div id=”wpng-cal-widget-events” style=”display:none;”></div>

    TO:
    if(!$options = get_option(‘wpng_cal_widget_options’)) {
    $options = array(‘wpng_cal_widget_list_size’ => 5, ‘wpng_cal_widget_title’
    => ‘Upcoming Events’);
    }
    echo $before_widget . $before_title . $options[‘wpng_cal_widget_title’] .
    $after_title;
    ?>
    <div id=”wpng-cal-widget-events” style=”display:none;”></div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WPNG Calendar Plugin: additional <li> popping up’ is closed to new replies.