WordPress Theme Hack!
Keeping you WordPress theme protected from being used by others is sometimes very important, especially if it is available on the web, or you intend to sell it.
Most of the times, themes are accompanied with additional information, which make them vulnerable from being hacked. A typical example of this kind of information is given below:
Theme Name: Ony Happy Cloud
Theme URI: http://example.com/free-base-wordpress-theme
Author URI: http://www.example.com
Basically this is everything all other users need, to hack your theme.
Q: So, how to prevent WordPress Theme Hacking?
The key to create IE specific styling is called conditional stylesheet.
IE provides comment tags, supported all the way up to the current IE 8 to target specific versions, as well as greater-than/less-than stuff for targeting multiple versions at once.
Why use conditional stylesheets?
- You got problems, they need fixin’
- Keeps your code hack-free and valid
- Keeps your main stylesheet clean
- Perfectly acceptable technique, sanctioned by Microsoft