Capture users last login date and time
Adding the first snippet to the functions.php of your wordpress theme will capture a users last login time. Add the second snippet to the location you wish to display the users last login time.
read moreUse cron to schedule events in your blog
WordPress has the ability to schedule event using built in cron. So you can use this to schedule events on your blog. In this sample an email is sent out hourly to specified address however you could schedule nearly anything.
read morePost is older than
Adding this first block of code to your functions.php will allow you to check the age of a post to see if it is older than a set number of days. Great if you want to display some some information related to the post after set number of days or even stop displaying the post altogether.
read morethis months featured snippets
Display calendar
Adding this PHP code to your wordpress theme will display a calendar.
read moreAdd todays date
Add this PHP code to your theme and it will display todays date.
read more







