Clutter Free
About
Clutter Free is a plugin that lets you hide portions of the WordPress posting interface that you rarely (or never) use. Instead of being minimized (and still taking up room), they’ll be completely invisible.
Clutter Free works on WordPress 2.0.5 and above. With earlier WordPress versions, there are a few areas that cannot be hidden. Upgrade!
Download
Instructions
- Download and unzip
- Upload
clutter-free.phpto your/wp-content/plugins/directory. - Activate it from within the WordPress admin interface.
- Go to your WordPress user profile (”My Account” for 2.0.x and “My Profile” for 2.1)
- Uncheck any elements you do not want to appear on your post screen
- Save your profile
Versions
- 0.4 Fixed an array bug, cleaned up some code
- 0.3 The “Preview” and “Image Upload” sections are now removed (not just hidden with CSS) which makes editing posts faster (code adapted from Owen Winkler’s Kill Preview plugin)
- 0.2 Added “quicktags” blocking
- 0.1 Initial release


Wordpress 2.0.5? As of today, the latest stable version is 2.0.4. Nice plugin, btw, looks quite useful
This is a great idea, something I tried to do myself (though I’m no WordPress guru). Keep up the good work.
Molgar,
WordPress 2.0.5 is being developed right now… should be out within a few weeks. The plugin works with 2.0.4, but there are a few things that it can’t hide.
I love how you’re telling us to upgrade to a version that’s not out yet.
I didn’t say “Upgrade NOW”
This is great for all those client projects you setup with WordPress. I often find normal business users are overwhelmed by all the techy options you get on the WordPress console (what business user cares about pingbacks?)
Good call on the plugin anyway. I’ll be plugging into some of my websites.
It’s great! Would it be too difficult to set some defaults for every user?
Mark,
Thanks for the plugin. I just installed it and am getting this message in my user profile page as well as the options page — Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/rewqtyui/public_html/wp-content/plugins/clutter-free.php on line 69
is that something I should worry about?
Mark: I’m getting all sorts of “headers already sent” errors. Any ideas? [I'm happy to email you examples if you want, but no point cluttering your comments with 'em.] As always, thanks for all you do.
Michael,
Try making line 51 this:
$options = (array) get_user_option('txfx_clutter_free');(the new part is the addition of
(array))Let me know if that fixes it.
Geof,
You probably copy-pasted or right-clicked the download link. Click the link above, then left-click the big honkin’ “Download” button.
Mark — Plugin is promising, but I’m getting the following error at the top of every admin page when the plugin is activated, even with a default theme selected:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /[OBSCURED FOR SECURITY]/wordpress/wp-content/plugins/clutter-free.php on line 69Any ideas on how to resolve? This doesn’t appear to break anything in the site itself…just the admin.
Mark —
OK, so I’m an idiot…just saw your post to Michael about the edit to line 51. That fixes the problem for me quite well, thank you very much.
BTW — +1 to the idea from Maria about setting “global” defaults for this…I could VERY much use that in my particular application of Wordpress as a CMS.
Cheers…Neil
This is like, the best plugin ever. Thank you
Mark,
I finally got around to adding (Array) to line 51. Worked like a charm. Thanks again!
Agreed that this is a fabulous idea. It would be ideal if the admin could control the display, however, not the user.
I think I found an issue with the plugin. As I noted above I made that “array” modification the other day. I didn’t notice any problems until today, when I went to edit an old (previously existing) draft post. The edit page never loaded. I just got a blank page with no error message. I tried editing some of my old (non-draft) posts and pages and got the same thing. Disabling Clutter Free fixed the problem.
The weird thing is that I’ve edited old posts since making that “array” mod with no problem. I haven’t changed anything on my blog (settings, plugins, etc. ) since then
Michael,
I would guess that you inadvertently changed something else… perhaps injecting white space before the start or the end of the plugin. I’m going to update the plugin now, so look for version 0.4 in the next 30 minutes.
Hi pal,
mind if i modify this plugin to do the same for page editing?
Regards,
Joost
I have modified Clutter Free to have a global options page. Read more and download at http://dasrockt.net/~achim/
Cheers!
Just thought you’d like to know of another strange error I’ve run into
When I have the plugin enabled and click to make a post, I get a blank page. My error log shows this error at exactly the same time as getting the blank page:
[code]PHP Fatal error: Call to a member function get() on a non-object in /home/****/public_html/wp-includes/cache.php on line 29[/code]
The strange thing is, this blog is on the same server as another one of my blogs that works perfectly fine with your plugin! Any suggestions?
I am getting this error.
Fatal error: Call to undefined function: wp_get_current_user() on line 53
The fix you suggested to other problems around line 51 doesn’t seem to be relevant, as the code is already there.
Seems like an awesome plug-in would love to get it working. Thanks for your effort.
Hello:
Nice plug-in. I was just wondering if it works on 2.0.7 or if anyone tried. I am running it and it won’t display my post page (with no error). Just wondering. Thanks!
As a follow up, the plug-in will display the page as long as Post Preview is checked.
Thanks for this wonderful plug-in, now my write page is clean and pretty to write on.
This plugin is really awesome. I only use about three fields in the write panel, so this is the perfect plugin for me.
Great stuff!! thanks!!
also, the ability to hide the drafts box or put it below the editor would be greatly appreciated (I’ve placed it myself below by editing the wordpress admin files and it works much better that way, especially if you have alot of drafts. obviously doing it via a plugin would be perfect so that when wordpress issues an update you don’t have to re-edit all the manually edited pages.)
(which makes me wonder: does anyone ever thought of a plugin to easily customize the quicktags.js file? So that one doesn’t have to re edit it manually every time?)
(finally: does anyone have tested clutter free with 2.1?)
thanks! ( again )
I tried Clutter-Free w/ WP 2.1, but after activating it I was seeing only blank pages. Could just be me, but I’m thinking not. Mark, any thoughts on 2.1 compatibility?
Thanks,
Nate
Nate,
Clutter Free works fine in WP 2.1 for me and many others. Make sure you download the file (click the download link), not copy-paste its source code.
Success! Not sure what happened before. Anyhow, this looks like it’s doing just what I was hoping.
Some clarification for other users (as of 29 Jan 07): Left-click on the “Latest Version” link above. Then left-clikc on the “Download” button at the top of the page that appears. In my case, the download started automatically (to my default destination), and the file appeared as “clutter-free.php.html.” Just rename that file and chop off the “.html,” and you’re good to go.
Off to donate a small chunk of $. Support Mark in his magic-making, peoples!
Thanks so much!
It would be nice for admins to use this plugin to change the displaying elements for selected users groups.
nice plugin!
What I was looking for is to make admin post view as simple as possible to our writer.. the plugin can do it but every writer has to do it by themself.. So why cannot I just edit the options when I view users profiles as admin since I’m able to change all the data for them besides this?
great plugin..
been using it since v0.3 -
unforetunately, i also had the blank page problem (described above) when upgrading to v.04 and wp2.1 -
i narrowed down the problem to just the “hide Post Preview” option.
i had post preview enabled (hidden) while using v0.3 and it seems that simply diabling (showing) post previews solved the problem (editing posts was possible again and all other options were still sticking).
maybe these previous setting of mine (from v0.3) were somehow messing up cluttr-free v0.4? or, maybe it had something to do with wp2.1 -
long story short, i disabled the entire plugin (after undoing the “hide post preview” option), then re-enabled the plugin and everything just started to work again (even after re-enabling hide post preview)!
not the best scenario but i’m happy for now.
after having hid post previews again (with no problems), i noticed that the little link that used to appear at the top of the right sidebar (manually view post preview in new window instead of inline) was gone. so no way to check previews at all! not good.
anyway, i took a look at the code for clutter-free.php and found that if i replaced:
$content = preg_replace('//mis’, ‘ID)) . ‘” onclick=”this.target=’_blank’;”>’, $content);with this:
$content = preg_replace('//mis', 'ID)) . ‘” onclick=”this.target=’_blank’;”>preview »‘, $content);..i got the link back and was back in business.
nice work by the way!
p.s. I also managed to modify the clutter-free-global plugin (also mentioned above) to work simultaneously along side this one. For those who are interested, the effect is that of having a site-wide clutter-free setting (on the options tab) where things you (as admin) choose to hide cannot be unhidden by regular users, and anything not hidden globally can be hidden individually by regular users (on their profile tab). i’ll be commenting on this in more detail and linking to my modded version over there at dasrockt.net
thanks again.
looks like it ate my code..
go here to grab the modified version (with code replaced already)
Hi,
Very nice plugin. Just What I’m looking for.
Can someone make this plugin for pages also?
Please
Thanks
Thank you for this excellent plugin. I had some headers already sent errors, which I fixed by removing all whitespace after the “?>” at the end.
Elran??
Good tweaking. How do I read your further elaborations on this? I’m particularly interested to see if you can unhide everything for the admin user, and let’s say editor and hide most option for all other user by one click. Not by editing each user profile?
Cheers!
hi Jocke,
i used my modified version of clutter-free-global by achim to set up global (site-wide option) - configurable by Admin on the Options Tab. I run this side-by-side with clutter-free (which lets users select which options they’d like to hide) - configurable by each user from the Profile Tab.
So, while i have been able to get it to hide some things from everyone and other things on a user by user basis - it cannot do the reverse. That is to say, i cannot get it to unhide some things from some users and hide for everybody else. Once you i hide something globally, it’s hidden from all users - including myself.
It’s a little confusing, i know. But, it was just a quick hack - i haven’t really spent much time with it..
FYI - i’m still having some problems with blank screens when trying to edit an existing post (with Hide Post Preview enabled). This is solved by unchecking this option (as mention earlier). Also, the code that adds a “preview” link into my modified version of clutter-free - only does so for new posts - so you don’t get the preview link when editing an existing post. This has no ill effect on site functionality, but no easy way to preview your existing posts is available in this situation.
oh well..
Hi Elran,
Thanks for that update. Even with that shortcoming your hack will be a “killer app” for my users:) I’m happy!