Hello,
Unfortunately, this tool has caused more problems than it has helped. I’m glad it was useful for you, but for the majority of users, it wasn’t, and there have been requests for it to be removed. The code has been optimized; please go to the theme panel -> block settings -> inline css https://i.imgur.com/cwwmOPu.png and disable the option to minify the css.
Thank you!
Hello,
I’m glad you created your own topic for this issue. Please, in the future, create your own topic even if the problem is similar, as the cause and solution can vary from one user to another.
Please try to exclude those javascript from your plugin for cache
-> wp-content/plugins/td-composer/legacy/Newspaper/js/tdMenu.js
-> wp-content/plugins/td-composer/legacy/Newspaper/js/tdAjaxSearch.js and check after because I see that you use a plugin to minify the js.
Thank you!
Hi,
Seems you use Siteground plugin to minify the css and js; please disable those options clear the cache, and check after.
Thank you!
Hi,
Please go to the theme panel -> block settings -> inline css and disable the option to minify the css and clear the cache.
Thank you!
Hi birkasi, if you situation with the mobile menu is the same, then yes, please exclude the mentioned files.
Related to js for ads, are those from AdSense? If so, there are some AdSense codes that are auto ads and will be set in the place where they consider is the best place, if are regular ads, then just make sure that after you set back the unminify js all the cache and CDN are purge.
I hope this will help you!
Hi Calin,
Hi Calin. I have the same situation, but I only see it from my mobile phone. Can the exclusion you suggested solve the problem for me? I switched to Cloudflare on Friday, also to speed up the website. Apparently – although I know it’s part of the support, but I’ll give it a try because I failed to solve it – after minifying the javascript and css files, one of my important ads (the javascript code is placed in the footer because it’s displayed as a bottom ribbon ad by a third party) doesn’t show up. Even after I turned off the minifying, I still couldn’t get it to revert. Do you know what could be the conflict? Thank you very much!
Hi,
I think that you use the option to minify the css and js. Please disable it, delete the object cache file https://forum.tagdiv.com/general-options-may-interfere-newspaper-theme/ and check after.
Thank you!
Hello!
Improving page speed in WordPress is crucial for providing a better user experience and optimizing your website for search engine rankings. Here are some tips to help you enhance your WordPress site’s page speed:
Optimize Images: Compress images before uploading them to your WordPress site. You can use plugins like WP Smush or EWWW Image Optimizer to automatically optimize images without losing quality.
Utilize Caching: Implement caching to reduce server load and speed up page loading times. WordPress caching plugins like WP Super Cache or W3 Total Cache can generate static HTML files of your pages to serve to users, instead of dynamically generating them each time.
Minify CSS and JavaScript: Minify your CSS and JavaScript files to remove unnecessary characters and reduce file sizes. This can be done manually or through plugins like Autoptimize or W3 Total Cache.
Enable GZIP Compression: Enable GZIP compression on your server to reduce the size of files sent from your server to users’ browsers. Most hosting providers offer GZIP compression, but you can also enable it through plugins like WP Rocket or W3 Total Cache.
Optimize Database: Regularly clean up and optimize your WordPress database to remove unnecessary data and improve performance. You can use plugins like WP-Optimize to automate this process.
Limit External Requests: Minimize the number of external requests your website makes by reducing the use of external scripts and widgets. Each external request adds overhead to your page loading time.
Enable Lazy Loading: Implement lazy loading for images, videos, and iframes so that they are only loaded when they are visible on the user’s screen. This can significantly reduce initial page loading times.
Optimize Server Response Time: Choose a reliable hosting provider with fast server response times. Consider using a content delivery network (CDN) to serve your content from servers closer to your users.
Regularly Update Plugins and Themes: Keep your WordPress core, plugins, and themes updated to the latest versions to ensure compatibility with the latest performance optimizations and security patches.
Ads can significantly impact the speed of your WordPress website since they often involve loading external resources and scripts. You can try to limit the number of ads, optimize ad sizes and formats and implement lazy load on your ads.
By following these tips, you can significantly improve the page speed of your WordPress website, leading to better user engagement, higher search engine rankings, and overall improved performance.
Thank you!
Hello,
1. I added some exceptions in the “Exclude CSS from Autoptimize” but until now the problem is the same, so for the moment if you are using featured video the option for aggregate inline CSS should not be used.
2. I am sorry for this situation, I and my colleagues are trying to do our best to help, but unforeseen situations also occur.
When a specific support colleague is mentioned (you did the same @Calin) he will try to answer, other colleagues will answer if he is busy with other tasks at the time.
3. I identified some file that needs to be checked by the developer wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_optimize.php but I do not know for the moment how to fix it, in my option I think that the code should check if is a video post type and if is to skip minify that part. I tried to add back the css using some JavaScript, but is seems that is not working correctly.
Have a nice day!
Hi,
The only solution is to exclude those files (tagdiv_theme.min.js and js_files_for_front.min.js) from been minify by the cache plugin and CDN.
Thank you!
After monitoring my websites, I found that the theme, even when cached, continues to slow down the speed in these two files. I used the “black demo” theme. My concern is that even when I try to minify these two codes, the theme fails in the search button or ends up breaking. Currently, I use Ezoic as a CDN for my site.
42% of the render-blocking time comes from the script loaded from path “/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js” (the Newspaper theme) e 11% comes from the script “/wp-content/plugins/td-cloud-library/assets/js/js_files_for_front.min.js”.
Site: bicycles.net.au
Newspaper: 12.6.3
On a web browser (with responsive setting) the mobile menu appears when clicked as an overlay (slides in from the left).
On iOS (17.1.2) the hamburger menu is visible and when clicked, no overlay menu appears as is expected. The webpage size gets a bit smaller and has a drop shadow but the menu is not visible.
I have disabled .js file ‘minify’ (via the W3TotalCache). Any ideas why this is not working and the mobile menu is unavailable on the mobile device.
Hi,
I see that you have the lite speed cache plugin. Does this problem happen when you are logged in?
If it works, then there is a setting from the plugin related to minifying the CSS and JS.
Thank you!
Thanks for the insights Simion. Yes we’re on a very old version but can’t update for fear of breaking other things on the site (running an old version of WP and PHP).
My goal with editing style.css is to minify the style.css. It’s excessively large and causing speed issues with the site.
If directly editing style.css isn’t possible, can you recommend any other ways to minify it?
We use W3 Total Cache, which is supposed to support CSS minification, but it doesn’t appear to be doing this for style.css Maybe this is an incompatibility issue between the theme structure and W3 Total Cache, or maybe it is minifying style.css but not style.css?ver=3.2, which is the actual file being served?
I’ve tried kicking all available caches on /style.css and /style.css?ver=3.2, and what happens is I can see the minfification when I load /style.css, but when I load /style.css?ver=3.2, I only see the old code. And as I mentioned, the file that’s actually being serve to visitors is /style.css?ver=3.2.
Hello @trasno!
There is all about the DOM. Which means you need to have less elements into that container or row, as such on that page. I can suggest you only to take care of how many elements you use on that page. You can try to use a cache plugin or a plugin which can minify the page or combine some elements in order to reduce its size.
To increase the page speed you can check these similar topics for more solutions:
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://developers.google.com/speed/docs/insights/v5/about
– https://www.youtube.com/watch?v=tnkVapqhIHc
– https://www.xtechkr.com/optimize-newspaper-theme/
– Check those guides : https://web.dev/lcp/ – > https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> > https://wp-rocket.me/google-core-web-vitals-wordpress/improve-cumulative-layout-shift
– https://forum.tagdiv.com/topic/to-high-cumulative-layout-shift-in-mobile-theme/
Please check the tutorials from those platforms gt metrix and Google Pagespeed Insights and I’m sure you can increase the page speed.
Please note that page speed is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
Do you encounter any errors while importing the sections from the Cloud Library? I’ve tested, and for me, it comes out as it should with all the settings.
Thank you!
Hello Calin,
sorry to jump in. Just seeing the new options and I like them very much, gonna use them later.
A quick question about the “aggregate & minify inline CSS”. If I enable this, would there be complications with other plugins that also have these features? For example autoptimize or WP Fastest Cache.
Thank you!
Hello,
Please disable the minify the inline CSS and clear the cache; check after the mobile background colour.
Thank you!
Hello,
The issue comes from the Lite speed plugin: https://i.imgur.com/FbMFj1P.png. I think you have enabled to minify the js option; disable it and check after.
Thank you!
Hi,
Please go to the theme panel -> block settings -> inline css and disable the option to minify the css and js and clear the cache.
Thank you!
Hello,
Please disable the minify the inline css and clear the cache, check after the mobile templates.
Thank you!
Hi Anamaria,
Option to minify the css is meant to help with speed load, right?
Option to delay load foor is also meant to help speed load, right?
According to what you are saying these two options exclude each other.
Makes no sense.
Hi,
The issue is caused by the inline css option, not the delayed load. I will add this issue to our list. Please go to the theme panel -> block settings -> inline css and disable the option to minify the css and clear the cache.
Thank you!
Hi,
The problem is caused by the scripts from ads https://i.imgur.com/VIlhLxO.png -> https://i.imgur.com/yMTIH0U.png You can try to use WP Rocket to minify the resource.
Thank you!
Hi,
Please go to the theme panel -> block settings -> inline css and enable the option to minify the css and js, clear the cache and check after.
Also, make sure that you have the same plugin on both websites.
Thank you!
Hello,
Please disable the minify the inline css and clear the cache.
Thank you!