Wrapper output 2 custom fields with a symbol
-
Hi,
I have two custom fields A and B with an output filter Wrapper in order to wrap non-empty input.<?php print_custom_field('phone_number:wrapper', array('<span class="my_class"><strong>A:</strong> ', '</span>') ); print_custom_field('fax_number:wrapper', array('<span class="my_class"><strong>B:</strong> ', '</span>') ); ?>
Only if both custom fields are non-empty I would like to add a symbol in between them:
A – BHow can I accomplish this?
Thanks
https://www.ads-software.com/extend/plugins/custom-content-type-manager/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Wrapper output 2 custom fields with a symbol’ is closed to new replies.