Title: iCal Customization
Last modified: July 24, 2019

---

# iCal Customization

 *  Resolved [wilhud](https://wordpress.org/support/users/wilhud/)
 * (@wilhud)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/ical-customization/)
 * I have setup an iCal subscription link to our calendar using the following two
   support resources…
 * [https://theeventscalendar.com/extensions/advanced-ical-export/](https://theeventscalendar.com/extensions/advanced-ical-export/)
   
   [https://theeventscalendar.com/support/forums/topic/ical-feed-with-all-events/](https://theeventscalendar.com/support/forums/topic/ical-feed-with-all-events/)
 * This gave me the following querystrings for my list…
 * ?tribe_paged=0&tribe_event_display=list&ical=1&tribe_display=list
    ?ical=1&tribe_display
   =custom&start_date=2018&end_date=2020
 * After modifying the extension script a bit to fit the query that I need for my
   website, I have it mostly working. However, no matter what I do, the results 
   are always limited. I have changed the posts_per_page to -1 in my hook and it
   still only shows 10 results…
 * $query->set( ‘posts_per_page’, -1 );
 * Is there another filter/action that is maybe setting the limit outside of my 
   tribe_events_pre_get_posts filter that I am adding?
 * Thanks,
    Wil

The topic ‘iCal Customization’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [ical](https://wordpress.org/support/topic-tag/ical/)
 * [limit](https://wordpress.org/support/topic-tag/limit/)
 * [posts_per_page](https://wordpress.org/support/topic-tag/posts_per_page/)

 * 0 replies
 * 1 participant
 * Last reply from: [wilhud](https://wordpress.org/support/users/wilhud/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/ical-customization/)
 * Status: resolved