December 9, 2013 at 3:55 am #77802
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?December 9, 2013 at 7:34 am #77824
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.
December 9, 2013 at 12:50 pm #77863
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.December 9, 2013 at 8:58 pm #77949
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.
December 10, 2013 at 1:52 pm #78111
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?December 10, 2013 at 9:07 pm #78245
You must be logged in to reply to this topic.