Modified Cat2Tag

Want to know what’s new about Cat2Tag Check it here

Jeff Minard writes

I’ve made some improvements to the cat2tags plugin. Noteable, you can use spaces, the list is comma separated, and I combined the output of tags with a weighted list — looks pretty good.

Requirements

  • Wordpress 1.5 Strayhorn
  • MySQL 4.0
  • PHP 4.3 (Tested on 4.3.10)

Installation

Now, installation is really easy, it’s totally fool-proof, you don’t even need to modify your WordPress files or apply patches, the steps are 5:

  1. Make sure you don’t have the original Cat2Tag activated, weird things can happen, de-activate it.
  2. Download this file and save it as .php.
  3. Upload the file to your plugins folder, which in most cases is inside the wp-content folder.
  4. Go to your Admin Panel, and in the Plugins section, activate it.
  5. Actually, there’s no Step 5 — does it sound familiar to you? — just start writing a new post.

What this plugin does?

  • Gives you the posibility to create new categories — a.k.a tags — when creating new posts, like you do when posting something on Flickr or del.icio.us.
  • Shows you all the available tags displayed like weighted categories.
  • You don’t need special keywords or additional tables to make it work, instead, it uses the categories system to organize your tags.

For other details make sure you check the original post.

And a huge thanks to Jeff.

19 Responses to “Modified Cat2Tag”

  1. agkamai.com » Cat2Tag Release Says:

    […] l 26 Mar, 2005 10:43 pm.
    UPDATE You can opt for an alternative version of this plugin. Check the details in here. What’s exactly Cat2Tag? Well let me tell you it’s a […]

  2. Cosas por hacer » Cat2Tag Says:

    […] oto en Flickr o los tags de un enlace en del.icio.us. Pues bien, Edmundo ha hecho algunas mejoras al plugin original, que ya instalé y me está gustando mucho. […]

  3. :: antti vilpponen net :: » Switching to tags Says:

    […] lgos’ cat2tag -plugin first to switch my categories to tags. After that, I installed Jeff Minard’s modified cat2tag which allows me to create new tags to entries I am cur […]

  4. Cat2Tag - Jeff Minard, Web Developer Says:

    […] e “Tags” in place of categories, I made some improvements to the already great Cat2Tag plugin Comments » This entry was posted […]

  5. Sebbi Says:

    The Plugin is great … thanks! One thing thou … the Link to agkamai.com/cat2tag in the plugin section of the admin panel results in a 404 …

  6. Edmundo Hidalgo Says:

    I really need to check up the links, thanks.

  7. Jamie Phelps Says:

    Spanish: Es posible crear subcategorias? Entonces, si escribo Cars> Repairs, el plugin ponga la categoria abajo Cars en el table. Si ya existe, no hace nada mas. Me gustaria mucho esta funcion. Perdoname por favor mi espanol.

    English: Would it be possible to have the plugin create subcategories? So, when I type Cars>Repairs, it would create the subcategory. If the subcategory already exists, then the plugin simply assigns it to the post and does nothing else. I would like to see this functionality for this plugin very much.

  8. I did it my way » Blog Archive » Pimp my Blog Says:

    […] tellen. CA-Credits: Bedankt sich bei den Kommentatoren eines Artikels. Find ich klasse! Cat2Tag: Erstellt “Tags” aus den Kategorien. Polyglot: Ermöglicht das posten […]

  9. Big IDEA » Buried in WordPress plugins Says:

    […] es (I didn’t want to change permissions on my .htaccess file). I also switched to a modified cat2tag plugin. Cat2tag lets me assign keywords to posts a la technorati and flick […]

  10. felipe.lavin Says:

    Excelente plugin, sólo extraño una cosa: la posibilidad de poder ver uniones de tags, como en del.icio.us, tipo tag1+tag2
    ¿Sería posible en una próxima versión?

  11. barni Says:

    Para cuando la nueva versión?

    Lo que comentan de “posibilidad de poder ver uniones de tags, como en del.icio.us, tipo tag1+tag2″ lo veo imprescindible, sino los tags parecen simples categorias.

  12. mk Says:

    If possible, I’d like the list of categories to automatically display, rather than needing to click on the “available categories” link and have it toggled open. I don’t have a good enough understanding of code to figure this out myself - is there some way to change this? Thanks!

  13. Jos Says:

    Nice plugin! I installed version 0.9 and is working great. keep up the good work. This should be a feature in the next version of wordpress

  14. Chris Says:

    Rather that always trying to set the category when clicking on its name, it would be useful if the plugin could instead toggle the category. This would be especially useful for removing the default General category. It would be easier to just click on the category/tag name than clearing the text field. The function could just check if the text is already in the list, and if so, remove it.

  15. Chris Says:

    Well, it turned out to be trivial to do this myself. I modified set_tag() to:

      if(tag_input.value.match(tag)) {
        tag_input.value = tag_input.value.replace(tag + ', ', '');
      } else {
        tag_input.value += ' ' + tag + ', ';
      }
    
  16. Michael Specht Says:

    I must be doing something really dumb as I can’t seem to get it to work. I am getting php errors when I activate the plugin, around the add_action calls. It is almost as if the plugin has not installed properly. Any thoughts?

  17. Edmundo Hidalgo Says:

    We are working in a new version for the upcoming Wordpress 2.0 so stay tuned. Most of bugs are being fixed.

  18. Chris Says:

    mk, I changed the plugin to show the available tags by default. The div style is set to display:none by default, so all you have to do it clear that attribute. Just look for the function c2tshowall_tags(), and modify the second line to:
    echo ‘<div id=”allTags” style=”display:”><h3>All Tags</h3>’;
    Great work btw, Edmundo! I hope these couple quick fixes are useful. Now if I could get the post window to reclaim the space normally occupied by the default category list…

  19. izxxikanjk Says:

    Hello! Good Site! Thanks you! fwpybmisqtly

Leave a Reply