• Resolved mbolsinga

    (@mbolsinga)


    The mini-calendar widget is pulling in the calendar and the categories I’ve listed, but following that, it has added an additional post to the next div. Please look at the home page of http://www.ashmug.com. The third column, next to the calendar, should only show the page “Previous General Meeting”. However, with the mini-calendar widget in place in the second column, the latest post on my site also shows up there, above the Previous General Meeting Page content.

    Any thoughts?

    Thanks,
    Marcia Bolsinga

    https://wordpress.org/plugins/my-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    We talked about this issue in February of 2013, and at that time we concluded it was a weird bug with your theme, and I provided you with an edit to your theme that could be used to fix the issue – did you recently update your theme, by any chance?

    Thread Starter mbolsinga

    (@mbolsinga)

    I didn’t recall that fix you provided. I have updated the theme recently, though I had updated it many times since 2013. However, this time, I had to change the plugin I was using to place the calendar widget, as the old plugin wasn’t working with the new version of WordPress.

    I’m much better now at doing some coding, so if you could provide me with the code you did before, perhaps I could put it into my child theme, and not have this issue recur.

    Thanks,
    Marcia

    Plugin Author Joe Dolson

    (@joedolson)

    Ah – that could make the difference. I don’t really remember exactly what the code change was; but this is what my notes say:

    Place this:

    <?php if ( $i == 3 ) { break; } ?>

    Right before the line:

    <?php endwhile; wp_reset_query(); ?>

    And after:

    </div> <!-- end .service -->

    But I’m not sure where those changes should be made; that’s not obvious in my notes.

    Thread Starter mbolsinga

    (@mbolsinga)

    Joe, I found that code – it was still in my child theme “home.php”. However, the theme had a lot of changes to that php recently, as well as the “featured.php”, which also impacts the home page. So whatever it had fixed was no longer being fixed.

    The problem was occurring with or without that code in place. However, I removed it, and found through experimentation that the problem only occurred when I had the mini calendar widget in place. When I put the upcoming events widget in place, it works fine. So I’m sticking with that until I have more time to do some digging.

    Thanks so much for your help, and your good notes (better than mine).

    Marcia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mini Calendar Widget pulling in additional post’ is closed to new replies.