5G Blacklist 2013 by perishablepress.com

This is something I came across on perishablepress.com was a way to help protect your website though the .htaccess file. # 5G BLACKLIST/FIREWALL (2013) # @ https://perishablepress.com/5g-blacklist-2013/ # 5G:[QUERY STRINGS] RewriteEngine On RewriteBase / RewriteCond...

Adding a after_body Action to WordPress

So there are times that you would like to be able to add code directly after the body tag of a site.  WordPress unfortunately does not have this capability built into it.  So by modifying the the header.php file of your child theme you can easily give you the ability...

Adding Validation to a WordPress Creation Toolkit Field

So I ran into a need to validate an email address for a frontend posting of a custom post type using Cozmos Labs WordPress Creation Toolkit.  Here is the code that I used to be able to accomplish that.  There is some commented out code that allows for you to see what...

Additional Security Headers

There are always people that are interested in running things as secure as possible. You should need to place this code into a file within the mu-plugins directory to ensure it gets fired as early as possible when loading the front end of the website. I have been able...