Change/Remove tag's link title & Add conditional text on tag's page!

dev.xiligroup is being renovated Forums xili-tidy-tags plugin Change/Remove tag's link title & Add conditional text on tag's page!

This topic contains 0 replies, has 2 voices, and was last updated by  Anonymous 8 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2900

    Anonymous

    Your ideas can be added to roadmap…but it is totally impossible to forecast a timing according our very busy professional agenda..

    Best regards

    #2912

    Anonymous

    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…

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.