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.
Thanks Davinder. I just tested Better WordPress Minify and it shorten source by 17 lines before content. Not bad. I see there is an option to Minify scripts registered in the header but you want to minify it in the footer instead. The instructions link to this page: http://betterwp.net/wordpress-plugins/bwp-minify/#positioning-your-scripts
Unfortunately, I need some more help. Can you give me an example of what I need to look for on my test site so I can try this? Not sure what code to input here.
Try this plugin instead – http://wordpress.org/plugins/wp-minify/
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.
If your motive for changing script position is to fasten up website speed, then using combination of: http://wordpress.org/plugins/wp-super-cache/ and http://wordpress.org/plugins/wp-minify/ works like charm.
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?
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.