New WordPress Plugin – Super Simple Events

I am happy to announce  today that my latest WordPress plugin is available on the WordPress plugin repository. As the name might suggest, the plugin is a simple one. All it does it register a custom post type and taxonomy for events post type. I build the plugin as I wanted to give something back and I have written a plugins similar to this before, I was sick of redoing the work.

Plugin’s features include:

  • Add events, set start / end dates, time and location.
  • Show event date before content in front end.
  • Assign event into event types
  • Hide past events
  • Widget to show upcoming events
  • Admin panel to configure settings
  • Shortcodes to display event meta
  • Pot file for easy translation

The code is based on Tom McFarlin’s WordPress-Plugin-Boilerplate and WordPress-Widget-Boilerplate plugins, which are a great base for any developer to start developing there WordPress plugins. If you want to checkout the source code, I am doing all of my development in the open on GitHub and you can also download a copy from the WordPress plugin repository.

I have a couple of more features plans for the plugin, but if you have any ideas for features or feedback, please posts in the comments below.

Website of the week

Little bit of a self serving post, but my website of the week this week is Massis Tea. This is a project I have been working on with a friend of mine for nearly a year. It is a WordPress based site, so it is fully manageable for the client. But it is also a single page site. One of the things I really sent the site on doing was making the sections of the sites linkable. So when you scroll, the hash value changes in your browser and you can then share that link with anyone.

I am very proud of this site. Check it out.

My move to WordPress multisite

I recently ran a project to convert my three main websites from single WordPress installs, into one multisite. There were many reasons to do this, it is much easier to maintain, with only one WordPress install, it means that all the sites have share plugins and settings, it means that I need not worry about old versions of plugins and different plugins on different sites. I had 3 different plugins on each site doing SEO and sitemaps for example.

The process was  a pretty simple one. Create a wordpress sites, enable multisite and create the blog. From there I used the wordpress exporter / importer. I wanted a fresh install of WordPress, so the xml exporter seemed like a good fit. However, the WordPress importer really doesn’t work very well, as it failed a number of times and failed to import a number of the images. The wordpress importer is broken and there needs to be work done on this plugin if it is be used as a mass market product. If I were to do the import again, I would use the WP CLI importer, as it doesn’t use as much memory. The wordpress domain mapper, also had a lot of bugs in it, it really isn’t clear how to use it. There only good thing about multisite is I have now enabled caching through the network using the W3C total cache plugin.

All in all, I think it was worth my time to do, as in the long run it means that I can keep all of my sites up to date a lot easier, but it isn’t for the faint of heart.