# propertyhive/2.2.2/templates/global/make-enquiry.php

Property Hive, version 2.2.2. 33 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.2.2/code/templates/global/make-enquiry.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.2.2/raw/templates/global/make-enquiry.php
- Modified: 2025-05-13T08:38:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/2.2.2/code/templates/global/make-enquiry.php#L10-L20`.

```php
<?php
/**
 * Make enquiry action, plus lightbox form
 *
 * @author      PropertyHive
 * @package     PropertyHive/Templates
 * @version     1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $post;
?>

<li class="action-make-enquiry">
    
    <a data-fancybox data-src="#makeEnquiry<?php echo (int)$post->ID; ?>" href="javascript:;"><?php echo esc_html(__( 'Make Enquiry', 'propertyhive' )); ?></a>

    <!-- LIGHTBOX FORM -->
    <div id="makeEnquiry<?php echo $post->ID; ?>" style="display:none;">
        
        <h2><?php echo esc_html(__( 'Make Enquiry', 'propertyhive' )); ?></h2>
        
        <p><?php _e( 'Please complete the form below and a member of staff will be in touch shortly.', 'propertyhive' ); ?></p>
        
        <?php propertyhive_enquiry_form(); ?>
        
    </div>
    <!-- END LIGHTBOX FORM -->
    
</li>


```
