Could you help me please to deal with output the groups of tags?

dev.xiligroup est en travaux Forums xili-tidy-tags plugin Could you help me please to deal with output the groups of tags?

Ce sujet contient 0 réponses et 3 voix, et a été mis à jour par  msmars il y a Il y a 5 ans.

Visualisation du message 2 (1 sur 2, 2 au total)
  • Auteur
    Articles
  • #3114

    Michel
    Membre

    The widget displays the groups set inside the admin UI widget window.

    If you want to use conditional situations according the current post(s), I invite you to use the conditional item at the bottom of the widget UI by calling a php fonction that you add in the functions.php of your theme (*).

    So if the return of this function is true according rules, the widget will display the tags cloud.

    Enjoy,

    (*) that needs knowledge in wp and php !

    #3115

    msmars
    Membre

    the current functions of WP can also be used directly :

    is_singular : the widget appears only if a single post or page is shown

    is_category : the widget appears only if list of posts of categories….

    and other like here http://codex.wordpress.org/Conditional_Tags

Visualisation du message 2 (1 sur 2, 2 au total)

Vous devez être connecté pour répondre à ce sujet.