If statement for custom taxonomy field inside for each shortcode
-
Hi Eliot,
I have to say it again and again: your plugin is awesome! If your plugin stops working, there’s not much left of the website I’m building. ??
I’m wondering if it’s possible to make an if statement for a (custom) taxonomy field.
Now I’m using a code like this:
[for each=photographer] Name: [each link] Website: [each website] About: [each description] [/for]
In the documentation I couldn’t find anything about displaying custom taxonomy fields with a
[each]
shortcode, but displaying the field “website” works fine.But some photographers don’t have a website or description. In that case I don’t want to see the labels “website” and “description”. Is it possible to use an if statement for it?
Thank you in advance!
Peter
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘If statement for custom taxonomy field inside for each shortcode’ is closed to new replies.