Custom fields
-
Hi i was wondering if its possible to do this….?
I have a directory site here http://festivalnet.co.uk/ and users upload their listings via a gravity form here http://festivalnet.co.uk/upload-a-listing/
Ive set up the form to collect custom fields ’email_contact’ and ‘website’ and the post image and body. Ive then called the custom fields into the post as seen here http://festivalnet.co.uk/churros-bros/ using
<span class="about-us">Website</span> <?php echo get_post_meta($post->ID, 'website',true) ?> <span class="about-us">Email contact</span> <?php echo get_post_meta($post->ID, 'email_contact',true) ?>Is it possible to call in the ‘post’ categories of the post that the user has selcted in the form such as ‘Area Served’ , ‘Primary Category’ and ‘Secondary Category’ in the same style as the email and website.
Thanks in advance for any pointers
Al
The topic ‘Custom fields’ is closed to new replies.