Remove & Clean not required items from WordPress Head Section.
November 3, 2016 Comments 0 93 Views

Remove & Clean not required items from WordPress Head Section.

If you check the source of your WordPress WebSite then you will see many attributes lines in your wordpress head section. Not all are required items and we always think why do we need them?

Clean all not required stuff from wordpress head.

WordPress Theme and WordPress external plugins will automatically add many attributes in your wp_head() or wp_footer() that you don’t really need. This will not have a major affect on your website, although it can slow your website down a little.

Use below code to remove the additional attributes.

Below code will help to remove some of the attributes which you really not require, simply copy and paste the following code into your themes functions.php file. We have given comments in front of each line on what exactly it removes.

Previous Remove HTML Comments from wordpress website source
Next How to detect website is access from Mobile using PHP.

About author

Rio
Rio 34 posts

Expert web developer working in PHP, Wordpress, Joomla, Magento, Javascript etc.

You might also like

WordPress 0 Comments

Boost your wordpress site using htaccess optimization methods

You can optmize your wordpress website using htaccess file techniques. Only enabling the Compression, Setting up Header Expiry, Setting Header Cache controls can do wonders with your page loading speed.

WordPress 0 Comments

Remove HTML Comments from wordpress website source

Once you are done creating your WordPress website, have a look at your HTML source code generated by the browser. You may notice many HTML comments added by your theme

WordPress 0 Comments

Change admin username in wordpress for security

When you install new wordpress to create your website then the after setup the default admin username created is “admin” unless you specified any different username. This is the main

WordPress 1Comments

Remove Emoji Script & CSS from your wordpress source code.

When you install a new wordpress you will find a Emoji Script and CSS in your wordpress source code. Looking at the code you may feel it is unwanted and

WordPress 0 Comments

Secure WordPress login with additional Authentication Layer

We can use WordPress for creating a different website having default or custom functionalities. WordPress can be use for creating Blog, CMS, Ecommerce, Community, Social Site, Download Management, Movies Hub

WordPress 0 Comments

Remove category & tag base from WordPress url

WordPress permalinks add category as a base in URL of categories where your URL becomes /category/categoryname/ there is no issue in using this URL. But still many of us need

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply

11 + 7 =