Support » Plugin: The Events Calendar » Export Calendar Limited to 30

  • Resolved manakuke


    The Export Events button only seems to export 30 events, even if the database and/or the page contains more than 30 events. Is there a setting I’m misusing or something I can add to the functions.php file?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Barry


    Yes, there’s a hook for this!


    Is there a way, besides just setting a really high number, to set the argument to pull all the posts?

    For other people’s reference, I added this to the theme’s functions.php file (in this example, it changed the default 30 to 250 entries):

    add_filter( 'tribe_ical_feed_posts_per_page', 'my_added_feed_posts_per_page' );
    function my_added_feed_posts_per_page()
            return 250;
    Plugin Author Barry


    Using that filter (which doesn’t current accept values such as -1) the best and easiest approach is to set a suitably high number 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Export Calendar Limited to 30’ is closed to new replies.