In Single Post Template 15 How can we see the article view its not displaying there.
Hi buddymantra,
If you refer to post views than all you need to do is to add to template:
https://www.screencast.com/t/7tfYIPVkimX
Thank you.
Hate to bump an older thread but support keeps referencing this one. Do yall still have good pagespeed scores? I’m seeing with the new lighthouse tests the theme does terrible on mobile and ok on desktop
Hi,
If you want to have a good speed on mobile device please use the mobile theme -> https://forum.tagdiv.com/the-mobile-theme/
Also please make sure that the theme system status is configured as mentioned in the requirements guide. Please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
There are many optimization guides provided by our users here in the forum, some made by us, you could check some of them
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Thanks for your understanding!
Calin,
Thanks for the reply but again, google changed pagespeed tests and if you use the old pagespeed I get an OK score but with the new one’s TD scores really poorly even after all of these optimizations. I am seeking clarity on which fixes actually address the newer checks as none of these do.
-
This reply was modified 7 years by
rockchucksummit.
How to optimize page speed if i use cloud template from tagdiv…its not breaks the template if i use some code for optimize with this tutorial???
My site is https://mysurel.com and I use technews pro
-
This reply was modified 6 years by
irfanjs.
Hi @amit, thank you for your awesome job.
I try to improve the loading of my site, and I have a question, how can I can reduce the loading of icons ? About the fonts, I know I have to load them in customs font to avoid request, no ?
https://gtmetrix.com/reports/www.typemeon.com/PVssJWnM
Thank you
Kind regards
-
This reply was modified 6 years by
gumball44.
Hi @emilienbournigal
A newspaper theme comes with an option to disable Google fonts. You can easily disable them from theme panel. Refer: https://prnt.sc/q8lo45
About the theme icons, I have not found any solution so far.
You can reduce the loading time of those scripts by adding the following code in head section.
<link rel="preload" href="//www.typemeon.com/wp-content/themes/Newspaper/images/icons/newspaper.woff" as="font">
<link rel="preload" href="//www.typemeon.com/wp-content/plugins/td-composer/legacy/Newspaper/assets/images/icons/newspaper-icons.woff" as="font">
I hope you will find this helpful.
Amit, sorry for my bad English
Friend, I don’t know how to optimize my website anymore, you can help me, because I don’t see what you’re doing wrong
thanks Amit for the updated guide:
https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
Hey @portalelos
You can post your problem here, we (including tagDiv team) will try to solve.
Thank you @amit
Where do I have to insert this code to make icons load faster ?
<link rel="preload" href="//www.typemeon.com/wp-content/themes/Newspaper/images/icons/newspaper.woff" as="font">
<link rel="preload" href="//www.typemeon.com/wp-content/plugins/td-composer/legacy/Newspaper/assets/images/icons/newspaper-icons.woff" as="font">
Second question, How can I use webp images on my site ? I’m using Imagify and Cloudflare, and Imagify is supposed to convert my jpg images into webp format, but it’s not diplay on my site..
How can I solve this problem ?
Hi @gumball44
You can add the following code to your theme’s functions.php file.
// Preload Newspaper fonts for responsive theme (main theme)
function dns_prefetch_responsive() {
echo '<link rel="preload" href="//www.typemeon.com/wp-content/themes/Newspaper/images/icons/newspaper.woff" as="font">';
echo '<link rel="preload" href="//www.typemeon.com/wp-content/plugins/td-composer/legacy/Newspaper/assets/images/icons/newspaper-icons.woff" as="font">';
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
Or You can use WP Rocket plugin to add fonts preload.
For webp images.
You can either use Cloudflare’s pro plan to serve webp images or if you are using imagify for webp then make sure you have configured it like this – https://prnt.sc/syz749
And remove cache everything page rule from Cloudflare dashboard if you have any.
I hope you will find this helpful.
Hi,
You need to reduce the js scripts, these take some time to be executed -> https://i.imgur.com/a3xi74w.png for this you can check these articles:
– https://stackoverflow.com/questions/53422834/how-can-i-reduce-javascript-execution-time-of-external-scripts
– https://web.dev/bootup-time/
– https://developers.google.com/web/fundamentals/performance/rendering/optimize-javascript-execution
– https://wordpress.org/support/topic/reduce-javascript-execution-time/
Thank you!
Hi @amit
I use this code in my functions.php file // Preload Newspaper fonts for responsive theme (main theme)
function dns_prefetch_responsive() {
echo "<link href='https://lowtechnation.com/wp-content/themes/Newspaper/images/icons/newspaper.woff?19' rel='preload' as='font' type='font/woff' crossorigin>";
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
Do I need to add the code above // Preload Newspaper fonts for responsive theme (main theme) function dns_prefetch_responsive() { echo '<link rel="preload" href="//lo<technation.com/wp-content/themes/Newspaper/images/icons/newspaper.woff" as="font">'; echo '<link rel="preload" href="//lowtechnation.com/wp-content/plugins/td-composer/legacy/Newspaper/assets/images/icons/newspaper-icons.woff" as="font">'; } add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
Because it looks different
Thank you for you help
Hi, @gumball44
Use this code for the main theme (This will not work with the mobile theme plugin)
// Preload Newspaper fonts for responsive theme (main theme)
function dns_prefetch_responsive() {
echo "<link href='https://lowtechnation.com/wp-content/themes/Newspaper/images/icons/newspaper.woff?19' rel='preload' as='font' type='font/woff' crossorigin>";
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );
I Hope, you will find this helpful.
@amit Do I have to specify “?19” after newspaper.woff
What is the difference between newspaper.woff and newspapaper-icons.woff ?
and for mobile theme ? Which code do I have to add to mobile function.php ?
Thank you
Yes,
For the mobile theme:
// Preload Newspaper fonts for mobile theme
function dns_prefetch_mobile() {
echo “<link href=’https://lowtechnation.com/wp-content/plugins/td-composer/mobile/images/icons/mobile-theme.woff?10′ rel=’preload’ as=’font’ type=’font/woff’ crossorigin>”;
}
add_action( ‘wp_head’, ‘dns_prefetch_mobile’, 0 );
Add this to mobile theme’s functions.php file.
You can read this guide for more optimizations: https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
