Add Useful Links to WordPress Admin Bar

66

Add Links to WordPress Admin Bar

WordPress 3.1 introduced the admin bar, which adds admin options to the top of your pages as you browse your site (Assuming you’re logged in of course).

It’s easy to extend the bar to add new links of your own, or to remove links you don’t want (e.g. if the “Appearance” menu isn’t something you often need instant access to).

In this tutorial, we’ll be building a simple plugin that will let us add some handy links (e.g. a Twitter search for the current post, analytics, and ad sales), as well as remove the links we don’t want.

Read More »

Web Dev Books I’ve Been Reading

39

Web Dev Books

I’ve stacked up a fair few design, development and marketing/business books in the past few months. In this post, I want to share with you the ones I’ve enjoyed most, in case you’re looking to improve your knowledge in any of these areas too.

Read More »

An Updated WordPress Events List

102

WordPress Events List

Around this time last year, I wrote a post on how to create an Upcoming Events section on your WordPress blog.

The events can be displayed as a list of posts, ordered by the date in which they occur (And events that come and go will automatically be taken off the list of course).

As several of you found out this January though, that code had an issue in it that meant it stopped working with the new year. In this post, we’re going to fix that (Sorry it’s taken me to now to publish a tutorial with the solution!).

Read More »

WordPress $post, $term and $comment Object Cheat Sheet

56

WordPress Object Cheat Sheets

There are several objects in WordPress that we use all the time, namely $post, $comment and categories/tags. If you’re like me though, you never remember everything that’s in there, or the names of the values you want.

This cheat sheet will be a reference which you (and I) can refer to the next time you’re using one of the WordPress objects.

Read More »

Use the Transients API to List the Latest Commenter

51

Transient API

The Transients API is a WordPress feature that I had never heard of until a few weeks ago, when I wrote a post on getting your Twitter follower count in plain text.

On that post, Otto left a comment with a different way of getting the same result, using the Transients API. Instead of using cron, which can be complicated, transients allow you to use just one or two lines.

In this post, I want to show you how to use transients, and to do that, we’re going to build a simple script that will list the latest commenter on your blog, along with their avatar. The end result will look like the image above.

Read More »

How to Create Image Galleries in Your Theme

117

WordPress makes it straightforward to create a gallery from the images attached to a post. Just a couple of clicks and the gallery shortcode will be inserted into your post for you.

Why not make it even easier though? In this post, I will walk you through adjusting your theme to automatically insert a gallery after every post.

We’ll also limit how many images show up in the gallery (The rest can be shown on the individual image pages themselves), and exclude our post’s featured image if it has one.

Read More »

One Week of MightyDeals.com

32

This day last week, Walter of Web Designer Depot fame launched his newest venture; MightlyDeals.com. One week in, we’re going to take a look at the site so far and see what we make of it.

Mighty Deals is a site aimed at saving designers and other creatives a fortune on the tools and services they use every day. They offer one product at a time, at a massively discounted price (Around 50% so far), and each deal lasts only 24-48 hours.

Read More »