Mug Monday

Mug Monday Custom Post Type

GitHub Repo:  Mug Monday

Description

I got spoiled with my first taste of coffee.  I was only 13, but it was a delicious cup of Kona coffee in the beautiful state of Hawai’i.  My grandparents had taken us for their 50th wedding anniversary.  I’ve loved coffee (and Hawai’i) ever since. 

I’ve slowly been collecting coffee mugs over the years and now have over 100 of them.  I thought it’d be fun to start the week with a new mug each Monday.

As fun as this will be, I don’t have a lot of time to devote to showing off my coffee mugs.  I want this to be simple and as automated as much as possible.  The plugin should:

  • Allow me to easily share a new coffee mug each week.
  • Automatically create the title based on how many previous mugs are in the database.
    • I intend to do these in bulk so they won’t all be published at once. The plugin will need to check both published posts and drafts.
    • The title will also include “Week of” so all I’ll need to add in is the specific week.
  • Automatically add the “Mug Monday” category (and create it with a description if it doesn’t exist).
  • Automatically add the “Coffee” tag (and create it with a description if it doesn’t exist).
  • Add the Mug Monday post type to the main query so they show up with the rest of my posts.