Category: How To
This trick allow you to hide the meta tag Generator name, to improve security of your wordpress installation; it’s a security tips, to prevent spam and common wordpress attacks based on the content generator system.
Simpy past the following code in your function.php file and save file
This tricks helps you to check if a specific custom fields has key but don’t have value. This can happen, for example, if you use front end plugin. You can use this string whenever you want in your template file (in the loop)
Using this snippet of code you will be able to setup 2 differents languages the first for your admin and the seconds for your frontend. Add the following code in your function.php