Ce sujet contient 0 réponses et 3 voix, et a été mis à jour par Anonyme il y a Il y a 11 ans, 12 mois.
Vous devez être connecté pour répondre à ce sujet.
dev.xiligroup est en travaux › Forums › xili-tidy-tags plugin › Could you help me please to deal with output the groups of tags?
Taggé: conditional function, display, group, tag, template tag, widget
Ce sujet contient 0 réponses et 3 voix, et a été mis à jour par Anonyme il y a Il y a 11 ans, 12 mois.
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 !
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
Vous devez être connecté pour répondre à ce sujet.
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.