Minimize WP HTML w/o a plugin

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

Isaac Adams-Hands

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

Related posts

Defining what content shows up based on page type

Quick code to define what content shows up based on page type. I had to have different containers show up depending on page. The Code

Add a Gravity Forms shortcode in WordPress (PHP)

To add a Gravity Form shortcode in the header, page, footer templates… pretty much anywhere in the theme, just add this code in your PHP file. Gravity Forms Code: You can also add the embed codes: Basic This snippet will display the form with an id of ‘1’; the title and description will not be… Read More