I am developing a simple Wordpress app but I am having an issue as all of the plugin scripts are rendered before those which are enqueued in my
Here is a sample section of the
The important this to note is that (following best practice my JS is set to render at the bottom of the page.
I also have couple of plugins running on the theme. The problem is that the output looks like this:
How can I force Wordpress to display the main JS (which I believe is rendered by
wp_head() ) to appear above the plugin scripts? That way the plugins can reference JS functions that are in the main theme.