Conditional Statements for Shortcodes
-
I have two shortcodes setup: [easy_options id=”companyName”] and [easy_options id=”companyLogo”]
I’m wanting WordPress to check if [easy_options id=”companyLogo”] holds data (an image upload), if not display [easy_options id=”companyName”] (plain text)…
Is this possible? If so could anyone please point me in the right direction?
Many thanks ??
- The topic ‘Conditional Statements for Shortcodes’ is closed to new replies.