Title: insert break into query loop
Last modified: March 19, 2026

---

# insert break into query loop

 *  Resolved [slewis1000](https://wordpress.org/support/users/slewis1000/)
 * (@slewis1000)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/insert-break-into-query-loop/)
 * Hi,
 * I’m trying to insert an item (widget) into the middle of the query loop on page.
   eg 5 posts from the loop, then insert a widget, then the query loop continues
   from post 6. Is there anyway to pause/insert a break to do this? 
   I thought I
   might be able to do this on a pattern, put 2 query blocks with other code in 
   between, but it repeats the same query twice.
 * thanks,
 * Simon

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ryan Welcher](https://wordpress.org/support/users/welcher/)
 * (@welcher)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/insert-break-into-query-loop/#post-18868026)
 * Unfortunately, this isn’t something that is possible. The template being displayed
   will always be the same in the Query Loop. You may try adding the Block Visibility
   plugin to see if there are options there but AQL and the core Query Loop block
   don’t support this.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finsert-break-into-query-loop%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/advanced-query-loop/assets/icon-256x256.png?rev=3106826)
 * [Advanced Query Loop](https://wordpress.org/plugins/advanced-query-loop/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-query-loop/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-query-loop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-query-loop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-query-loop/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ryan Welcher](https://wordpress.org/support/users/welcher/)
 * Last activity: [2 months, 1 week ago](https://wordpress.org/support/topic/insert-break-into-query-loop/#post-18868026)
 * Status: resolved