WP-Hacks: Tag Cloud in Write Post Area
How to Insert a Tag Cloud in the Write Post area of WordPress 2.3′s Administration
This article applies to WordPress 2.3 only and was written in the hopes of getting the attention of WordPress developers and help convince them that they need to add a similar feature to the next release of WordPress. Before following the instructions below, make sure to BACK UP your core files.
Disclaimer: This is a WordPress hack and is therefore NOT officially supported by WordPress. Use at your own risk.
The first step is to login to your Administration page.
Upon logging in, go to Manage then click on the Files submenu.

At the bottom, you will see a section named Other Files. On the field in that section, type in wp-admin/edit-form-advanced.php then click on Edit file ยป.

You will then see on the main file editor the code corresponding to the file edit-form-advanced.php.

Scroll down and look for the ff. code:
<fieldset id="tagdiv">
<legend><?php _e('Tags (separate multiple tags with commas: cats, pet food, dogs)'); ?></legend>
<div><input type="text" name="tags_input" class="tags-input" id="tags-input" size="30" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></div>
</fieldset>
Just after this code, paste the ff. code after correcting the spacing of the tags:
<!-- Begin Tag Cloud Insertion -->
<div id="tagdiv">
<div><?php wp_tag_cloud(); ?></div>
</div>
<!-- End Tag Cloud Insertion -->
So it should look like this:

After pasting the above code, click on the Update File button.
Once the file is updated, you can further check if it worked by clicking on Write on the Main Menu.
The Tag Cloud should appear just below the field where the tags are typed in. Keep in mind that this does NOT help you drag and drop the tags to the tag input field. It just shows the available tags from your database.
Just in case you don’t want to messy up your hands sifting through code, you can download the hacked file here. Simply extract and upload the file to the wp-admin folder of your WordPress 2.3 installation. I can not reiterate this enough, this is only for WordPress 2.3.
For questions, comments, and suggestions, please feel free to email me at will [at] gormful [dot] com. However, if something goes wrong, you should still be able to restore the old files because you made a back up, right? If in case you didn’t, simply redownload WordPress 2.3 and upload the file you edited.
@Sam: Thanks for the tips. And thanks for dropping by.
OK, so hopefully, Will, you will clean up my mess here. Sorry. Last try.
(to show the code, I had to change the ‘less than’ sign into a [. )
Replace:
[?php wp_tag_cloud(); ?]
With:
[?php ctc('smallest=10&largest=28&unit=px&mincolor=#c0c0c0&maxcolor=#000000&showcount=no'); ?]
If this doesn’t work, just find the code on the widget’s webpage. Sorry.
Right, my code didn’t show up. Let’s try this again.
replace:
[code]
[/code]
with:
[code]
[/code]
For more parameters, see the widget’s website (linked in my last post)
And if you are using the Configurable Tag Cloud Widget, you can replace
with this
HTH,
~Sam
Thank you very much, i like this hack
@Eddy: WordPress 2.3 should have you covered as it has a new post status: Pending Review. Users must, of course, be registered. HTH.
Hello, I was looking for any plugin that will allowed visitor to submit their own articles to my blog through some kind of form post, including options for tags and category. After they click submit the article goes to draft so I can moderate it before publish it.
Thank you very much,
Eddy
@Steven: You’re welcome. Glad to be of help. Although something like this might be included in the next release of WordPress, so keep your fingers crossed.
Cool, thanks! I’m too lazy to submit a ticket for WordPress asking for that feature (like UTW had, so you can click tags to add them to the list) or to figure out how to do this myself, but I’m not quite too lazy to do a web search and find your solution.
When I first saw that the tag cloud was a ‘weighted’ one, I was going to change that, but really, it’s useful for me to know how often I’m using these tags as I’m adding them to a new post, too.