Tag cloud problem solved

I don’t know if anyone else has been having this problem, but for quite some time I haven’t been able to get my tag cloud to act right (using the Jerome’s keywords and Chipstips tagcloud plugins – bot excellent apps, by the way). No matter which tag you clicked it would always take you to the complete list of entries (front page if you will). I’ve solved it now, but I still fail to see the logic.

Anyway, what I did was this:

On the ‘options’ page > Jerome’s Keywords in the WP admin interface, I unchecked the following box:

‘Return only exact matches when searching tags/keywords. Turning this off allows partial matches: e.g. clicking the tag ‘cat’ would also return posts tagged with ‘catamaran’.’

I don’t know if anyone else has experienced this problem, but if so, I hope this helps. And I wouldn’t mind if someone could explain the logic behind the problem either – feel free to drop me a line if you can…

This entry was posted in Blogging, Home Field. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

3 Comments

  1. Posted February 20, 2007 at 8:49 pm | Permalink

    I’m not sure why turning this option off would cure the problem. If anything, I would think it would make it worse.

    In jeromes-keywords.php, starting at line 578, is the function that selects posts based on tag. If the option is checked, the SQL WHERE clause uses a strict ‘=’ comparison of the tag name. Otherwise, it uses LIKE. What version of MySQL are you using?

    Thanks for the link and the kind words, BTW.

  2. Posted February 20, 2007 at 8:55 pm | Permalink

    BTW, by unchecking the box, a tag search for ‘sex’ returns all your posts filed under ‘sexy’, as well as ‘Sex and the city’.

  3. Posted February 20, 2007 at 9:01 pm | Permalink

    You’re absolutely right! Sorry for the mix-up – turned the option back on and the tag cloud still worked as intended (only more exact, as you pointed out in your second comment) – I guess it must have been some kinda freaky coincidence that the cloud started working again right about the time I unchecked the box for the first time… thx for the comment, btw :-)

One Trackback

  1. [...] appoulsen uses the tag cloud widget, and encountered a puzzling problem that magically disappeared. Tags:Chip’s Quips: apotheon, appoulsen, beatles, bush, equality, god, janesmiley, jeromeskeywords, justice, liberty, lisp, martiallaw, perl, publicdomain, tagcloud, tagging, widget, wordpress, xkcd Technorati: apotheon, appoulsen, beatles, bush, equality, god, janesmiley, jeromeskeywords, justice, liberty, lisp, martiallaw, perl, publicdomain, tagcloud, tagging, widget, wordpress, xkcd [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Archives