Forum Replies Created
-
AuteurArticles
-
I invite you to write a post reporting your full experience with trilogy of xili-language… and so contribute to the effort if you are not able to donate…
For those who use poEdit, xili-dictionary is not mandatory but very easy to use…
http://wordpress.org/support/topic/xili-dictionary-review
The plugin’s author
xili-language originally for webmaster is not yet totally plug and play (too much coding ;-(
Please before to answer you -I hope soon – can you tell me if you are php easy or not – and wp newbies or not ?
Do you have set by yourself nav menu in dashboard ?
Do you have read this link :
http://multilingual.wpmu.xilione.com/346/episode-4-multilingual-nav-menus/
Soon…
2 April 2011 at 8:32 in reply to: not all translatable elements found and subtitle does not change #2882Thanks for your contributions, your question and your self answers on dev.xiligroup.com forum… After a busy week, some notes:
You are right in the target of the free WP plugins… how to bring something in this area ?
– by donation – xili-language trilogy is used probably by around 1000 users but nobody donate..
– by ordering services – few but very professional webmasters (wordwide) involved in commercial websites ordered me half or more days for training about multilingual website
– by animating forum – now only to ask questions
– by adding some reviews or how to use on their own blogs or technical site (or WP repository) : less than fingers of hand…
It is the price of the success… and I like to explain that when I go in a WordCamp…
The cloud uses basic
wp tag cloud
template tags (and class object) and extends it. Basically, the number is included in tooltip (title attribute of the link)… So to do that GW wishes, some hooks must be used… Just the time to find the good one…Be patient
Special for webmaster and theme’s developers :
* add two new template tags :
– *
link_for_posts_of_xili_tags_group
to return the link to show posts of a xili_tags_group.– *
xili_tags_group_list
to list tags-group with link to list Posts with tags belonging to each tags-group.* See end of source to read examples.
http://wordpress.org/extend/plugins/xili-tidy-tags/download/
Unfortunately, when cleaning bozos and unwanted « users » (more than 40 by week ), few normal and motivated users are deleted and became « anonymous ». Please remain confident in this forum. Register again if needed, you are welcome.
The solution: I created a small plugin displaying in users list – the count of posts by user – to avoid this error.
Hope now to avoid unwanted delete.
forum2.dev.xiligroup.com
see the most recent topic here with examples included !
The functions to add in functions.php of your theme
function xtt_tags_from_group( $group_name, $mode = 'slug' ) {
// from $group_name to ID
$taxonomy = TAXOTIDYTAGS ;
$taxonomy_child = 'post_tag' ;
$groupterm = term_exists($group_name, $taxonomy);
$group_id = $groupterm;
// return array of tags as object
$args = array('orderby' => 'name', 'order' => 'ASC', 'hide_empty' => false ); // even if no post attached to a tag - see doc inside source of xili-tidy-tags
$thetags = get_terms_of_groups_new ( $group_id, $taxonomy, $taxonomy_child, $args );
//print_r($thetags);
// example of array as expected by S.Y. but here with key -
$result_array = array();
if ( $thetags ) {
foreach ( $thetags as $onetag ) {
if ( $mode == 'array' ) {
$result_array[] = array('tag_name' => $onetag->name, 'tag_id' => $onetag->term_id);
} else {
$result_array[] = $onetag->slug ;
}
}
return $result_array ;
}
}
/**
* example to display ID of posts in a group tags
*
*
*/
function get_posts_of_tags_group ( $tags_group ) {
if ( $tags_group != "" ) {
$thetags = xtt_tags_from_group( $tags_group ) ;
if ( $thetags ) {
$list = implode (',',$thetags);
$query = new WP_Query( 'tag='.$list );
if ( $query->have_posts() ) {
while ( $query->have_posts() ) : $query->the_post();
echo '- '.get_the_ID().' -'; // modify here as expected
endwhile;
}
}
}
}
The call
<?php get_posts_of_tags_group ('trademark'); ?>
Enjoy,
(in future release, some functions will be integrated in plugin)
12 March 2011 at 19:23 in reply to: 1.9.1 -xili-language fixes issues with home and front-page #2550Latest working versiion xili-language fixes issues with home and front-page in some circumstances – and fixes lastest posts widget display.
Thanks for your notes, 1.9.1 is first available in Other Versions tab :
About point #2 : I take time to visit your site… The theme (another plugin our special functios) used seems strange in navigation and cms…
When a page is called, two posts are displayed… http://pypass.org/wp/news/ and not a content of page and the menu show the call to a category
http://pypass.org/wp/category/some_news/?lang=fr_fr…
What I suggest to go deep in WP knowledge and CMS – use the default twenty theme – understand how the navigation between page, post and categories works… and after step by step fixe the issues bring by the features of the theme…
-
AuteurArticles