This shows you the differences between two versions of the page.
2.0:resources:themes:tags:entryif [2017/01/31 11:48] philippe [category] |
2.0:resources:themes:tags:entryif [2017/01/31 11:49] (current) philippe [category] |
||
---|---|---|---|
Line 11: | Line 11: | ||
==== category ==== | ==== category ==== | ||
- | Verify if a category has been chosen. A category is identified by its URL. | + | Verify if the post belongs to a given category. A category is identified by its URL. |
- | In addition, in order to verify if the entry belongs to a category, all you have to do is to put an attention mark to the URL, "!". | + | In addition, in order to verify if the entry does not belongs to a category, all you have to do is to put an attention mark to the URL, "!". |
This example shows « //**Attention** : There is no Mammal// » if the entry doesn't have a sub category Mammal in the category Animals. | This example shows « //**Attention** : There is no Mammal// » if the entry doesn't have a sub category Mammal in the category Animals. |
Wiki powered by Dokuwiki.