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...

AdWords Conversion Tracking

So I ran into an issue where I needed to be able to track conversions in Google AdWords for forms that were using Gravity Forms.  While this example talks about how to do this you could really use this with any form submission to thank you page or confirmation...

Auto-Generate Meta Description in Yoast

So Yoast appears to have removed the ability for it to auto-generate the meta description based off of the content of the page or post.  Using this snippet turns Yoast into an automated SEO solution that will pull the first 250 characters of content to use within the...

Automatic Updating

So not sure how often it does do this but according to WordPress you are able to add some filters so that updates automatically happen.  It is best to add these into your child's functions.php file. add_filter( ‘auto_update_core', ‘__return_true' );...