google-fonts-style-css in the footer

Posted in: Newsmag
Post count: 142

Hi,

I wanted to know the function to be included in the functions.php file to be able to move from the header to the footer the following “google-fonts-style-css”

<link rel=’stylesheet’ id=’google-fonts-style-css’ href=’https://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700%7CRoboto+Condensed%3A300%2C300italic%2C400%2C400italic%2C700%2C700italic&ver=3.4&#8242; type=’text/css’ media=’all’ />

Look forward to your news

Post count: 142

Hi

I tried this with:
//google fonts
function css_mover() {

$this->move_style_to_footer_queue(‘google-fonts-style-css’);
}

But it does not seem to work.

Post count: 23312

Hello orlando,

Do you have checked our useful guide, like this -> https://forum.tagdiv.com/how-to-make-the-site-faster/ Try to consult it because there you will find all the needed steps which you need to do in order to achieve best theme results. After this, try to clear all your caches and check the results. Notice that the Speed Booster is an optional plugin and if you fail to optimize your site you should consider hiring a freelancer/developer to help you because our support does not cover the optimization services, sorry!

Thanks for your understanding!

Post count: 142

Hi Catalin,

I would like to use your Speed Booster plugin but the problem that before the opening of the new page is always a white page and then you see the rest of the site.

You need to find a better solution to improve this plugin extension.

Look forward to your news

Post count: 142

Hi,

I can know where I can find this script

<Link rel = ‘stylesheet’ id = ‘google-fonts-style-css’ href =’ https://fonts.googleapis.com/css? Family = Open + Sans% 3A300% 2C400% 2C600% 2C700% 7CRoboto + Condensed % 3A300% 2C300italic% 2C400% 2C400italic% 2C700% 2C700italic & ver = 3.4 ‘type =’ text / css’ media = ‘all’ />

I would like to add at the end of the link

<….. lazyload/>

Within the thema in which file.

Thanks for your news

Post count: 142
Post count: 142

Hi,

I wanted to know why the plugin uses speedBooster

https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js

While wordpress 4.7.4 uses the version

https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js

Thanks for your news

Post count: 22421

Hello,

You will not be able to find the exact string you are looking for in the theme code as it’s a generated code. It is created here: https://www.screencast.com/t/BMpSVzQsbXtd
Please check this topic to learn about speedbooster;s plugin compatibility: https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/
You can check if the plugin is active or not in the system status panel: https://www.screencast.com/t/hziCNjBMYvE

Thank you!

Post count: 142

Hi Bogdan,

I know I did not say well.

I did not say a white page is coming out, but if I navigate through the site through a desk between a page and the page is over for a page less than a second, while the mobile thing is longer.

This makes the site seem to be caring, so user seems to be slow and not fast.

This is because it charges the style late.

I tried to create an Above the Fold but it does not work well.

If you had a better solution for the speedbooster plugin, with scrips for the file function.

Once this thema worked better it was faster and Google’s pagingpeed gave other values now, we have to settle for the maximum score of 85/86 on Desk and 67/75 on mobile (if I did a proper implementation).

I hope I’ve been pretty precise in explaining the problem.

Post count: 142

Hi,

I need your help where these 3 links within themagnetmagazine and the js_composer plugin:

I have to try to redeem asynchrony these header links.

I only need to point out the files to be modified,

1
<link rel=’stylesheet’ id=’google-fonts-style-css’ href=’https://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700%7CRoboto+Condensed%3A300%2C300italic%2C400%2C400italic%2C700%2C700italic&ver=3.4&#8242; type=’text/css’ media=’all’ />
2
<link rel=’stylesheet’ id=’js_composer_front-css’ href=’https://cdn.site.com/wp-content/plugins/js_composer/assets/css/js_composer.min.css&#8217; type=’text/css’ media=’all’ />
3
<link rel=’stylesheet’ id=’td-theme-css’ href=’https://cdn.site.com/wp-content/themes/Newsmag/style.css&#8217; type=’text/css’ media=’all’ />

Thanks for help.

Post count: 9544

If you’re looking for best speed, consider NOT using *any* Google fonts and switching to my suggested web safe font stack for all devices. Look at the last dozen posts in my long long 2+ year old thread on site optimization found in the docs > tutorials > best of forums …. might prove useful to you someplace 🙂

Post count: 142

Hi Chris S,

I know your file function tips very well, and I’ve also used them in shortcuts.

The problem that Newsmag has not approached the new google speeds and standards.

But no one ever thought to use AMP programming for a whole thema that would be desk or mobile. As it has an incredible speed.

I get news from Bogdan, to find out where I find those three links within them and plugin.

Post count: 22421

Hello,

If you are looking for page speed improvement please note that page speed is a very personal issue. It starts from the host that you use, to the optimization made and all the way down to the content on your site.
Please use this guide to improve page speed: https://forum.tagdiv.com/how-to-make-the-site-faster/ and please check this link for a note on speedbooster: https://forum.tagdiv.com/topic/tinymce-advanced-and-other-various-disabling-speed-boster/
Using speedbooster is described in the page speed guide.
The links above are not found anywhere in the code as they are. I have pointed the call to the fonts above. The second and third links are the visual composer css and the main theme css file. You should read the speedbooster instructions on how to move render blocking css to the footer. But this does not influence page speed greatly. The images are the ones slowing down your site. Almost 80% of the page speed improvement will come from image optimization and of course a decent host.

Thank you!

Viewing 13 posts - 1 through 13 (of 13 total)
The forum ‘Newsmag’ is closed to new topics and replies.