Category Archives: Plugins

4 years and 2 months later… TheyWorkForYou plugin gets an update

Shocking it’s been so long really, but I’ve finally revived my TheyWorkForYou WordPress plugin.

When I first released it, all the plugin did was supply a TheyWorkForYou widget. Nothing’s changed! That’s for good reason though… At the time, the latest version of WordPress was 2.8.6 and we’re now on 3.8.1 so a lot has changed!

Crucially, the way plugin developers add widgets has changed so that needed to be updated.

Also of huge importance was that the original plugin hard-coded my own TheyWorkForYou API key and was a key reason why the plugin never made it to the WordPress.org plugin repository. There is now a simple settings page for you to enter your own API key, and the widget isn’t even available to you until you do that.

I have a bunch of other enhancements I want to add, all of which are listed on the GitHub issues page for the plugin. If there’s something you’d like to see in the plugin, please add it there too.

Given the amount of functions provided by the TheyWorkForYou API there are probably loads more things the plugin could do – please think of them and ask me to add them. Or, even better, fork and pull on GitHub and to add them yourself.

Finally, to use the plugin you can;

  1. Go to Plugins > Add New in your WordPress dashboard, search for TheyWorkForYou and install
  2. Download from the WordPress.org plugin repository and install manually

One important note: if you are using the original plugin, you’ll need to remove that first.

Enjoy!

New WordPress plugin: Change content based on device

When developing responsive WordPress themes I use a plugin called Mobble. It provides simple template tags to determine what device the site is being viewed on and change the layout accordingly.

On some sites, I’ve created shortcodes to allow me to use some of those functions within the content itself but after doing some work with Hampshire County Council which required something similar I decided to break out a new plugin.

You can download Mobble Shortcodes now from WordPress.org. Make sure you install Mobble first, though!

Options galore for Author Bio Shortcode plugin

My Author Bio Shortcode WordPress plugin has received a substantial update today, adding a bunch of new options.

Thanks to some helpful and constructive criticism from Richard Tubb about my blog I’ve been making a few updates including wanting to put a bio below each post, which reminded me I already had a handle little tool for that! Not satisfied that it only printed out the bio, I wanted to add my avatar and also some wrapper HTML to make styling the whole thing a little easier.

Version 2.0 of Author Bio Shortcode now does that. If you want to use it, or upgrade, I’d suggesting checking out the usage instructions at the WordPress.org plugin repository to see the fine detail. You can also see it in action at the bottom of this post!

Enjoy!

Update! Based on Nara’s comments I’ve just added some name parameters too, so that you can add the author’s name as well as bio.

Updates to WriteToThem WordPress Widget

I’ve given my WriteToThem WordPress plugin a well overdue refresh this evening.

You can download the latest version from the WordPress.org plugin repository now.

Here’s what’s changed;

  • Re-write: For those technically minded it now uses the WP_Widget class as it should do, which makes it much tidier.
  • Translations: I’ve also added support for translations so, if you want to make a Welsh or any other language version you can!
  • Filters: There are some filters in there (search the code for apply_filters to see them) for you to tweak the output if you’re looking for some advanced customisation.
  • GitHub: The code is also on GitHub so if you want to contribute, please do!

If you have any issues with the plugin, please post in the forums over at WordPress.org where I can better help you.

New WordPress Plugin: WS7 Weather Widget

One of the great local bloggers around Lichfield is Kevin Jones who, every day, uses his own weather station to provide a forecast for the area.

It’s a great service and one that we try and retweet through Lichfield Live. I wanted to provide our visitors with something more and so, after some collaboration with Kevin, I built a WordPress plugin that creates a lovely graphical widget that will sit in any WordPress sidebar to show today’s forecast, and link through to Kevin’s site for the full report.

You can see it in action on Lichfield Live and Burntwood Live and if you’d like to use it on your own site you can do so by downloading the zip file.

If you’re running a site in the local area, feel free to use it. It’ll update at around 7:10am every day. If you have any issues with it, or feature suggestions, let me know in the comments section below.

New WordPress Plugin: Story Latest

I wanted a way to easily present a “latest articles on this story” list on Lichfield Live articles so I developed this simple plugin which uses a shortcode and tags to achieve that.

For example, the Friary Outer development is an ongoing story that we’re covering. All of the related articles are tagged with “Friary Outer” and can be seen here: http://lichfieldlive.co.uk/tag/friary-outer/

Clicking on any one of them you will see a list at the bottom of the article of all the articles related to that story, with the most recent at the top.

This is achieved by adding the following shortcode to each post:

[story-latest tag=”friary-outer”]

The plugin replaces that with the list of posts. Great for any site that has multiple posts on the same topic and wants to group them easily.

Download now from WordPress.org. Feedback welcome in the comments or at WordPress.org.

Planning Applications for WordPress: New Plugin

It was great to hear last week of the progress Chris and his team at OpenlyLocal have made on resurrecting Planning Alerts.

Thanks to their efforts we now have a site where we can view planning alerts for each council across the country. Not all councils are there yet, but it’s a great start.

As expected, the applications are available as XML, JSON and GeoRSS, which made it easy for me to – in two hours – produce a WordPress plugin that allows any self-hosted WordPress site to display a widget of recent planning applications.

You can download the plugin right now from WordPress.org. If you fancy contributing, it’s also on Github.

At the moment, there’s just the widget. I plan to add the ability to add lists of planning applications into posts and pages, as well as maps pinpointing each application.

Comments welcome!

WordPress Author Bio Shortcode v1.2 plugin released

I finally got round to updating this quick-release Author Bio Shortcode plugin. The main changes are background stuff and making sure it’s compatible with the latest version of WordPress (v3.2.1 as I type).

One important feature is that I’ve locked in compatibility only to v3.2.1 and older. If you’re using a version of WordPress prior to 3.2.1 you won’t be able to activate. Upgrade!

Secondly, while the original version only allowed you to place the bio of the current post’s author (i.e. it would print my bio here because I’m the author of this post), you can now specify an author using one of three methods.

Here’s some examples…

Show the current post author’s bio:

[author_bio]

Display the author bio of the author with user ID #4:

[author_bio id=”4″]

Display the author bio of the author whose username is ‘bobby’:

[author_bio username=”bobby”]

Display the bio of the author whose e-mail address is me@example.com:

[author_bio email=”me@example.com”]

This is really useful for creating a “team” page on your site.

If you have any questions, comments or feedback, leave them here or on the WordPress.org forums.

If you use it and it works, please leave a rating and mark it as working on it’s WordPress.org plugin page!