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 »

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 »

How to Optimize a WordPress Database

98

Optimize WordPress Database

Have you looked near your MySQL database since you first set it up? If you’re like most of us, you probably don’t go in there too often.

MySQL is complicated and unfriendly to use, and well, your site works as it is. So why bother?

If you do happen to venture in there occasionally though, you might find there are a few simple tricks you can pull to make the most of your database usage. From headache-saving tricks for you, to cranking a little more performance out of your server, check out the 7 tips below.

Read More »

How To Make a WordPress Events List

227

WordPress Events List

An events list is just what you would expect; a list of upcoming events, ordered by the date they are taking place on (Not the date they were written on!).

In this post, we are going to create our own events list that will let us add events simply by writing posts and assigning them to an “Events” category. It can’t get much easier than that!

Read More »

10 Ways to Speed up Your WordPress Blog

204

imagebigger

If your site takes an age to load, in the words of Jeremy Clarkson, that’s not good. You don’t want to wear on your reader’s patience before they’ve even started reading.

In this post we’ll explore ten ways to speed up your site, with tricks ranging from easy to even easier; none of the stuff in this post is difficult, so there’s no excuse for a slow-loading blog after reading this!

1. Delete Any Unwanted Plugins

If your site is loading slowly, look at how many plugins you’re using. If the answer is more than ten, look at the plugins you’re using and ask yourself whether you can integrate them directly into your theme.

While you’re at it, also ask yourself whether you really need the plugin. If you can do without it, do.

Read More »

11 Best Ways to Improve WordPress Security

154

dbsec1

“Why should I care about WordPress security?”

That is the question I usually get when I start talking about how to install WordPress securely. Believe it or not, many people think the chance of a hacker — or precisely, cracker or web site intruder — getting into their blog and causing havoc is slim to none.

Read More »

Bloggers, Get Familiar With Your Database

27

database-server All of your posts, settings, and every other piece of data about your blog are stored in a database. Sooner or later, you are going to have to access that database directly, especially when things go wrong.

Thankfully, the level of knowledge a blogger needs to have about their database is very low. It’s easy to get to grips with, and you’ll be glad of it when that fateful day eventually comes.

Read More »