xili-tidy-tags : a example of presentation of tag cloud in tabs

Tags and tabs !
After a question of a webmaster about xili-tidy-tags, here below is shown a pretty way to present simultaneously 3 groups of tags through tabs.

(soon more explanations how to build this object).

Ce contenu a été publié dans Experts corner, xili-tidy-tags, avec comme mot(s)-clé(s) , , . Vous pouvez le mettre en favoris avec ce permalien.

5 réponses à xili-tidy-tags : a example of presentation of tag cloud in tabs

  1. Croyd dit :

    I really like how those tags where done. Hope to see more explanations on how it was done.

  2. admin dit :

    Hope to have time soon to do a complete doc… Just now, know that it is a combination of a javascript in header which detect html tag (here h5) in a div and build the tab presentation of the three xili-tidy-template tags. Due to the huge quantities of contexts, a plugin is uneasy so it is better to modify files (here single.php of current theme…)
    Be patient,

  3. Dree dit :

    I’m a novice at php and wordpress but I thought it would be nice to display the tags as a list… Hope someone else can use it, and if the code is completely bad, I would also like to know 😉

    Keep up the good work!
    André

    function getTagsByGroup($params){
    $glue =  »;
    $returnstring = «  » . implode($glue, xili_tidy_tag_cloud( $params . »&largest=10&smallest=10&format=array »)) . «  »;
    return $returnstring;
    }
    ?>

  4. Dree dit :

    and…
    echo getTagsByGroup(‘tagsallgroup=TAGGROUPNAMEHERE’);

  5. admin dit :

    Your code seems good but don’t forget to fill $glue with something like a br html tag or li tag – the result can be like to have a text list :
    function getTagsByGroup($params){
    $glue = "";
    $returnstring = "" . implode($glue, xili_tidy_tag_cloud( $params . "&largest=10&smallest=10&format=array")) . "";
    return $returnstring;
    }

    Test it and improve it…. and you will be a php expert…
    M

Laisser un commentaire