Hi folks.
Fantastic plugin as always. And second to none support I have always found.
I need help on working with custom fields in WP with Gravity Forms.
I have a list of properties (custom post type - with custom fields) which are propogated on a page -
ie;
Apartment 25 - 2 beds, 3 bathrooms - Enquire (link)
Apartment 36 - 3 beds, 2 bathrooms - Enquire (link)
The 'Enquire' link I would like, once clicked on to fire open a Gravity Forms pop up window, with the details of that apartment (ie; 25) populated, with a form, for the user to enquire about that specific apartment?
The code I have at present is this -
<?php
$maro = new WP_Query(array('post_type' => 'properties', 'developments' => 'central-place'));
while ($maro->have_posts()) : $maro->the_post();
?>
<h3><?php the_title(); ?></h3>
<p class="property-description"><?php echo get_post_meta($post->ID, 'property_description', true); ?></p>
<a href="<?php echo get_post_meta($post->ID, 'vendor_url', true); ?>" target="_blank">further details +</a>
<a href="">enquire +</a>
<hr />
<?php endwhile; wp_reset_query(); ?>
thanks