Hi.
I have a loop item with conditional tags that sometimes returns a custom field but sometimes doesn't.
When it doesn't it leaves a blank.
View the results here: hidden link
This is the code:
[wpv-conditional if="( $(wpcf-help-line) ne '' )"]Help Line: [wpv-post-taxonomy type="help-line"][/wpv-conditional]
[wpv-conditional if="( $(wpcf-office) ne '' )"]Office Number: [types field='office'][/types][/wpv-conditional]
[wpv-conditional if="( $(wpcf-program-link) ne '' )"][types field='program-link' title='Program Web Page' target='_blank'][/types][/wpv-conditional]
[types field='organization-website-url' title='Organization Website' target='_blank'][/types]
[wpv-conditional if="( $(wpcf-email) ne '' )"][types field='email' title='Email'][/types][/wpv-conditional]
[types field='street-address'][/types]
Hello. Thank you for contacting the Toolset support.
Well - could you please share access details and tell me what are the cases that conditional output leaves the space and where?
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Ok - I've deleted those unwanted entries which you pointed out from database.
Well - could you please share screenshot, I'm still wondering which space you are talking about. I'm checking this page:
=> hidden link
I see each box is with same size. do I misunderstood anything here? It would be great if you can share few sceenshots of your expected output and few screenshots pointing out the issue.
hi. can you tell me where the database entries are in what table?
So if this happens again I can delete anything that is 'stuck'.
-
Conditional Output:
it's fine. Maybe it's just me. but it looks fine all of a sudden.