Support » Plugin: The Events Calendar » Limit Number of Events Displayed in Sidebar

  • Hi All,

    I noticed a couple of incomplete posts on this topic and am surprised to see there isn’t better documentation.

    Does anyone have a block of code that can be edited to change the display on a page, etc. from a default of 5 to something else?

    Thanks in advance,
    Jon

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could change it to 10 by going to the widget and configure it.

    If you need more, you could try to change the “views/events-list-load-widget-admin.php” file from

    <?php for ($i=1; $i<=10; $i++)

    to 20 or what ever you need

    <?php for ($i=1; $i<=20; $i++)

    Thanks feneblog, appreciate your response. Exactly what I needed.

    Cheers,
    JR

    Hi,
    I am wanting to reduce the number of events in sidebar too and cannot find the “views/events-list-load-widget-admin.php” file.
    Can you help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Limit Number of Events Displayed in Sidebar’ is closed to new replies.