-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-blank.php
38 lines (27 loc) · 892 Bytes
/
page-blank.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/*
Template name: Page - Full Width
*/
get_header(); ?>
<?php do_action( 'flatsome_before_page' ); ?>
<div id="content" role="main" class="content-area">
<?php while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; // end of the loop. ?>
</div>
<?php do_action( 'flatsome_after_page' ); ?>
<?php get_footer();
if (is_page( 744 )) { ?>
<script async>
jQuery(document).on( 'nfFormReady', function() {
jQuery(".nf-form-content input[type=text]").on('change', function(){
const address = jQuery('input[name=address]').val();
const zip = jQuery('input[name=zip]').val();
const city = jQuery('input[name=city]').val();
const newValue = address +' '+ zip +' '+ city;
jQuery('input[name=hiddenaddress]').val(newValue);
})
});
</script>
<style>#nf-form-3-cont #nf-field-56-container { display: none }</style>
<?php } ?>