Title: Nested loop overrides parent loop
Last modified: June 15, 2022

---

# Nested loop overrides parent loop

 *  [mapsmarketing](https://wordpress.org/support/users/mapsmarketing/)
 * (@mapsmarketing)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/nested-loop-overrides-parent-loop/)
 * Hi,
 * It seems like that if you use a posts widget with a custom loop and then use 
   that inside another custom loop it overrides the parent loop template with the
   child template instead which makes no sense.
 * Could you please clarify what’s happening here and or what a solution might be?
 * Thank you very much

The topic ‘Nested loop overrides parent loop’ is closed to new replies.

 * ![](https://ps.w.org/ele-custom-skin/assets/icon.svg?rev=3518775)
 * [ECS - Ele Custom Skin for Elementor](https://wordpress.org/plugins/ele-custom-skin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ele-custom-skin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ele-custom-skin/)
 * [Active Topics](https://wordpress.org/support/plugin/ele-custom-skin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ele-custom-skin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ele-custom-skin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mapsmarketing](https://wordpress.org/support/users/mapsmarketing/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/nested-loop-overrides-parent-loop/)
 * Status: not resolved