How to Use the Twitter API in WordPress

84

Twitter with WordPress

There are plenty of Twitter plugins for WordPress. Why would we want to make our own script?

Well, most of the plugins come with a lot of fluff you just don’t need. Ours will be simple and efficient; all it needs to do is grab your tweets and display them.

The other reason is control; you write the markup, so it’s entirely up to you how it is displayed.

The last reason is that because we’re getting the tweets directly from the Twitter API feeds (i.e. no verification is going to be needed), we can easily display tweets from a Twitter List instead of just our own tweets.

Read More »

Make a Template for Taxonomies & Post Type Archives

30

Custom Post Type Taxonomies

On Monday, we set up a custom post type in WordPress for listing events. We also added Event Tags to them, and created a template for showing off the individual events.

Today, we want to look at the overall Events page. We’re going to list events by the date they occur, and work back in our tags so users can get a list of only the events that apply to them.

Read More »

Events List With Custom Post Types and Taxonomies

46

Events List Script

A few weeks back, we put together a way of adding events to WordPress and displaying them in an easy-to-read list. It was simple to maintain and it worked well, but it didn’t take advantage of all WordPress offers.

In this 2-part tutorial, we are going to extend our events list script to set up a new post type purely for the events, and create a new taxonomy for tagging our events. We will then be able to:

  • Organize our events easily (e.g. If we’re running WordPress classes, we could label them as Beginner, Intermediate, or Advanced)
  • Create templates for event lists and individual events.
  • Separate events out of the main post list (So they won’t automatically appear on the homepage anymore).
  • Add new events more conveniently in the admin panel (Especially when we add metaboxes in a later post!)

Read More »

Best Way to Have Quality Comments Only?

136

Quality Comments

I love reading the comments on each article I post. If you leave one, you’re near guaranteed I’ll reply to you directly and keep the conversation going.

The trouble is that after a day or two of an article being live, the spammers descend and the lovely, informative comment thread descends into “great article, agree with your points, visit my site”. It’s just not cool…

We’re working on a full redesign to Pro Blog Design, and one of the things I’m most interested in is this comments issue. How can I make sure the comment threads stay in that awesome-to-read stage from the first few days when an article is written?

Read More »

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 »