Title: Can&#8217;t Select Auto-Insert When Creating Custom Code Snippets
Last modified: July 19, 2022

---

# Can’t Select Auto-Insert When Creating Custom Code Snippets

 *  [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/)
 * So, I noticed that I can’t select the “Auto-Insert” option when I create custom
   code snippets.
 * It only lets me pick the “Shortcode” option.
 * Also wanted to add that I noticed that when I choose a built-in snippet, I can’t
   choose the “Shortcode” option.
 * It only let’s me pick the “Auto-Insert” option.
 * Any help with this issue will be appreciated.
    -  This topic was modified 3 years, 10 months ago by [VannDigital](https://wordpress.org/support/users/vdn-staff/).
      Reason: Needed to add to complaint
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcant-select-auto-insert-when-creating-custom-code-snippets%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/page/2/?output_format=md)

 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15838791)
 * Hi [@vdn-staff](https://wordpress.org/support/users/vdn-staff/) thanks for reaching
   out.
 * From what you’re describing it sounds like it you might be running into a JavaScript
   conflict throwing an error and preventing you from using that toggle.
 * Can you please tell us if you are seeing any errors in the browser console? (
   right-click > Inspect > Console tab)
 * If you’re not familiar with the browser console please check out [this article](https://www.wpbeginner.com/wp-tutorials/basics-of-inspect-element-with-your-wordpress-site/)
   for more details.
 * Thanks,
    Mircea
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15839161)
 * The most I could find was something about a deprecated feature being used.
 * No JavaScript conflict…
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15839377)
 * Thank you for the update. Without more context it’s very difficult to pinpoint
   what is happening so if you don’t mind giving us more details to try and provide
   a solution/fix:
 * What browser are you using? Is this happening in another browser? (just to rule
   out something local)
 * Do other features that use JS on the page work? (assigning a tag, switching the
   code type, copy shortcode button, adding conditional logic rules)
 * If you have a staging site and can use that to try troubleshooting by disabling
   other plugins that could make it easy to find a potential conflict to account
   for.
 * Thanks
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15839417)
 * `What browser are you using? Is this happening in another browser? (just to rule
   out something local)`
 * So, I’m using Google Chrome. I tried another browser and got the same result.
 * `Do other features that use JS on the page work? (assigning a tag, switching 
   the code type, copy shortcode button, adding conditional logic rules)`
 * From what I seen, nothing outside the “Header & Footer” option works.
 * `If you have a staging site and can use that to try troubleshooting by disabling
   other plugins that could make it easy to find a potential conflict to account
   for.`
 * I can see what I can do…
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15843548)
 * So, I tried troubleshooting. Same result 🙁
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15843583)
 * Hey [@vdn-staff](https://wordpress.org/support/users/vdn-staff/),
 * Thank you for the update on this issue.
 * When looking at the browser console did you also try clicking the auto-insert
   option first? It might be that an error is thrown only when you click it.
 * It might also be that the scripts are not loaded properly on the page either 
   because of a corrupted filed during the update or something throwing a PHP error
   preventing the full page from loading (as the scripts are loaded at the bottom
   of the page).
 * Is it possible to check the PHP error logs to see if that could reveal anything?
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15844486)
 * `When looking at the browser console did you also try clicking the auto-insert
   option first? It might be that an error is thrown only when you click it.`
 * Tried clicking on “auto-insert” and got the same result. I did see errors but
   they had nothing to do with this plugin.
 * `It might also be that the scripts are not loaded properly on the page either
   because of a corrupted filed during the update or something throwing a PHP error
   preventing the full page from loading (as the scripts are loaded at the bottom
   of the page).`
 * I did see PHP errors. But again, they had nothing to do with this plugin.
 * `Is it possible to check the PHP error logs to see if that could reveal anything?`
 * Checked that. Ain’t seen no errors for this plugin.
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15844833)
 * I see, the errors don’t have to be related to the plugin to interfere. If you
   run into a JS error that can prevent further JavaScript execution and that would
   explain why you can’t make changes.
 * Same thing with the PHP errors – if an error is thrown from another plugin, for
   example, and that stops the page from loading before the WPCode script is loaded
   properly it could also explain the settings not working.
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15846347)
 * It’s worth mentioning that the (JS & PHP) errors I did find were related to the
   admin bar and Jetpack…
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15846368)
 * Can you please share the full name (or URL) of the plugin for admin bar you mentioned
   so we can test on our end to try and provide a solution?
 * Thanks
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15846401)
 * Here go the URL…
 * [https://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.js?ver=11.1.2-202229](https://s0.wp.com/wp-content/mu-plugins/notes/admin-bar-v2.js?ver=11.1.2-202229)
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15846454)
 * Thank you [@vdn-staff](https://wordpress.org/support/users/vdn-staff/), I can
   see that file is loaded by Jetpack but it doesn’t throw an error on my end, only
   a warning “Missing data from PHP (wpNotesArgs).” but that doesn’t interfere with
   the page.
 * Would it be possible to share a screenshot of the JS errors you are seeing? Maybe
   that could provide more info.
 * Thanks
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15846692)
 * Here go the screencap…
 * [https://ibb.co/FHcb2q6](https://ibb.co/FHcb2q6)
    -  This reply was modified 3 years, 10 months ago by [VannDigital](https://wordpress.org/support/users/vdn-staff/).
      Reason: Link didn't show
 *  Plugin Author [Mircea Sandu](https://wordpress.org/support/users/gripgrip/)
 * (@gripgrip)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15848682)
 * Thank you for the screenshot, from what I can see that error is usually related
   to a Chrome extension but you mentioned you run into the same issue in other 
   browsers so it shouldn’t be the cause of the problem here.
 * Regardless, I would also try opening an incognito window and checking if the 
   plugin works OK there just to rule it out.
 *  Thread Starter [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * (@vdn-staff)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/#post-15849940)
 * `Thank you for the screenshot, from what I can see that error is usually related
   to a Chrome extension but you mentioned you run into the same issue in other 
   browsers so it shouldn’t be the cause of the problem here.`
 * Right
 * `Regardless, I would also try opening an incognito window and checking if the
   plugin works OK there just to rule it out.`
 * Just tried to work it in an incog window. Same result.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/page/2/?output_format=md)

The topic ‘Can’t Select Auto-Insert When Creating Custom Code Snippets’ is closed
to new replies.

 * ![](https://ps.w.org/insert-headers-and-footers/assets/icon-256x256.png?rev=2758516)
 * [WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager](https://wordpress.org/plugins/insert-headers-and-footers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-headers-and-footers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-headers-and-footers/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-headers-and-footers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-headers-and-footers/reviews/)

 * 17 replies
 * 2 participants
 * Last reply from: [VannDigital](https://wordpress.org/support/users/vdn-staff/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/cant-select-auto-insert-when-creating-custom-code-snippets/page/2/#post-15863942)
 * Status: not resolved