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).
dev.xiligroup au WordCamp 2014 01-17, 01-18
Michel de dev.xiligroup était présent au WordCamp Paris les vendredi 17 et Samedi 18 janvier 2014.
Le compte-rendu est ici sur le site du thème 2014-xili.Michel de dev.xiligroup était présent au WordCamp Paris les vendredi 18 et Samedi 19 janvier 2013.
Le compte-rendu est ici. D'autres suivront sur des points plus techniques liés aux conférences.News
FORUMS
Search
Forums Tags
- .mo
- .po
- bbPress
- category
- child theme
- cloud
- CMS
- css
- documentation
- filter
- forum
- front-page
- group
- home
- hook
- javascript
- language
- link
- localization
- loop
- menu
- multilingual
- multisite
- nav menu
- page
- php
- plugin
- post
- query
- settings
- tag
- tags
- tags cloud
- tags group
- taxonomy
- template tag
- theme
- the_curlang
- translation
- undefined
- widget
- xili-dictionary
- xili-language
- xili-postinpost
- xili-tidy-tags
Recent Topics list
-
Blank… after updating several other plugins
8 years, 7 months ago
-
open tags in new window
9 years, 1 month ago
-
Xili Tidy Tags + WP all import
10 years, 6 months ago
-
Flags and titles
10 years, 6 months ago
-
current-menue-ancestor / parent ? how to?
10 years, 7 months ago
-
Blank… after updating several other plugins
Recent Replies in forums
-
Blank… after updating several other plugins 8 years, 7 months ago
-
Blank… after updating several other plugins 8 years, 7 months ago
-
Xili Tidy Tags + WP all import 10 years, 6 months ago
-
Xili Tidy Tags + WP all import 10 years, 6 months ago
-
Flags and titles 10 years, 6 months ago
-
Blank… after updating several other plugins
Mots-clefs du forum en français
I really like how those tags where done. Hope to see more explanations on how it was done.
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,
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;
}
?>
and…
echo getTagsByGroup(‘tagsallgroup=TAGGROUPNAMEHERE’);
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