1<?php
2// assign variables for each custom field
3$your_custom_field_name1 = get_post_meta(get_the_ID(), 'your_custom_field_name', true);
4$your_custom_field_name2 = get_post_meta(get_the_ID(), 'your_custom_field_name', true);
5
6// if is not empty, echo html
7if (!empty($your_custom_field_name1)) {
8 echo '<h3>Label: ' . $your_custom_field_name1 . '<h3>';
9 }
10if (!empty($your_custom_field_name2)) {
11 echo '<p>ISBN: ' . $your_custom_field_name2 . '</p>';
12}
13?>