Title: Modifying plugin query
Last modified: January 22, 2024

---

# Modifying plugin query

 *  Resolved [throwingcoke](https://wordpress.org/support/users/throwingcoke/)
 * (@throwingcoke)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/modifying-plugin-query/)
 * We want to modify the query the plugin generates to add some ACF content after
   every third post within a category.
 * What steps can we do to make this work?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Rhapsody348](https://wordpress.org/support/users/rhapsody348/)
 * (@rhapsody348)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/modifying-plugin-query/#post-17375954)
 * Can you post a link to the page that outputs the existing query? I may be able
   to determine the approach from that.
 *  Thread Starter [throwingcoke](https://wordpress.org/support/users/throwingcoke/)
 * (@throwingcoke)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/modifying-plugin-query/#post-17376386)
 * Thanks [@rhapsody348](https://wordpress.org/support/users/rhapsody348/), here’s
   the page in question: [https://texashotelvegas.com/patio/](https://texashotelvegas.com/patio/)
 * The ultimate goal is to have an array of images generated by ACF to be shared/
   embedded into this feed after X number of posts. Our current solution involves
   some JS that injects the first three images from the array after X number of 
   posts, but repeats on the second page, when we would want the next set of images.
 * Any feedback or guidance is appreciated.
 *  [Rhapsody348](https://wordpress.org/support/users/rhapsody348/)
 * (@rhapsody348)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/modifying-plugin-query/#post-17376634)
 * Just looked at the site. Are you generating the calendar events on the page using
   an ai1ec shortcode? The reason I ask is I note the address bar does not get updated
   as it does on some of my sites in the agenda view. Are you both the owner and
   web developer for this? Looks like a cool place 🙂
 *  Thread Starter [throwingcoke](https://wordpress.org/support/users/throwingcoke/)
 * (@throwingcoke)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/modifying-plugin-query/#post-17378136)
 * Thanks @[Rhapsody348](https://wordpress.org/support/users/rhapsody348/), yeap,
   using shortcode like so: [ai1ec cat_name=”category”]
 * Also of note, the previous developer also manipulated the layout by creating 
   a custom twig theme for the plugin (not using Timber for the site theme just 
   the plugin layout).
 *  Plugin Support [yenmer](https://wordpress.org/support/users/yenmer/)
 * (@yenmer)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/modifying-plugin-query/#post-17407598)
 * Hi [@throwingcoke](https://wordpress.org/support/users/throwingcoke/)
 * Thanks for reaching out!
 * To better assist you please fill out the following form [here](https://time.ly/contact/),
   and we will review your request.
 * Sincerely,
   **Yenmer.**Timely Customer Support.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Modifying plugin query’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [yenmer](https://wordpress.org/support/users/yenmer/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/modifying-plugin-query/#post-17407598)
 * Status: resolved