- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- NewspaperNewspaper Theme Support
- NewspaperNewspaper theme documentation
- NewspaperWeather Shortcode
- NewspaperCloudflare (CDN)
- NewspaperBest Of Forums
- Thumbnails vs. Featured image size
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperRequirements for Newspaper
- NewspaperHow to Make the Site Faster
Hello !
In order to have the same looks on your Mobile too, simply go to Newspaper – Plugins and disable the Mobile Theme Plugin.
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Dear Sirs,
I made my website using Newspaper theme, everything is going well but the website is very slow to load pages.
On desktop the time loading is c.ca 12 seconds.
On mobile it’s impossible to use the website, since for each scroll it needs a couple of seconds to load the visible content. I tried the Mobile Theme, it’s faster but I don’t like it (it’s too simplistic and different from the desktop version).
Please can you help me to improve my website speed on Desktop and Mobile, otpimizing it as much as possible?
Thank you so much!
Hello,
Are you in the mood to testify on the live page of the litespeed cache plugin?
I have noticed that they block my work scripts, which display google adsence.
I can send you access data for the website by e-mail.
Hello !
In order to have the same looks on your Mobile too, simply go to Newspaper – Plugins and disable the Mobile Theme Plugin.
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Hi bjames1000, I think that you can use the guides that are made for Newspaper theme, you should be able to apply theme on Newsmag theme too.
If you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
– https://tagdiv.com/how-to-increase-page-loading-speed/
Let me know the results!
Hello !
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Hi, I have already installed the tagDiv Mobile Theme plugin, tested and configured it in Mobile + AMP.
I notice that all my pages look good, except the Home (attached photo- HOME) https://www.radiomarcabarcelona.com/goodnews-design/home.png
The Home looks like in Mobile format, and I don’t know why, now while I wait for your answer I have deactivated it.
I have also done a PageSpeed test and attached the 2 screenshots where you can see how my website looks with tagDiv Mobile Theme activated.
https://www.radiomarcabarcelona.com/goodnews-design/mobile.png
https://www.radiomarcabarcelona.com/goodnews-design/web.png
I hope to know why the Home looks like this with the plugin activated. Thank you
Hi,
I think that this has to do with the performance that your website has, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
– https://tagdiv.com/how-to-increase-page-loading-speed/
Let me know the results!
Hi acoustics86,
Yes, the LCP is a new element that was add by google an our theme like more of the theme has elements that when you are using can caused LCP. Our developers are working to improve these elements and to make the theme to get better results with every update that we make and even when new obstacles appears we face them. I’m sure that the problem with LCP will be improve in coming updates.
As for mobile theme plugin, this is making the mobile version faster, but hes less options and you still need to optimize your website.
For removing CLS from website, you can check these topic:
-> https://forum.tagdiv.com/topic/wpb-wrapper-causes-cls-in-desktop-version/
-> https://forum.tagdiv.com/topic/remove-cls-cumulative-layout-shift-from-html-element/
-> https://forum.tagdiv.com/topic/to-high-cumulative-layout-shift-in-mobile-theme/
Also please note that only testing demos page speed you’ll not see improvements, this is caused by more elements, like the plugins, options images content and so on, therefore all you use on our website can influence your website page speed.
Thank you for your understanding!
Hi Jumich, yes, you can use the child theme if you made changes in theme files, is even recommended for that, what is not recommended is to use the child theme for something that now it can be ah\chive using tagDiv Cloud Library, that is way we usually recommend to users to try cloud templates and only if they can not achieve what they need to use the child theme.
Also for page speed you can check the suggestions from these topics -> https://forum.tagdiv.com/topic/i-want-to-speed-up-mine-website/
Hope these will help you!
Thank you!
Thanks, I made all of those updates. My desktop speed is a lot better now but mobile speed was still bad. I tried the mobile theme instead but still can’t get LCP under 4 seconds, even when I tested with most of my plugins disabled. I’m on managed WordPress hosting so that’s not the issue.
I tried a few of your demos and all of them scored pretty poorly on desktop and mobile pagespeed tests. One shouldn’t have to do so many tweaks to get an optimized theme and website. These should come out of the box blazing fast and optimized for desktop and mobile.
Could it be that when your themes were made years ago when site speed and LCP wasn’t as much as a factor (and now LCP is one of the biggest site speed factors), that your themes were not built for this and now they are outdated when it comes to LCP, at least on mobile?
So what’s being done to fix this? I’m not paying a custom service if your products are outdated. I thought a year of support meant that you would actually get into the site to help fix this, like how Thrive Themes actually helps fix problems without sending customers to a pricing page when they ask a question.
What are your fastest templates that I can test out?
Thanks
Hi, You can use some plugins for maintenance -> https://optinmonster.com/wordpress-maintenance-mode-coming-soon-plugins/
Also note that you must to optimize your website in order to get a good page speed, here is a topic with indications for how to do this -> https://forum.tagdiv.com/topic/i-want-to-speed-up-mine-website/
Hope this will help you!
Hello !
1. The Mobile theme was specially designed for optimization on mobile devices. Unfortunately on mobile theme you cannot do much changes of design. If you want to have the same design as on desktop mode you can achieve that by simply disabling the mobile theme.
You will have to recreate your pages into the Mobile editor or completely disable the mobile theme. The mobile editor will not render shortcodes !
Also you can disable mobile theme on certain pages or posts by following this setting: 
Please take a look here: https://forum.tagdiv.com/the-mobile-theme/
Mobile theme plugin can be disabled from Newspaper Plugins as you can see here: https://www.screencast.com/t/LnkZCEVC
2.The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
3. Please note that at the moment the Support team is not 24/7 available. We answer the topics from Latest to Newest Monday – Friday from 08:00AM to 05:00PM GMT+2
Thank you !
Hello !
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
I am not able to see any section of mobile theme, additionally, after installing the theme my website’s speed got drastically reduced. Kindly help as I have already contacted you guys before with no luck
I am not able to see any section of mobile theme, additionally, after installing the theme my website’s speed got drastically reduced. Kindly help as I have already contacted you guys before with no luck
Hello !
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Hi,
I did a SEO Website Checker and got 56 of 100 which is very poor. Here is the link to the report – https://sitechecker.pro/app/main/project/1137019/audit/summary
For example it says “Description is missing on 120 pages”, but where do I insert description on this theme page/posts?
What can I do to improve this score on the theme end?
Also, on google speed test is 6/100, my score is which is really poor. How can I increase the speed?
Hello !
Unfortunately for the GDPR you will have to use an external plugin. Newspaper Theme does not offer this option.
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Hello !
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Hi team,
we ran some test on google page speed insights it suggests that we can remove these unused CSS & JS from loading can you please confirm if it is OK to block to remove it somehow ? will it not impact the website ?
https://techweu.com/wp-content/plugins/td-standard-pack/Newspaper/assets/css/td_standard_pack_main.css
https://techweu.com/wp-content/plugins/td-composer/legacy/Newspaper/assets/css/td_legacy_main.css
https://techweu.com/wp-content/plugins/td-cloud-library/assets/css/tdb_less_front.css
https://techweu.com/wp-content/plugins/aps-products/css/aps-styles.css
https://techweu.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
https://techweu.com/wp-includes/css/dist/block-library/style.min.css
As all of the CSS & JS looks loaded from the Theme file ..
Here is the test results
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftechweu.com%2F&tab=mobile
Hi team,
we ran some test on google page speed insights it suggests that we can remove these unused CSS & JS from loading can you please confirm if it is OK to block to remove it somehow ? will it not impact the website ?
https://techweu.com/wp-content/plugins/td-standard-pack/Newspaper/assets/css/td_standard_pack_main.css
https://techweu.com/wp-content/plugins/td-composer/legacy/Newspaper/assets/css/td_legacy_main.css
https://techweu.com/wp-content/plugins/td-cloud-library/assets/css/tdb_less_front.css
https://techweu.com/wp-content/plugins/aps-products/css/aps-styles.css
https://techweu.com/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
https://techweu.com/wp-includes/css/dist/block-library/style.min.css
As all of the CSS & JS looks loaded from the Theme file ..
Here is the test results
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Ftechweu.com%2F&tab=mobile
Hi,
Please make sure that all the settings are like in our requirements, please follow the guide carefully
– https://forum.tagdiv.com/requirements-for-newspaper/
and please increase all requirements that are lower, and follow all steps.
The page speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
– https://tagdiv.com/how-to-increase-page-loading-speed/
Please note that page speed is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
For page speed and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you for your understanding!
Hello !
The speed of your website depends on how well your site is optimized, if you follow the steps which are presented in this tutorial here -> https://tagdiv.com/how-to-increase-page-loading-speed/ you’ll be able to increase the speed of your website.
Also you can check this similar topic for more solutions: -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
Also if you want our custom services, you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you!
Hello support team,
My website is https://www.noobietech.com . My site score is very poor on GTMetrix. Any suggestions on how can I improve it?
I am using the wp-rocket cache plugin and CloudFront CDN at the moment.
Currently, my .htaccess looks like:
`
# BEGIN WP Rocket v3.6.2.1
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset UTF-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml
</IfModule>
# FileETag None is not enough for every server.
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
# Since we’re sending far-future expires, we don’t need ETags for static content.
# developer.yahoo.com/performance/rules.html#etags
FileETag None
# Send CORS headers if browsers request them; enabled by default for images.
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(cur|gif|png|jpe?g|svgz?|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
# Allow access to web fonts from all domains.
<FilesMatch “\.(eot|otf|tt[cf]|woff2?)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>
<IfModule mod_alias.c>
<FilesMatch “\.(html|htm|rtf|rtx|txt|xsd|xsl|xml)$”>
<IfModule mod_headers.c>
Header set X-Powered-By “WP Rocket/3.6.2.1”
Header unset Pragma
Header append Cache-Control “public”
Header unset Last-Modified
</IfModule>
</FilesMatch>
<FilesMatch “\.(css|htc|js|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$”>
<IfModule mod_headers.c>
Header unset Pragma
Header append Cache-Control “public”
</IfModule>
</FilesMatch>
</IfModule>
# Expires headers (for better cache control)
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault “access plus 1 month”
# cache.appcache needs re-requests in FF 3.6 (thanks Remy ~Introducing HTML5)
ExpiresByType text/cache-manifest “access plus 0 seconds”
# Your document html
ExpiresByType text/html “access plus 0 seconds”
# Data
ExpiresByType text/xml “access plus 0 seconds”
ExpiresByType application/xml “access plus 0 seconds”
ExpiresByType application/json “access plus 0 seconds”
# Feed
ExpiresByType application/rss+xml “access plus 1 hour”
ExpiresByType application/atom+xml “access plus 1 hour”
# Favicon (cannot be renamed)
ExpiresByType image/x-icon “access plus 1 week”
# Media: images, video, audio
ExpiresByType image/gif “access plus 4 months”
ExpiresByType image/png “access plus 4 months”
ExpiresByType image/jpeg “access plus 4 months”
ExpiresByType image/webp “access plus 4 months”
ExpiresByType video/ogg “access plus 1 month”
ExpiresByType audio/ogg “access plus 1 month”
ExpiresByType video/mp4 “access plus 1 month”
ExpiresByType video/webm “access plus 1 month”
# HTC files (css3pie)
ExpiresByType text/x-component “access plus 1 month”
# Webfonts
ExpiresByType font/ttf “access plus 4 months”
ExpiresByType font/otf “access plus 4 months”
ExpiresByType font/woff “access plus 4 months”
ExpiresByType font/woff2 “access plus 4 months”
ExpiresByType image/svg+xml “access plus 1 month”
ExpiresByType application/vnd.ms-fontobject “access plus 1 month”
# CSS and JavaScript
ExpiresByType text/css “access plus 1 year”
ExpiresByType application/javascript “access plus 1 year”
</IfModule>
# Gzip compression
<IfModule mod_deflate.c>
# Active compression
SetOutputFilter DEFLATE
# Force deflate for mangled headers
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
# Don’t compress images and other uncompressible content
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png|rar|zip|exe|flv|mov|wma|mp3|avi|swf|mp?g|mp4|webm|webp|pdf)$ no-gzip dont-vary
</IfModule>
</IfModule>
# Compress all output labeled with one of the following MIME-types
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE application/atom+xml \
application/javascript \
application/json \
application/rss+xml \
application/vnd.ms-fontobject \
application/x-font-ttf \
application/xhtml+xml \
application/xml \
font/opentype \
image/svg+xml \
image/x-icon \
text/css \
text/html \
text/plain \
text/x-component \
text/xml
</IfModule>
<IfModule mod_headers.c>
Header append Vary: Accept-Encoding
</IfModule>
</IfModule>
# END WP Rocket
# BEGIN YOAST REDIRECTS
<IfModule mod_rewrite.c>
RewriteEngine On
Redirect 301 “/how-to-install-laravel-6-on-windows” “/how-to-install-laravel-on-windows”
Redirect 301 “/top-10-best-free-web-hosting” “/best-free-web-hosting-sites”
Redirect 410 “/tdb_templates/review-template-4-gaming”
</IfModule>
# END YOAST REDIRECTS
<FilesMatch “.(eot|otf|ttf|woff|woff2)”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
#BEGIN GZIP COMPRESSION
<IfModule mod_deflate.c>
<filesMatch “\.(js|css|html|php)$”>
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
#END GZIP COMPRESSION
# BEGIN WordPress
# The directives (lines) between <code>BEGIN WordPressandEND WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php — END cPanel-generated handler, do not edit
# Start CloudFlare:noobietech.com rewrite. Do not Edit
RewriteEngine On
RewriteCond %{HTTP_HOST} ^noobietech.com
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]
# End CloudFlare rewrite
`
and functions.php of child theme (I have added some stuff from the internet to make it faster.)
`
// Load Essential Fonts Awesome
add_filter( ‘noobietech_fontawesome_essentials’,’noobietech_fontawesome_essentials’ );
function noobietech_fontawesome_essentials()
{
return true;
}
// Removing Emojis
add_action( ‘init’, ‘noobietech_disable_wp_emojicons’ );
function noobietech_disable_wp_emojicons()
{
// all actions related to emojis
remove_action( ‘admin_print_styles’, ‘print_emoji_styles’ );
remove_action( ‘wp_head’, ‘print_emoji_detection_script’, 7 );
remove_action( ‘admin_print_scripts’, ‘print_emoji_detection_script’ );
remove_action( ‘wp_print_styles’, ‘print_emoji_styles’ );
remove_filter( ‘wp_mail’, ‘wp_staticize_emoji_for_email’ );
remove_filter( ‘the_content_feed’, ‘wp_staticize_emoji’ );
remove_filter( ‘comment_text_rss’, ‘wp_staticize_emoji’ );
}
// Remove WP embed script
function noobietech_stop_loading_wp_embed() {
if (!is_admin()) {
wp_deregister_script(‘wp-embed’);
}
}
add_action(‘init’, ‘noobietech_stop_loading_wp_embed’);
// Preload Newspaper fonts for responsive theme (main theme)
function dns_prefetch_responsive() {
echo “<link href=’https://www.noobietech.com/wp-content/themes/Newspaper/images/icons/newspaper.woff?17′ rel=’preload’ as=’font’ type=’font/woff’ crossorigin>”;
}
add_action( ‘wp_head’, ‘dns_prefetch_responsive’, 0 );
`