This topic contains 0 replies, has 2 voices, and was last updated by Anonymous 13 years, 5 months ago.
You must be logged in to reply to this topic.
dev.xiligroup is being renovated › Forums › xili-tidy-tags plugin › Change/Remove tag's link title & Add conditional text on tag's page!
Tagged: if tagsgroup, roadmap, tag title, tags group, tagsgroup, title, xili_tidy_tag_cloud
This topic contains 0 replies, has 2 voices, and was last updated by Anonymous 13 years, 5 months ago.
Your ideas can be added to roadmap…but it is totally impossible to forecast a timing according our very busy professional agenda..
Best regards
Hey Michel,
Thanks for your reply, I really appreciate it
I managed to find some solutions to the questions in this topic, I’ve found a workaround for q #1, in case anyone would like to achieve the same, use the code below:
‘<?php
xili_tidy_tag_cloud( array( ‘topic_count_text_callback’ => ‘my_count_text_callback’, ‘format’ => ‘FormatType’, ‘tagsallgroup’ => ‘TagsGroupName’, ‘largest’ => ’10’, ‘smallest’ => ’10’ ) );
function my_count_text_callback($count)
{
return sprintf(_n(‘%s CustomTitle’, ‘%s CustomTitle’, $count), number_format_i18n($count));
}
?>’
Where:
– FormatType: is the format type of your choice, i.e: list
– TagsGroupName: the name of tags group you’d like to show, in case you’d like to show all tags groups, remove this element all together
– CustomTitle: the custom tooltip title you want to replace x(topic’s’) with
This should work for your if you put it anywhere in your theme, in case you want to do it within a specific page or post, you’ll need a plugin like exec-php to be able to execute PHP inside posts and pages
Hope this will help someone searching for the same result
So far, I am currently working in a solution for question #2, if I am to find any working one, I’ll post it here…
You must be logged in to reply to this topic.
Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.
Cette option doit être activée à tout moment afin que nous puissions enregistrer vos préférences pour les réglages de cookie.
Si vous désactivez ce cookie, nous ne pourrons pas enregistrer vos préférences. Cela signifie que chaque fois que vous visitez ce site, vous devrez activer ou désactiver à nouveau les cookies.