Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2016-04-17 22:40:50
- alivato
- Member
- Registered: 2011-03-31
- Posts: 151
Image or video label
How to do that .. if the article has a picture or video youtube, – the topic of this article was to tag image or video
Offline
Re: Image or video label
alivato wrote #298646:
How to do that .. if the article has a picture or video youtube, – the topic of this article was to tag image or video
You can use a regex expression as a value of the match
attribute in <txp:if_custom_field name="article_image" match="// your expression //">
to check what’s in and display the label according to its content.
Offline
Pages: 1