Welcome @gumball44
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/
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.
Hi,
Generally this request comes from views count feature in the theme. Try disabling it and recheck.
Hope you will find this helpful.
Hi,
Try preloading theme fonts and optimize images.
Hope you will find this helpful.
Hi,
You can ignore this warning or install Redis object cache along with WP Super cache or WP Rocket on your server.
Note: You must have more RAM on your server in order to use Redis cache.
Hope you will find this helpful.
Hit install and Activate button https://i.ibb.co/TRmyDsq/foto.jpg
Hello Sunil,
The problem is not related with Newspaper theme.
There must be any plugin thats blocking feed. Or check if you have blocked feed by adding any custom code.
Can you try disabling extra plugin (including WP Super cache)?
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.
Thanks for the quick reply.
Hey @Satwik
How do you manage the mobile theme on Clowdways?
Many times, the Mobile theme appears on the Desktop and vice versa.
Are you using WP Rocket on Cloudways?
Refer: https://prnt.sc/srgfvw
Hi Matthijs,
Glad, I was able to help.
Have a great time!
Hey @portalelos
You can post your problem here, we (including tagDiv team) will try to solve.
Hi sentierol,
I keep this guide updated to keep things working with the latest Newspaper theme.
I am glad you have noticed that.
Cheers!
Hello,
Follow to set a static page as the homepage:
Goto Settings>> Reading >> Your homepage displays >> A static page (select below) >>> Select the page you wanna set as homepage.
Refer: https://prnt.sc/sr90h8
That’s it!
I hope you will find this helpful.
Stay home, stay safe!
Hello,
Follow to set a static page as the homepage:
Goto Settings>> Reading >> Your homepage displays >> A static page (select below) >>> Select the page you wanna set as homepage.
Refer: https://prnt.sc/sr90h8
That’s it!
I hope you will find this helpful.
Stay home, stay safe!
Hi,
Goto theme panel >> Block settings >> Meta info on Modules/Blocks
Disable show author name and show date.
Thats it.
Purge cache.
Hope you will find this helpful.
Stay home, stay safe.
If you want a mobile theme enabled for mobile users, then you can go with Mobile + AMP.
If you want to display responsive design to mobile users, you can go with just AMP.
Hope you will find this helpful.
Stay home, stay safe.
Hello,
You can try excluding jquery.js from defer. If you are using WP Rocket plugin you can check box for Safe mode for jQuery.
Hope you will find this helpful.
Stay home, stay safe.
Hello,
1. Optimize all images on your site, consider using progressive images or webp images.
2. Disable unused jetpack features.
3. Add Leverage browser caching/ Expiry header for static contents.
Hope you’ll find this helpful.
Stay home, stay safe.
Hi,
I am using WP Rocket on my all sites with Newspaper theme. And I am happy with the results.
