Title: Snippet loading order
Last modified: June 18, 2026

---

# Snippet loading order

 *  Resolved [yaroslav1367](https://wordpress.org/support/users/yaroslav1367/)
 * (@yaroslav1367)
 * [2 weeks, 3 days ago](https://wordpress.org/support/topic/snippet-loading-order/)
 *     ```wp-block-code
       The loading order of JavaScript snippets is reversed.It should be: the lower the priority number, the earlier the snippet loads.Currently: the lower the priority number, the later the snippet loads.You can see this for yourself by creating:Snippet_1.js, write in it: console.log("Snippet_1 Priority: 1 "); and assign it Priority = 1.Snippet_2.js, write in it: console.log("Snippet_2 Priority: 99 "); and assign it Priority = 99.General Options:Automatic insertion, footerLinking type - External FileIn the console, you'll see that Snippet_2.js loaded first, followed by Snippet_1.js.Here's my console message:5134.js?ver=1781766214:4 Snippet_2 Priority: 995131.js?ver=1781766256:4 Snippet_1 Priority: 1I'm using Woody Code Snippets Version 2.7.5Other installed plugins:Backuply ProCode SnippetsGoSMTP ProLoginizer ProMembersPopularFX Website TemplatesSiteSEO ProSoftWPUpdraftPlus - Backup/RestoreWoody code snippets (PHP snippets | Insert PHP)WP All Export/ImportWP Data Access
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [rodicaelena](https://wordpress.org/support/users/rodicaelena/)
 * (@rodicaelena)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/snippet-loading-order/#post-18944401)
 * Hi there,
 * Thank you so much for letting us know about the issue you’re facing. We truly
   apologize for the trouble this is causing you.
 * We’ve confirmed the problem and created a bug report for our development team.
   They’ll be carefully reviewing it soon and determine the best course of action.
 * Our team prioritizes fixes based on their impact and the number of users affected,
   so it’s hard to say exactly when this will be fixed. But we’ll keep you updated
   every step of the way.
 * If you have any more details that might help us understand the issue better, 
   please don’t hesitate to share them.
 * We’ll let you know as soon as a fix is ready. You can also keep an eye on the
   product’s changelog for updates.
 * If you have any other questions, please don’t hesitate to reach out.
 * Again, we’re so sorry for the inconvenience and appreciate your patience.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [rodicaelena](https://wordpress.org/support/users/rodicaelena/)
 * Last activity: [1 week, 6 days ago](https://wordpress.org/support/topic/snippet-loading-order/#post-18944401)
 * Status: resolved