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.