Skip links

Main navigation

Forum navigation

Best Way to Move Content Source Code Higher in Page

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Is there a way to move less important code lower in the source page? I am trying to get the actual body content to be placed higher. Is there a way to move scripts and even menu bars lower on the source code?

You can move scripts to lower part by adding them to footer section found in genesis settings instead of header section. If you are doing this for faster loading, then it is a good idea to load all facebook, google analytics and other tracking codes to footer section. Also, you can use wp minify plugin to compress the source code for faster loading.

Minify plugin will combine all script files into one and load at the top. It is loaded at top so that site style appear fine even when loading, because if loaded at end site will appear broken till last element is loaded.

Thanks for the recommendation. Yes, already running Better WordPress Minify plugin. Getting page load speed is great but I am trying to move the content in the source code higher up in the source code itself.

I think with loaded scripts near the end, I will have to test and see if anything breaks. But now I need to know what codes to enter inside BWP minify to get this going. Any ideas?