I wrote a new plugin for WordPress that lets you mark posts as sticky very easily. A sticky post is one that appears at the top of the output all of the time.

It’s different from most of the other sticky stuff I’ve seen for two reasons: It doesn’t require you to edit any WordPress source, and you only have to check a box on the editing interface to make a post stick. Most other plugins insist that you make changes to the somewhat delicate WordPress post querying code, or type something into a meta field to get a post to stick. Not this.

It seems to work in what I’ve tested so far. I figure that there must be a reason why nobody’s done it like this yet. It’s just a matter of time until someone points out why this won’t work.

Until then, you can download it in the wp-hacks section of the site. Enjoy.

Comments

To comment on this post, search for this URL in your ActivityPub client (such as Mastodon): https://asymptomatic.net/posts/sticky-posts

No comments yet. Be the first to reply via ActivityPub!