Get Field Value
-
Hi,
How do I get a value of a field? If can only get it to work if I use number 1. If I use any other number, it doesn’t return anything. Like if I use number 6 (which is the ID number of the field for the telephone number), I don’t get any output. I added my custom code in businessdirectory-excerpt.tpl.php
<?php echo $thumbnail; ?> <div class="listing-details"> <?php echo $listing_fields; //added code $field = wpbdp_get_form_field(6); echo $field->display($listings); ?> </div>
Looking forward to hearing from you soon.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get Field Value’ is closed to new replies.