WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: The Events Calendar] Limit on # of events in grid (9 posts)

  1. jenohs
    Member
    Posted 4 years ago #

    On my client's site, there seems to be a limit on the number of events that will appear in the grid view. Is this true and is there a known work around to it?

  2. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    Let me check on this and get back to you. There should be to my knowledge. Can you give me a bit more info on how many posts you have for the month, the most in a day etc... anything you can to help us debug. I've seen up to 7 in a day work fine.

  3. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    Oh and a link to the site in case we notice anything looking at the front end.

  4. jenohs
    Member
    Posted 4 years ago #

    Thanks for the quick response Shane.

    You can check out the calendar here: http://openkitchen-dcmetro.com/category/events/ (we're having a problem with the last 3 events not showing up for the 22, 23 & 24 of Feb).

    We have up to 10 on any given month. It won't allow us to add any more without deleting one for that particular month, but we can add to the next month without a problem. I originally thought it might be tied to the number of posts listed on the page (in settings), but I tried increasing this and it didn't make a difference.

    Thanks for your help!

  5. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    Let me dig into it a bit.

  6. justinendler
    Member
    Posted 4 years ago #

    Hello, this was a great catch! Definitely an oops on our part.

    The limit of 10 events per month on the grid view is now removed and will appear in the next release. Unfortunately, there's no easy hack to get it to work in the meantime, so if you're comfortable with switching a file out, you can grab this file from trunk:

    http://plugins.svn.wordpress.org/the-events-calendar/trunk/the-events-calendar.php

    and replace your current the-events-calendar.php with it. This will limit your events per page in list view according to what you set in Settings > Reading > "Blog pages show at most". The grid view will allow as many events per month as you like. Let me know how this works. Thanks.

    Justin

  7. jenohs
    Member
    Posted 4 years ago #

    Works great - except I get this above the calendar grid:

    Warning: Missing argument 1 for get_events(), called in /hermes/web06/b230/pow.huechan/htdocs/wp-content/plugins/the-events-calendar/the-events-calendar.php on line 1181 and defined in /hermes/web06/b230/pow.huechan/htdocs/wp-content/plugins/the-events-calendar/the-events-calendar.php on line 1552

    I don't know what that means. Thoughts?
    Thanks for all your help!

  8. jenohs
    Member
    Posted 4 years ago #

    Nevermind - I put single quotes in it and it fixed it.

    Thanks again! I love this plugin!

  9. Shane Pearlman
    Modern Tribe
    Posted 4 years ago #

    Rock on - can you mark this thread resolved, mark it as works when the next release comes out (some time this week).

Topic Closed

This topic has been closed to new replies.

About this Topic