Commit 87067f74 by Manzar Hussain

create form id and cta button id in contact us form

parent 137c7309
<!--Footer Starts-->
<footer>
<div class="footer-menu newfooter">
......@@ -31,7 +30,7 @@
<?php //echo do_shortcode('[email-subscribers-form id="1"]'); ?>
<!-- <div class="inputbox"><input type="text" placeholder="Enter your email address"></div>
<div class="inputboximg"><div class="inputicon"></div></div> -->
<?php echo do_shortcode('[contact-form-7 id="2456" title="Subscription Form"]'); ?>
<?php echo do_shortcode('[contact-form-7 id="2456" title="Subscription Form" html_id="subscription_form_2456"]'); ?>
</div>
<div class="mt-3">
......@@ -162,6 +161,38 @@
//navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"]
});
$('.home-book-slider').owlCarousel({
margin: 0,
nav: true,
loop: false,
dots: false,
autoplay: false,
items: 3,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items:3
}
}
//navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"]
});
$('.prod-newbook-slider').owlCarousel({
margin: 0,
nav: true,
loop: false,
dots: true,
autoplay: false,
items: 1
//navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"]
});
$('.clickToggleIcon').click(function (e) {
e.preventDefault();
......@@ -263,6 +294,18 @@ $('.page-full-tabs ul li a[href^="#"]').click(function(e){
$(this).toggleClass('up');
$('.complaint_swi').slideToggle();
});
if($(window).width() <= 991){
$('.menu .menu-item-has-children .sub-menu').hide();
$('.menu .menu-item-has-children > a').click(function(){
//$('.menu .menu-item-has-children > a').removeClass('open');
if($(this).next().find('.sub-menu:hidden')){
$(this).toggleClass('open');
$(this).next().slideToggle();
}
})
}
......@@ -287,10 +330,12 @@ function onScroll(event) {
</script>
<?php wp_footer(); ?>
<!--Footer Ends-->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5d0879b5de64ee42"></script>
<script type="text/javascript">!function(e,t,n){function a(){var e=t.getElementsByTagName("script")[0],n=t.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://beacon-v2.helpscout.net",e.parentNode.insertBefore(n,e)}if(e.Beacon=n=function(t,n,a){e.Beacon.readyQueue.push({method:t,options:n,data:a})},n.readyQueue=[],"complete"===t.readyState)return a();e.attachEvent?e.attachEvent("onload",a):e.addEventListener("load",a,!1)}(window,document,window.Beacon||function(){});</script>
<script type="text/javascript">window.Beacon('init', '9aba6dde-070a-4773-8f91-db70c05e430c')</script>
</body>
</body>
</html>
\ No newline at end of file
......@@ -15,7 +15,7 @@
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
<div role="form" class="wpcf7 form" id="subscribe_form" lang="en-US" dir="ltr">
<div class="screen-reader-response"></div>
<?php echo do_shortcode( '[contact-form-7 id="1662" title="Subscribe"]' ); ?>
<?php echo do_shortcode( '[contact-form-7 id="1662" title="Subscribe" html_id="enquiry_form_1662"]' ); ?>
</div>
</div>
</div>
......
......@@ -18,7 +18,7 @@ get_header(); ?>
<div class="home-contact-tabs contact-us mb-5">
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
<?php echo do_shortcode( '[contact-form-7 id="3171" title="Contact As"]' ); ?>
<?php echo do_shortcode( '[contact-form-7 id="3184" title="Contact From" html_id="contact_as_form_3184"]' ); ?>
</div>
</div>
</div>
......
......@@ -5,7 +5,7 @@
get_header(); ?>
<div id="full-content" class="about-page">
<?php //if(have_posts()) : ?><?php //while(have_posts()) : the_post(); ?>
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<section style="background-image: url('<?php echo home_url(); ?>/wp-content/uploads/2018/11/about-banner-bg.jpg');" class="about-banner-bg">
<div class="container">
<h1 class="page-title-cus">Contact Us</h1>
......@@ -44,7 +44,7 @@ get_header(); ?>
</div>
</div>
<?php //endwhile; endif; ?>
<?php endwhile; endif; ?>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment