Hiding before and after content for empty fields? #6624
Cyberwolfer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I came across an old pods v1 manual and tags for hiding before_text and after_text in magic tags…
{@column_name[,display_helper][,before_text][,after_text]}
(http://www.scribd.com/doc/14804608/Wordpress-Pods-User-Guide)
This is exactly what I need as the users of my wordpress do not always fill out all fields and I don’t want to show a long empty list, however when I try it inside a pods shortcode, it doesn’t seem to be working…
[pods]{@property_taxes,,
Property taxes:,
}[/pods]It is still showing the “Property taxes:” on the page even though the field for this one is empty.
Do you know what I am doing wrong? Or is this shortcode/magic tag code depreciated in pods 2.x, in that case do you know any easy way around it?
Beta Was this translation helpful? Give feedback.
All reactions