WordPress versus TypePad: Sticky posts
UPDATED: This post is now obsolete. WordPress now has sticky posts.
There hasn’t been that much good about TypePad on this blog for a while because I have become so fascinated with what WordPress really has to offer, but there’s one feature that TypePad has and WordPress not that I have noticed many users are asking for in the WordPress Forums, and that is “sticky posts”. Sticky posts are posts that you can pin or stick or feature as the first post of your blog regardless of the date when it was published. It can be several years old, if you want to. In WordPress you’re stuck with the good old blog rule of newest post first, oldest post last.
Fortunately, WordPress has a workaround, sort of…
In TypePad, in the post manager, or post editor, all you do is select whichever post you want to stick on top as “featured” post. Done. Unselect and select a different one. Simple as that. How can WordPress do the same without having a function like that?
In WordPress, making a sticky post entails changing the date of the post you want to make sticky. But wait…won’t that break any link to that post? Nope. Try deleting the date from this post in your browser address bar and make it look like this:
Hit Return or simply click the link above. Make sure you hover over the link first to see at the bottom of your browser window that the link is really coded like that. What happens? You are taken to the post with the date. How come? I don’t know, but apparently WordPress disregards the date and searches for a matching title. This is what we will exploit to make a sticky post. So regardless of which date you are using, your readers will always be directed to your post.
How to make a sticky post in WordPress
The following method does involve some extra work, because you need to go through these steps every time you write a new post while you have an older sticky one:
So, you want a sticky post. OK:
- Select your sticky post and edit the date and time for when it is published. Set the time and date to “now”, e.g. 4:35 pm. Publish. It goes on top on your posts page.
- Then start writing your new post for the day. Set the time 1 minutes or so earlier than the sticky post, e.g. 4:34 pm. Save. Finish writing. Publish.
- For every “new” post, repeat step 1 and 2.
It’s not perfect, but it works. The idea is simply to offset the posts just enough so that one appears after the other. A word of caution, though. Changing the date of posts may not be a good idea, as it will confuse your readers as to when you actually wrote most recently. However, it can be suitable for non-descript and timeless posts.
I still prefer the real sticky posts of TypePad, which still have the original date in them. But at least you can make WordPress look like a blog with sticky posts.
TypePad versus WordPress: TypePad: 2, WordPress 1
Thanks to tdksucks for this excellent idea.
This post is now obsolete. WordPress now has sticky posts.