Why xili-tidy-tags plugin ? why a plugin ?
This plugin offer to xili-language plugin a smart way to create sub-set of tags according language of the displayed post (or category). The tag cloud content is depending of the front current language in the multilingual website.
BUT, as delivered as a plugin, it is also useful for current themes where the author want to ‘organize’ tags in groups ans sub-groups depending semantic or technical parts of his site. With the new template tag (as here in the sidebar), the cloud shows differents terms and tags.
xili-tidy-tags plugin soon available on WordPress Plugin Directory (repository).
Before to post a more detailled publication, please find below the .zip of the beta version and the read.me text contained in this.
Download beta release at WP plugin directory : xili-tidy-tags 0.8.2
The readme.txt :
=== xili-tidy-tags ===
Contributors: MS xiligroup
Donate link: https://dev.xiligroup.com/
Tags: tag,tags,theme,post,plugin,posts, page, category, admin,multilingual,taxonomy,dictionary
Requires at least: 2.7.0
Tested up to: 2.7.1
Stable tag: 0.8.2
xili-tidy-tags is a tool for grouping tags by language or semantic group.
== Description ==
xili-tidy-tags is a tool for grouping tags by language with xili-language plugin for multilingual site. By instance to present only tags in english when the theme is in english because the post or the current category present texts in english. But this tags aggregator can also, by instance, be used to group tags according two or more main parts of the CMS website.
Technically, as xili-language, this plugin don’t create tables in wordpress db. He only use (rich) taxonomy features. So, with or without the plugin, the base structure is not modified. **Template tags** are provided to enrich the theme and display sub-selection of tags.
Through the settings admin UI, it is possible to assign to a tag one or more groups (by instance a french tag to the french language group. You can choose different storage policies.
THIS VERSION 0.8.1 IS A BETA VERSION (running on our sites) – WE NEED FEEDBACK – coded as OOP and new admin UI WP 2.7 features (meta_box, js, screen options,…)
== Installation ==
1. Upload the folder containing `xili-tidy-tags.php` and others files to the `/wp-content/plugins/` directory,
2. If xili-language plugin is activated, groups of languages are automatically created. If not, you can also use xili-tidy-tags to group your tags in semantic group like technical, trademark…
3. in theme, a new template tag is available : `xili_tidy_tag_cloud` Same passed values as tag_cloud but two new : tagsgroup and tagsallgroup . tagsallgroup can be the parent group slug, tagsgroup is one of the child group slug. If one or both are included, the cloud is built with sub-selected tags in this (theses) group(s).
**Exemples of script in sidebar.php :**
= with xili-language plugin activated in multilingual website =
<div> <h2><?php _e('Tags cloud','xilidev');?></h2> <?php if (function_exists('xili_tidy_tag_cloud')) xili_tidy_tag_cloud('tagsgroup='.the_curlang().'&tagsallgroup=tidy-languages-group&largest=18'); ?> </div>
= with semantic group named as category and a group containing trademarks named trademark =
<h2><?php _e('Tags cloud','xilidev');?></h2> <?php if (function_exists('xili_tidy_tag_cloud')) xili_tidy_tag_cloud('tagsgroup='.single_cat_title('',false).'&tagsallgroup=trademark&largest=18'); ?> </div>
== Frequently Asked Questions ==
= Where can I see websites using this plugin ? =
dev.xiligroup.com [here](https://dev.xiligroup.com/ « a multi-language site »)
www.xiliphone.mobi [here](http://www.xiliphone.mobi « a theme for mobile ») also usable with mobile as iPhone.
= Next steps ? =
A widget for `xili_tidy_tags_cloud` template tag function.
More admin UI tools for bulk actions with tags groups….
== Screenshots ==
1. the admin settings UI : tidy tags groups
2. the admin settings UI : table and checkboxes to set group of tags.
3. the admin settings UI : table and checkboxes to set group of tags : sub-selection of groups.
== More infos ==
This first beta releases are for multilingual or cms website’s creator or designer.
The plugin post is frequently documented [dev.xiligroup.com](https://dev.xiligroup.com/)
and updated [Wordpress repository](http://wordpress.org/extend/plugins/xili-tidy-tags/).
See also the [Wordpress plugins forum](http://wordpress.org/tags/xili-tidy-tags/).
= 0.8.1 = some fixes – improved query – better tag_cloud()
= 0.8.0 = first public beta release.
© 090331 – MS – dev.xiligroup.com
Since WordPress 2.3, the core include taxonomy library to manage categories, tags and links.
At root, there is a catalog of terms used to naming the taxonomies. A term can be used in different taxonomies.
the 3 taxonomies are ‘category’, ‘post_tag’, and ‘link_category’. The first is hierarchical, two are set to qualify posts, one to qualify links.
In xili-language plugin, one taxonomy in introduced : ‘language’ to qualify posts according his language. With 0.9.8, a taxonomy is added to group and sort languages.
This taxonomy is to ‘qualify’ terms by grouping them (and sorting them).
xili-tidy-tags plugin also uses taxonomies to qualify terms (via relationships) for creating groups of tags of the ‘post_tag’ taxonomy. With this way, it is now possible to create hierarchical groups of tags and display sub-set of tags cloud. Two examples :
1) On a multilingual site as here : if the post (or category) in front is in french, the tags cloud only show tags in french and internationals tags (by instance technical words or trademarks).
2) On a CMS site with important main parts, the designer can choose to display tags cloud differently in the philosophy part and in the computer software part.
xili-tidy-tags plugin provides in admin UI two ways to check a tag to one or more groups.
a) when creating or modifying a tag
b) with the dashboard page tidy groups assign (in a one shot table)
A template tag (soon a widget) can be added in the sidebar (or replace the default one). In the passed values, it is included the name of group of tags that must be displayed (after the sub selection by the plugin).
Soon more infos…
M 090402 after 20:00 GMT