Best Way to Move Content Source Code Higher in Page

Community Forums Forums Design Tips and Tricks Best Way to Move Content Source Code Higher in Page

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Davinder Singh Kainth 10 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #77802

    Mealtog
    Participant
    Post count: 440

    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?

    #77824

    Davinder Singh Kainth
    Participant
    Post count: 1291

    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.


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

    #77863

    Mealtog
    Participant
    Post count: 440

    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.

    #77949

    Davinder Singh Kainth
    Participant
    Post count: 1291

    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.


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

    #78111

    Mealtog
    Participant
    Post count: 440

    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?

    #78245

    Davinder Singh Kainth
    Participant
    Post count: 1291

    Posting on official plugin forum may help http://wordpress.org/support/plugin/bwp-minify


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.