Cron Jobs and WordPress

Occasionally you find the need to have scheduled tasks run in WordPress. Ideally this should be done using WordPress Cron which allows you to tie in with visits to the website as to things being run periodically. The main commands that you will be needing are the...

WordPress Code Generated – GenerateWP

WordPress Code Generated – GenerateWP I came across this very useful site that can be used to get you started with your WordPress plugin or other customizations, generatewp.com. They have 28 generators for free as well as 5 premium ones that you have to have a...

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

WordPress Databases – Using dbDelta

There are plenty of times you need to create extra database tables for storing data within WordPress.  Sometimes a scope of an addon has changed and you need to modify the table.  Using dbDelta within WordPress can allow you to modify the table without having to use...

WordPress Plugin Header Requirements

Here is the code sample of what is required for developing a plugin.  This needs to go into the main php file within the plugin folder. <?php /* Plugin Name: WordPress.org Plugin Plugin URI: https://developer.wordpress.org/plugins/the-basics/ Description: Basic...