12/21/2017 at 8:48 am
#444933
Keymaster
@ Steve
In the card.php and card-single.php files where you added the $text = $entry->getMeta( chunck of code, you need to add this line as mentioned in the tutorial:
if ( ! empty( $text ) ) echo '' . esc_html( $text ) . '';
Here, you can add any label you want, just add it to the code. Example:
if ( ! empty( $text ) ) echo '<strong>ABN/ACN:</strong> ' . esc_html( $text ) . '';
Hope that helps!
-
This reply was modified 8 years, 8 months ago by
Steven Zahm. Reason: Correct string closing tag
