Whats wrong with this Blogger conditional tag? The aim is to show the widget 'HTML6' only on the those posts which come under the label 'News' and not on other posts.
<b:includable id='main'>
<b:if cond='data:post.labels any (label => label.name == "News")'>
<style>#HTML6 { display: block; }</style>
<b:if cond='data:title != ""'>
<h2 class='title'><data:title/></h2>
</b:if>
<b:else/>
<style>#HTML6 { display: none; }</style>
</b:if>
</b:includable>
Got this from a discussion on blogger help forum, but unfortunately, it is not working.
Aucun commentaire:
Enregistrer un commentaire