File: /home/slyfwmm/adspray/wp-content/themes/aivons-child/ADS_home.php
<?php /* Template Name: ADS home */
/**
* The main template file
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package aivons
*/
get_header(); ?>
<?php the_content(); ?>
<div class="ADS_box_form_home_footer">
<div class="container">
<h3><?php esc_html_e('Siamo pronti ad Ideare la Migliore Strategia per la tua Azienda', 'aivons'); ?></h3>
<a href="javascript:;" class="thm-btn cta-one__btn iframe-popup" onclick="ADS_pop_up_open('ADS_contact_form_home');"><?php esc_html_e('Contattaci', 'aivons'); ?></a>
</div>
</div>
<div class="ADS_overlay_pop_up" id="ADS_contact_form_home">
<div class="ADS_wrap_pop_up">
<button onclick="ADS_pop_up_close('ADS_contact_form_home');">x</button>
<?php Echo do_shortcode ('[contact-form-7 id="7" title="Form contatto - Adspray"]'); ?>
</div>
</div>
<?php
get_footer();