Happy New Year all! I’m looking forward to what will hopefully be an awesome year, with WordPress and otherwise. I thought I’d take the opportunity to wish-o-wish upon a star and toss out some things I think would be really cool to see happen in the exciting world of WordPress.
Subscribe To Comments, rebuilt for modern WordPress
This is an incredibly popular plugin, and we use it right here on Digging Into WordPress. It still works with 2.9, but it hasn’t been updated since 2007-12-14. There is no admin panel to speak of, and the management screen that does exist looks like this:
I would love to see this re-built, designed up, and intergrated into the Admin area of WordPress.
Publishing a page, main action button
If you publish a lot of Pages in WordPress, you can feel me on this one.
Approved comments to all admins
For posts that Jeff writes, when someone comments, Jeff gets an email and I don’t. When I write an article and someone comments, I get an email but Jeff doesn’t. There should be some kind of way (plugin?) where we both get emails about comments.
Alright this one I think would be a HUGELY awesome idea for a plugin. Two more buttons for comment moderation:
All the plugin does is add this information to the comment data somehow. When all the comments are output with
wp_list_comments, the only thing that happens is a “featured” or “bury” class is applied to the list items classes:
Then it is up to the theme designer to integrate styling or functionality with these hook. Imagine special backgrounds for featured comments, or gray-ing down buried comments. I could even see this being in the WordPress core, as a way to really enhance the readability of long comment threads through admin moderation.
I like the Art Direction plugin* for it’s ability to add code into the
Another way to approach this would be to have your theme automatically look for the presence of a CSS file unique to it on the server somewhere. Probably in the format
style-%PAGE-ID%.css. If this file exists, it appends it into the head and uses it. If not, it doesn’t. That way styling a post is as simple as chucking in a CSS file of the proper name and writing code.
* Important note about the Art Direction Plugin: it breaks caching plugins. I’m sure many of you use caching plugins like W3 Total Cache or WP Super Cache. The combo of these plugins will wreak all kinds of havoc on your site. Frederick Townes has re-wrote the art direction plugin for my use on CSS-Tricks, and we’ve tried to submit it to the author be he hasn’t done anything with it yet.
Rules for turning comments off
There is one setting under Settings ▸ Discussion for when you want comments turned off on all Posts/Pages. It’s fairly common on bigger sites to turn off comments on older content. After a certain amount of time relevant conversation dies off and turns into all spam and makes moderating comments on the site a much bigger job.
However, there might be certain content on a site which may make sense to have different durations for open comments. An opinionated blog article, maybe 2 weeks. A snippet of code, perhaps a year would be better. I think it would be cool to be able to set how long comments stay open. Perhaps based on what page template is in use, or the category applied.
That’s all I gots for now. Food for thought.
Regarding the approved comments to all admins, I can help you out. I released a plugin long back. I plan on taking it up and adding some more features. I run it on techtites.com and Mark has a similar version on WLTC.
But I’m an admin, and I don’t get comment notifications for Jeff’s posts?
Have you tested this one? (Hosted at the WP Plugin Directory)
My plugin above will notify the admin
I think Subscribe to Comments really needs a facelift.
I don’t think Featuring or Burying would be in the Core, but perhaps as canonical plugins I keep hearing about.
I agree Feature/Bury probably won’t make it in the core, but I mentioned that because I almost/sorta/kinda think it should be. Of course it would be totally theme-dependent as to what happens with that, but it would be WordPress stepping up and providing a tool to make conversation threads a better place, something the whole internet struggles with.
I’d love to see the “bury” feature on comments. Perhaps a “like” feature would be useful too, as the majority of comments on some sites are “Yeah, Chris! Nice post!” which really doesn’t add anything useful to the conversation.
Agreed. In this post I propose *categories* for comments based on their function: Getting More out of Comments: Start with Categories. I’d love to see a WP plugin for this.
I’d like to see some sort of workflow option. Like the ability to save a draft version of an already publish page/entry without having to unpublish the original version.
I know they have revision history, i think it’s basically the ability to NOT make the most recent revision published until it’s approved.
wait, do they have that already?
You can set posts to “Pending Review”, so… sort of. And to make a new new draft of a post that is already published, you could just copy and paste the stuff… although that leave something to be desired since that wouldn’t copy the category selections, custom fields, etc.
That’s what I thought.
The workflow stuff is the only reason we chose Drupal for one of the larger sites we’re working on. I’d love to see WordPress get something like that (at least in a plugin) since it’s a heck of a lot easier than Drupal really do stuff.
I guess you could publish a page then immediately roll back 1 revision…
I second the need for a more robust workflow option. Sometimes you will have the situation where a page is live, and someone needs to make changes to it, but it would be nice to have those changes approved by an administrator before the page is published.
I would also love to see an easier way to embed internal links. If you have a site with a lot of pages, it would be nice to have some kind of pull-down menu in the editor with a list of all the pages to create links. Using the page ID, of course, and not slugs, to avoid link rot in case a page name changes.
style-xxx.css: This is practically written for you on the reference page for the
wp_enqueue_style()function. Just add a variable for the post id, concat it to the stylesheet path and plop this code into your single.php template. Blammo!
Advanced comment moderation rules definitely. I also like the custom stylesheet templates idea, which would help eliminate some of the homogeneity within sites and around the web in general.
I also agree that “Feature/Buy” would be cool as a plugin (canonical/otherwise). It would also be nice to be able to tag individual comment sub-threads as “something” and then be able to sort comments by tag, date, popularity, and so on. Seems useful especially for heavily commented posts.
I also find it remarkable that a plugin not updated since 2007 remains so heavily used and has survived the many changes to WordPress since then.
Idealien Category Enhancements gives you the ability to create single-[title].php template files based on the category which may ease your style challenges. You can also manage which templates categories use through the admin console under the Posts > Category menu.
When you did the screencast about Art Direction on CSS-Tricks, I suggested using custom fields to get your CSS per-page and per-post.
Since then, I’ve written some code you can just plop into your
functions.phpfile and it’ll give you a Custom CSS box to type in, and insert the CSS into your
Feel free to use it, I’ve put it on Snipplr.
For the workflow review-edit-approval cycle, consider the Edit Flow plugin that is used within newsrooms.
To be email notified when a comment is made on the “other guy’s” postings, consider using the Multi Author Comment Notification plugin by MaxBlogPress.
Be aware that the plugin asks for your email address as part of its initialization. To avoid getting emails from MaxBlogPress, one can follow the tip by @blpro
Have you tried this [404 link removed] works like a tweetdeck for your wordpress comments.
Adding the New Page as default there is actually rather simple.
Look in wp-admin/includes/template.php. Down towards the bottom of the file, you’ll find the function favorite_actions().
In that function, it reads the wp-admin page name and sets a $default_action based on that. For example, when you’re looking at the edit-pages.php screen, the default action becomes “New Page”.
The Page editor screen is page.php. Note that it has no default action. To give it one, simply add a case ‘page.php’: in the correct place. You can add it directly before that case ‘edit-pages.php’ if you want the default action to be the same New Page link.
If you want this change made to core, then I suggest making an Enhancement ticket to that effect on the WordPress trac. As always search first, somebody else might have already made that ticket request.
I totally agree with subscribe to comments, and feature/bury comments. With the huge focus on user generated content, a lot of focus needs to be put on comments.
I just created a simple function for
I borrowed some stuff form my ie_stylesheet function which looks for ie stylesheets in current theme and include them. Doesn’t hurt to copy that here to, its very helpful:
This is great Hassan! I tested it out and made a few modifications. Works great. I’ll be posting it here soon, with full credit to you.
That’d be great. I’m looking forward to it.
Aww, no love for the Custom CSS panel I commented about earlier? :P
Lots of love Kerrick! I’m going to post on this soon and I’ll include your method (credited) as well.
Woohoo! That’s awesome!
You should ideally be using
wp_headas Russell mentions above.
Hopefully Automattic will release the version of ‘Subscribe to Comments’ they are using on WordPress.com – it has a much prettier interface.
I think what would help with the comments issue is a js feature that appnr.com has where it lists only so many and then if you scroll to the end of that section it will load the next batch.
That method is called lazy loading.
But I think Chris’s method is useful to make difference between comments that worth to read and those which don’t.