When we use minification in fucations.php it will disable images

Posted in: Newspaper
Post count: 9

When we use the minification code in fucations.php it will disable images. What is the solution. Beacuse this GTMetrix score will be low.

Post count: 35449

Hi,

You can use a plugin for minification, here is a list of the best 7 Best WordPress Minify Plugins -> https://crayonify.com/7-best-wordpress-minify-plugins/

Hope this will help you!
Thank you!

Post count: 9

thanks for reply,
But I am already used w3total cache for minification. I have tried both with or without plugin minify the HTML and CSS but when we activate images will be disabled and when we remove or deactivate plugin it will display images on site.

Post count: 35449

Hi,

In the most cases this is a plugin conflict. Please deactivate these plugins that are not from theme and use the WP Super cache as in our documentation from here -> https://forum.tagdiv.com/cache-plugin-install-and-configure/

Let me know the results!
Thank you!

Post count: 9

I am trying both to deactivate W3 Total Cache and adding custom minification code in functions.php. but when we add this code only all images will be disable rather then when we remove code it will be show and code.
What is the solution how we can minify HTML, CSS and JS
Also, I send message through email to contact@tagdiv.com but no one replies till 2 days.

Post count: 35449

Hi aktech508,

The minify process is part from speed optimize process -> https://tagdiv.com/how-to-increase-page-loading-speed/
-> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/

Hope this will help you!
Thank you.

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