• Hello everyone
    I’m not very good in php and i’m using simple tags plugin.

    I wonder is there any possibility to group tags and display them by groups.

    I.e.:
    I have few posts with tags = green, blue, bag, skirt, sandals, boots
    I want to group them by the following: color, shoes, cloth etc
    I want them to be displayed in the blog in the following way:
    <h2>Colors</h2>

    • green (10)
    • blue (03)
    • (10) – number of posts

      And that would be great if I could manage them through the Simple Tags Plugin. Is there any way to do it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Not a simple way – you either need to use conditional statements in php in your template:

    <h2>Colors</h2>
    <?php $colours = (brown, blue, pink, yellow, orange, red);
    $tags = get_the_tags();
    foreach ($tags as $tag) {
    if (in_array($tag, $colours) {
    echo ”

    • .$tag.”
    • “;
      }
      }
      ?>

      Something like above, or you need to write a plugin that has additional taxonomies for colours, size, cloth etc.

      I might be writing something that allows this soon….

    Hi,
    I’m also needing to add a list of tags on my web, that includes only some of them.
    Grouping tags would be a great solution, i have search around, and seems there is no plugin that does this. I guess it should be that you select certain amount of tags to belong to an specific group, and then the option to publish either one group, or some of them, or all.

    So.. basically, nothing like this yet. Or have you find something already?
    If so, please let me know. Thanks!

    I found this plugin xili-tidy-tags. and it works great

    http://ww.wp.xz.cn/extend/plugins/xili-tidy-tags/

    joernroeder

    (@joernroeder)

    Thanks for sharing this Link! This is absolutely what im looking for…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Simple Tags] Group Tags’ is closed to new replies.