Title: Adding a querystring breaks Insert Pages
Last modified: December 20, 2022

---

# Adding a querystring breaks Insert Pages

 *  Resolved [robbymacdonell](https://wordpress.org/support/users/robbymacdonell/)
 * (@robbymacdonell)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/adding-a-querystring-breaks-insert-pages/)
 * Hi there, I’m using Insert Pages with a custom post type and a custom template.
   It works great, but when I pass _any_ query string value (examples ‘foo=bar’,‘
   width=5’, ‘direction=horizontal’) via the Custom Querystring field, the preview
   in the Gutenburg editor displays
 *     ```wp-block-code
       Block rendered as empty.
       ```
   
 * If I go ahead and publish the page, the page is inserted correctly and the querystring
   is passed through to the template. It’s just in the editor where things fail.
 * Can you give me some guidance? I’m new to WordPress in general so I may be overlooking
   something obvious.

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

 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/adding-a-querystring-breaks-insert-pages/#post-16308089)
 * That’s a bug, good catch! We added logic to avoid it when refreshing the Insert
   Pages gutenberg block if the querystring attribute exists:
 * [https://github.com/uhm-coe/insert-pages/commit/01908e2be83d9c2df9db98e20470251ec51984ce](https://github.com/uhm-coe/insert-pages/commit/01908e2be83d9c2df9db98e20470251ec51984ce)
 * This will be included in the next release; in the meantime it looks like the 
   bug doesn’t damage anything, it just prevents the editor from rendering the block
   if it has a querystring.
 *  Thread Starter [robbymacdonell](https://wordpress.org/support/users/robbymacdonell/)
 * (@robbymacdonell)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/adding-a-querystring-breaks-insert-pages/#post-16308109)
 * Great, I’ll look forward to the next release. Thanks!
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/adding-a-querystring-breaks-insert-pages/#post-16308137)
 * Aloha, version 3.7.5 was just released with this, please test it out and let 
   us know of any issues!
 *  Thread Starter [robbymacdonell](https://wordpress.org/support/users/robbymacdonell/)
 * (@robbymacdonell)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/adding-a-querystring-breaks-insert-pages/#post-16308260)
 * That appears to have fixed it. Thanks for the quick response!

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

The topic ‘Adding a querystring breaks Insert Pages’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/insert-pages.svg)
 * [Insert Pages](https://wordpress.org/plugins/insert-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-pages/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [robbymacdonell](https://wordpress.org/support/users/robbymacdonell/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/adding-a-querystring-breaks-insert-pages/#post-16308260)
 * Status: resolved