Here is the code (adding it to your WordPress’s functions.php file) to minimize your themes HTML code without a plugin.
Add to Functions.php
Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.Follow @ twitter
How to hide Gravity Form field labels
If you want to add support to hide field labels on a field by field basis, simply add the following line of code to your themes (functions.php). What this code does is adds a Field Label Visibility dropdown under the Appearance tab in your Gravity Form field (see screenshot below). Gravity Forms Hiding Sub-Labels You… Read More
Remove unwanted script from WP Header
I’ve noticed that WordPress adds tons of unwanted script to the header. I totally get why, but for highly focused themes, I like to remove as much as I can. This decreases page load times, eliminates render-blocking resources, and optimizes the First Link Priority Rule. The Script Using the script below, add it to your… Read More