Easy Edit Links – My New WordPress Plugin

-- Download Easy Edit Links - My New WordPress Plugin as PDF --

So I’m making a new WordPress plugin that I’m calling Kalin’s Easy Edit Links, though I may change that before release. It’s just a little box that shows up in your page/post edit page that has a list of all pages, posts, categories, tags and links, with links to both the actual page and to the edit page.

Kalin's Edit Links Screenshot 1
Showing a list of posts with links and edit buttons

I figure this solves two hassles I have in making posts with WordPress. First, if I’m doing more than one post in a sitting, I want to be able to switch to the edit screen of the next post without waiting to load, then search through, the posts page. Second, I found myself constantly going back to my live site to find the link to a particular page so I could reference it. With this, I have it right there, ready to copy into my post. Google Chrome and Safari users can even drag and drop the link right into the post and it’s all ready to go. Firefox, for some reason converts the link into a relative link, which then breaks when it goes live 🙁 Imagine that, for once Safari does something better than FireFox. If anyone knows how to fix this in FireFox, please let me know. Internet Explorer can’t drag links at all, but at least you can copy and paste.

It seems like this plugin would be a processor hog since it needs to compile five different, potentially long lists, and needs to hit the database at least five times. However, I’ve built in a caching feature (see the debug output “not cached” in the image) that simply saves all it’s HTML to a WordPress option and loads it next time, giving you a little refresh button in the corner. When I write the settings page I might give the option for an automatic refresh on a timer, but I’m not sure if that’s even necessary.

Kalin's Edit Links Screenshot 1
Showing Categories

I should be releasing this plugin within a week or two, after I finish the settings menu.

I may even add a shortcode so you can add this little box into a post or into a sidebar… or perhaps I will simply copy this code and make a user-facing widget into a separate plugin.

I’m finding the WordPress platform quite enjoyable to work with and might just be switching my development focus away from Flash ActionScript toward PHP, HTML, CSS, JavaScript, jQuery and WordPress. An anarchist should be working with open-source technology.

Code is poetry.

3 thoughts on “Easy Edit Links – My New WordPress Plugin”

  1. Hey Kalin, this is a much needed plugin. Will be anxious to check it out when you are done.

    Did you know that they are working on something very similar on either 3.1 or 3.2? An option that when you click on the link button, you will be able to search your site for pages, media, etc. I think they were hoping for 3.1, but not sure yet…

    1. Hmm, that’s cool. I’ll be curious how they implement it. I just hope they don’t leave drafts out of the list, because I find myself frequently linking to pages that don’t exist yet. Fortunately this links plugin is pretty simple and has only taken me a couple days work so far, if it becomes obsolete in the next WP release.

Leave a Reply

Your email address will not be published. Required fields are marked *