0

Hi I’m attempted to add asynch loading to my functions php but, It was blocked by Boldgrid.
Here is the Warning I received when adding.

Warning: Cannot modify header information – headers already sent by (output started at /home/earth/public_html/wp-content/themes/boldgrid-hydra/functions.php:15) in /home/earth/public_html/wp-includes/pluggable.php on line 1174

 

How can fix this?

 

Here’s the rest from Google’s Page speed Optimizer.  It’s important for me to have everyhing optimized for Moblile

 

Any tips on optimizing the CSS as well?

I do have GZIP and Cashe enabled and this has fixed some errors but, I need help with the rest.

 

Thanks

 

Thanks Much

Eliminate render-blocking JavaScript and CSS in above-the-fold content

Your page has 2 blocking script resources and 16 blocking CSS resources. This causes a delay in rendering your page.

None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Remove render-blocking JavaScript:

  • http://501earth.com/…-includes/js/jquery/jquery.js?ver=1.12.4
  • http://501earth.com/…s/jquery/jquery-migrate.min.js?ver=1.4.1

Optimize CSS Delivery of the following:

  • http://501earth.com/…-gallery/includes/css/style.css?ver=1.52
  • http://501earth.com/…ncludes/css/magnific-popup.css?ver=1.1.0
  • http://501earth.com/…dors/flexslider/flexslider.css?ver=2.6.1
  • http://501earth.com/…rousel/assets/owl.carousel.css?ver=2.1.4
  • http://501earth.com/…l/assets/owl.theme.default.css?ver=2.1.4
  • https://fonts.googleapis.com/…%2C900%7COswald&subset=latin%2Clatin-ext
  • http://501earth.com/…t-awesome/font-awesome.min.css?ver=4.5.0
  • http://501earth.com/…nderscores/underscores.min.css?ver=4.5.0
  • http://501earth.com/…ss/bootstrap/bootstrap.min.css?ver=3.3.1
  • http://501earth.com/…oldgrid-theme-framework.min.css?ver=1.20
  • http://501earth.com/…k/assets/css/components.min.css?ver=1.20
  • http://501earth.com/…rid-hydra/css/buttons.css?ver=1478287249
  • http://501earth.com/…-content/themes/boldgrid-hydra/style.css
  • http://501earth.com/…ra/css/color-palettes.css?ver=1478287248
  • https://fonts.googleapis.com/css?family=Oswald%7COpen+Sans&subset
  • http://501earth.com/…cludes/kirki/assets/css/kirki-styles.css