SETUIX.COM

The Technological Divide

  • Forum
  • Android
  • Linux
  • Microsoft
  • Apple
  • WordPress
    • WordPress Themes
  • Wallpapers
  • Tech
  • Web
Home WordPress How to Minify JavaScript and HTML for WordPress without a Plugin
How to Minify JavaScript and HTML for WordPress without a Plugin

4 August, 2014 By Damian de Costa

How to Minify JavaScript and HTML for WordPress without a Plugin

One of the major drawbacks yet useful features of WordPress are plugins, they are really useful as they empower the WordPress user with the ability to add a lot of functionality and feature to the website with great simplicity and easy and more importantly without any prior knowledge to programming, the big problem with plugins is that they tend to slow the website and they’re resources hungry so if the website is on a shared hosting plan you might get a warning from your host service provider. So sometimes it’s better to do simple tweaking without a plugin.

This post will present and step by step tutorial on how to increase your page load speed by minifying JavaScript and HTML without a plugin. Increasing page load speed increases your website performance in the search results as Google puts a huge load on page load time and it also increases your CTR.

Step One: Go to your website and log into your WordPress dashboard (www.example.com/wp-admin) and enter your credentials, then enter the dashboard.

Step Two: In your dashboard enter your Appearance menu.

Step Three: In the Appearance menu, go to the “Editor” tab.

Step Four: Open the function.php file at the right hand side of the screen and copy and paste the following code in it.

Step Eight: Click on the blue “Update File” tab at the bottom of the page.

Now, next time you or any of your users open the website, they will notice the difference in the loading speed and that will increase both your CTR and SEO performance.

Filed Under: WordPress Tagged With: javascript, Minify

About Damian de Costa

I'm the founder of Setuix Solutions. I'm also a tech junkie with a passion for reading and gaming. Debian user that has given up on Windows and a huge heavy metal fan with a knack of breaking things.

Hey, read these articles too!

How to change Windows hosts file

ExpressionEngine 2 with PHP 7

Windows-Cortana

Will Cortana Sway the Masses from Google to Microsoft

Public, Private and Hybrid Clouds

Windows 10 Update & Upgrade FUD

What to Look For in Your Web Hosting Provider

icloud

Ten Tips for Selecting Your Cloud Service Vendor

Terminator Genisys WallPapers

Is Artificial Intelligence Dangerous?

Microsoft’s Desperate Attempts at Saving Windows Mobile

· About Us · Contact Us · Privacy Policy · DMCA Policy · Sitemap · Contributors · RSS · Hosting Services ·

Copyright © 2022 setuix.com