Documentation

General / Html – Styles

Posted in: Getting Started (3) Plugin Options Explained (32) Actions / Filters (24) How To (8)      Options (26)    Rewrite (17)    style (2)    Replace (10)  

This section provide methods to control the style links format being displayed on front side. An example of such link:

<style rel='stylesheet' id='id-of-style' type='text/css' media='all' href='http://-domain-name-/wp-content/themes/default/css/style.css?ver=1.12.4'></style>

Remove Version

 
This provide a method to remove the Style file version number which is being append at the end of every style tag. Generally this is intended to be a plain information upon the style code version, however not being used within any functionality or code run. Keeping version number for styles provide additional information to hackers which try to identify specific code and version which know as being vulnerable.

Remove ID from link tags

 
This provide a method to remove the Style file ID attribute which has no usage.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Scroll to top