Contact Form 7 Honeypot

bn

Few things are more annoying than SPAM. On website contact forms, there is an especially unique brand of spam that often rears its ugly head. Spammers will try to fill out forms online with backlinks to their own websites in order to help them with SEO. Often times the comments are very generic and typically…

Read More

print_r pre

small_8484119632

When you are using a print_r in php, it’s a very good idea to remember the print_r pre combo (ie wrap the print_r in a pre tag). The difference being that using pre will allow you to understand the output as it will be preformatted in a way that is easy for humans to see…

Read More

Include Latest jQuery

jql

Here is a quick snippet which you can use to include the latest version of jQuery on your site.  Some benefits of this method: You’ll always be up to date Protocol isn’t defined so it’s safe to load from site’s starting with both http and https jQuery is served via a CDN so you don’t…

Read More