My title isn't very explicative.
I'm making a website for a painter who would like to sell some paintings, but not directly through the website.
For that, she needs to display in the lightbox (and/or on the thumbnail) a little symbol to show if the painting is available or not.
I had the idea to use the tags, if she puts "available" in the tag of the image it will display the symbol for available, if she puts unavailable, it will display the symbol for unavailable, if she puts nothing, then nothing appears, if she puts both, nothing appears either.
The problem is that I suck at php, is there a way to retrieve the tag and use it in a PHP function ? (something like "if 'available' IN tags & "unavailable" NOT IN tags -> echo <div>....</div>".
Can you please help me to achieve that ?
Here is the website : http://slworks-united.com/dom/