homepage Welcome to WebmasterWorld Guest from 54.242.231.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

    
Simple Tags Plugin for WordPress - Related Tags
"Related Tags" Issues with WP SimpleTags Plugin?
BrettASnyder




msg:3947039
 5:03 pm on Jul 6, 2009 (gmt 0)

I've been tinkering around with the Simple Tags Plugin for WordPress for a while now and I can't seem to get it to activate a widget for Related Tags. Essentially what I'm trying to do as have a tag cloud of some sort along the right side of a blog post (this I have been able to do) and manipulate that tag cloud to allow me to click on a term in the cloud and it allows me to search for posts that contain multiple tags. I will give an example to illustrate:

Say I have a blog about widgets, and I write a post that has the following tags: blue, cheap, buy

Now, I also have a post elsewhere within the blog that has the following tags: red, trinket, Philadelphia.

These posts would otherwise not be lumped together (as far as tags are concerned) given the fact that they share no tags. So far, I have been able to implement a widget on the SimpleTags plugin that lists a tag cloud of related tags on each post. In other words, the first blog post would have a list of related tags that would include "red," "trinket," "Philadelphia," and any other tags that have been used throughout the site. I have already managed to get this to work. Now, my question is if I am looking at a list of posts that include the tag "blue," how do I manipulate the tag cloud next to it so that when I click on "red" (or perhaps a "+" symbol next to "red") that it then populates a list of postings that include both "red" and "blue?"

Hopefully my question is clear, any guidance on this or any Simple Tags suggestions would be greatly appreciated, thanks!

 

ergophobe




msg:3947840
 5:43 pm on Jul 7, 2009 (gmt 0)

I think I've got it. You want to be able to do OR searches (it has either this tag or that tag) and create custom lists of related tags?

Anyway, I'm looking at the related tags wiki and either I'm just not getting it, or it needs to be in a custom constructed URL, and the plugin does not have the ability to do this as part of the UI out of the box.

[code.google.com...] - my head hurts!

I find it ironic that the plugin is named Simple Tags!

BrettASnyder




msg:3948426
 2:01 pm on Jul 8, 2009 (gmt 0)

Thanks so much for the response! I did look through the Simple Tags wiki and what you're saying is similar to what I'm trying to figure out. If you look in the wiki, it has the sub-heading titled "method." Here is the text from the wiki about that:

(string) Method of tags intersections and unions used to build related tags link:

* OR - Fetches posts with either the "Tag1" or the "Tag2" tag.
* AND - Fetches posts with both the "Tag1" and the "Tag2" tag.

What I'm trying to do is implement the "AND" function so that it will return posts that contain more than one tag ("red" and "blue" from the original example).

Any ideas how this can/should be implemented? I've fiddled around with seemingly every combination to activate the "AND" function of the plugin to no avail

Any additional insight will be greatly appreciated!

ergophobe




msg:3949445
 6:10 pm on Jul 9, 2009 (gmt 0)

Sorry, I looked over it again, but just don't have time to install and test it. I hope you got it sorted out.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved