Commit 87067f74 by Manzar Hussain

create form id and cta button id in contact us form

parent 137c7309
<!--Footer Starts--> <!--Footer Starts-->
<footer> <footer>
<div class="footer-menu newfooter"> <div class="footer-menu newfooter">
...@@ -31,7 +30,7 @@ ...@@ -31,7 +30,7 @@
<?php //echo do_shortcode('[email-subscribers-form id="1"]'); ?> <?php //echo do_shortcode('[email-subscribers-form id="1"]'); ?>
<!-- <div class="inputbox"><input type="text" placeholder="Enter your email address"></div> <!-- <div class="inputbox"><input type="text" placeholder="Enter your email address"></div>
<div class="inputboximg"><div class="inputicon"></div></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>
<div class="mt-3"> <div class="mt-3">
...@@ -162,6 +161,38 @@ ...@@ -162,6 +161,38 @@
//navText: ["<i class='fa fa-long-arrow-left'></i>","<i class='fa fa-long-arrow-right'></i>"] //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) { $('.clickToggleIcon').click(function (e) {
e.preventDefault(); e.preventDefault();
...@@ -263,6 +294,18 @@ $('.page-full-tabs ul li a[href^="#"]').click(function(e){ ...@@ -263,6 +294,18 @@ $('.page-full-tabs ul li a[href^="#"]').click(function(e){
$(this).toggleClass('up'); $(this).toggleClass('up');
$('.complaint_swi').slideToggle(); $('.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) { ...@@ -287,10 +330,12 @@ function onScroll(event) {
</script> </script>
<?php wp_footer(); ?> <?php wp_footer(); ?>
<!--Footer Ends--> <!--Footer Ends-->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5d0879b5de64ee42"></script> <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">!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> <script type="text/javascript">window.Beacon('init', '9aba6dde-070a-4773-8f91-db70c05e430c')</script>
</body>
</body>
</html> </html>
\ No newline at end of file
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab"> <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 role="form" class="wpcf7 form" id="subscribe_form" lang="en-US" dir="ltr">
<div class="screen-reader-response"></div> <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> </div>
</div> </div>
......
...@@ -18,7 +18,7 @@ get_header(); ?> ...@@ -18,7 +18,7 @@ get_header(); ?>
<div class="home-contact-tabs contact-us mb-5"> <div class="home-contact-tabs contact-us mb-5">
<div class="tab-content" id="pills-tabContent"> <div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab"> <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> </div>
</div> </div>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
get_header(); ?> get_header(); ?>
<div id="full-content" class="about-page"> <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"> <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"> <div class="container">
<h1 class="page-title-cus">Contact Us</h1> <h1 class="page-title-cus">Contact Us</h1>
...@@ -44,7 +44,7 @@ get_header(); ?> ...@@ -44,7 +44,7 @@ get_header(); ?>
</div> </div>
</div> </div>
<?php //endwhile; endif; ?> <?php endwhile; endif; ?>
</div> </div>
......
<?php <?php
/** /**
* Template Name: Front-Page * Template Name: Front-Page
* *
*/ */
?> ?>
<?php get_header(); ?> <?php get_header(); ?>
<div id="full-content">
<!-- <div class="container infoOuter">
<div id="full-content"> <div class="infoContent">
<p>"Our" Investing Through A Crisis: A Handbook From Marcellus Investment Managers" is now available as an e-book on Amazon (<a href="https://www.amazon.in/dp/B08BG9WT5S" target="_blank">https://www.amazon.in/dp/B08BG9WT5S</a>). All royalty receipts from this book will be donated to <a href="https://jaivakeel.org/" target="_blank">Jai Vakeel Foundation and Research Centre</a> – one of India’s oldest and largest non-profits serving children and adults with Intellectual Developmental Disabilities (IDD). Buy now and support a noble cause"</p>
<div class="container infoOuter">
<div class="infoContent">
<p>"Our" Investing Through A Crisis: A Handbook From Marcellus Investment Managers" is now available as an e-book on Amazon (<a href="https://www.amazon.in/dp/B08BG9WT5S" target="_blank">https://www.amazon.in/dp/B08BG9WT5S</a>). All royalty receipts from this book will be donated to <a href="https://jaivakeel.org/" target="_blank">Jai Vakeel Foundation and Research Centre</a> – one of India’s oldest and largest non-profits serving children and adults with Intellectual Developmental Disabilities (IDD). Buy now and support a noble cause"</p>
</div>
</div> </div>
</div> -->
<section style="background: url('<?php echo site_url();?>/wp-content/uploads/2018/11/banner_bg.png');" class="banner">
<section style="background: url('<?php echo site_url();?>/wp-content/uploads/2018/11/banner_bg.png');" class="banner"> <div class="container home-banner-content">
<div class="container home-banner-content"> <?php the_field('home-banner-content'); ?>
<?php the_field('home-banner-content'); ?> </div>
</div> <div class="tab-banner">
<div class="tab-banner"> <img src="<?php echo site_url();?>/wp-content/uploads/2018/11/banner_bg.png">
<img src="<?php echo site_url();?>/wp-content/uploads/2018/11/banner_bg.png"> </div>
</div> </section>
</section> <div class="clearfix"></div>
<div class="clearfix"></div> <section class="home-about">
<section class="home-about"> <div class="container">
<div class="container"> <?php
<?php $id=4259;
$id=38; $post = get_post($id);
$post = get_post($id); $content = apply_filters('the_content', $post->post_content);
$content = apply_filters('the_content', $post->post_content);
?>
?> <h3 class="text-uppercase"><?php the_title(); ?></h3>
<h3 class="text-uppercase"><?php the_title(); ?></h3> <?php echo the_field('home_page_content', 4259); ?>
<?php echo the_field('home_page_content', 38); ?> <a href="<?php echo get_permalink(); ?>" class="mt-4">KNOW MORE</a>
<a href="<?php echo get_permalink(); ?>" class="mt-4">KNOW MORE</a> </div>
</div> </section>
</section> <div class="clearfix"></div>
<div class="clearfix"></div> <section class="our-team-home">
<section class="our-team-home"> <div class="container">
<div class="container"> <h3>OUR TEAM</h3>
<h3>OUR TEAM</h3> <div class="team-member-wrap">
<div class="team-member-wrap"> <div class="owl-carousel owl-theme team-carousel">
<div class="owl-carousel owl-theme team-carousel"> <?php
<?php $type = 'Team';
$type = 'Team'; $args=array(
$args=array( 'post_type' => $type,
'post_type' => $type, 'post_status' => 'publish',
'post_status' => 'publish', 'posts_per_page' => 10,
'posts_per_page' => 10, 'order' => 'ASC'
'order' => 'ASC' );
); $my_query = null;
$my_query = null; $my_query = new WP_Query($args);
$my_query = new WP_Query($args); if( $my_query->have_posts() ) {
if( $my_query->have_posts() ) { ?>
?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <div class="item">
<div class="item"> <div class="team-member">
<div class="team-member"> <figure><?php the_post_thumbnail(); ?></figure>
<figure><?php the_post_thumbnail(); ?></figure> <div class="team-member-desc">
<div class="team-member-desc"> <h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
<h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3> <p><?php the_field('designation'); ?> </p>
<p><?php the_field('designation'); ?> </p> <a href="<?php the_permalink(); ?>" class="view-detail">View Profile</a>
<a href="<?php the_permalink(); ?>" class="view-detail">View Profile</a>
</div>
</div>
</div>
<?php
endwhile;
}
?>
<?php wp_reset_query(); // Restore global post data stomped by the_post(). ?>
</div>
</div>
</div>
<div class="clearfix"></div>
</section>
<div class="clearfix"></div>
<section class="resources-home">
<div class="container">
<h3>INSIGHTS</h3>
<div class="resource-home-wrap">
<div class="row">
<?php
$type = 'Resources';
$args=array(
'post_type' => $type,
'post_status' => 'publish',
'posts_per_page' => -1,
'order' => 'ASC'
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) { ?>
<div class="owl-carousel owl-theme resources">
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="item">
<div class="resource-item">
<?php the_post_thumbnail(); ?>
<div class="resources-desc">
<h3><a href="<?php echo get_field('resources-link'); ?>"><?php the_title(); ?></a></h3>
<?php //the_content(); ?>
<a href="<?php echo get_field('resources-link'); ?>" class="view-detail">View All</a>
</div>
</div>
</div>
<?php
endwhile;
} ?>
</div>
<?php wp_reset_query(); // Restore global post data stomped by the_post().
?>
</div>
</div> </div>
</div>
</div>
<?php
endwhile;
}
?>
<?php wp_reset_query(); // Restore global post data stomped by the_post(). ?>
</div>
</div>
</div>
<div class="clearfix"></div>
</section>
<div class="clearfix"></div>
<section class="resources-home">
<div class="container">
<h3>INSIGHTS</h3>
<div class="resource-home-wrap">
<div class="row">
<?php
$type = 'Resources';
$args=array(
'post_type' => $type,
'post_status' => 'publish',
'posts_per_page' => -1,
'order' => 'ASC'
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) { ?>
<div class="owl-carousel owl-theme resources">
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="item">
<div class="resource-item">
<?php the_post_thumbnail(); ?>
<div class="resources-desc">
<h3><a href="<?php echo get_field('resources-link'); ?>"><?php the_title(); ?></a></h3>
<?php //the_content(); ?>
<a href="<?php echo get_field('resources-link'); ?>" class="view-detail">View All</a>
</div>
</div> </div>
</section>
<div class="clearfix"></div>
<section class="books-wrap-home">
<div class="container">
<h3>BOOKS</h3>
<section class="books-bg">
<?php
$type = 'Books';
$args=array(
'post_type' => $type,
'post_status' => 'publish',
'posts_per_page' => -1,
'order' => 'ASC'
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) { ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="book-item">
<?php the_post_thumbnail(); ?>
<div class="middle"></div>
<a href="<?php echo get_field('books-link'); ?>" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/hover-icon.png" /></a>
</div>
<?php
endwhile;
} ?>
<?php wp_reset_query(); // Restore global post data stomped by the_post().
?>
<div class="clearfix"></div>
<div class="books-inner-bg">
<img src="<?php echo site_url();?>/wp-content/uploads/2018/11/books-bg.png" />
</div>
</section>
</div> </div>
</section> <?php
endwhile;
} ?>
</div>
<?php wp_reset_query(); // Restore global post data stomped by the_post().
?>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
<section class="books-wrap-home">
<div class="container">
<h3>BOOKS</h3>
<section class="books-bg">
<?php
$type = 'Books';
$args=array(
'post_type' => $type,
'post_status' => 'publish',
'posts_per_page' => -1,
'order' => 'ASC'
);
$my_query = null;
$my_query = new WP_Query($args);
if( $my_query->have_posts() ) { ?>
<div class="owl-carousel owl-theme home-book-slider
">
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="book-item">
<?php the_post_thumbnail(); ?>
<div class="middle"></div>
<a href="<?php echo get_field('books-link'); ?>" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/images/hover-icon.png" /></a>
</div>
<?php
endwhile;?></div>
<?php
} ?>
<?php wp_reset_query(); // Restore global post data stomped by the_post().
?>
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="books-inner-bg">
<section class="home-seo-section"> <img src="<?php echo site_url();?>/wp-content/uploads/2018/11/books-bg.png" />
<div class="container"> </div>
<div class="home-seo-content">
<?php echo the_field('home_page_seo_content'); ?>
</div>
</div>
</section> </section>
<div class="clearfix"></div> </div>
<?php </section>
<div class="clearfix"></div>
$visibility = get_field('display');
<section class="home-seo-section">
<div class="container">
<div class="home-seo-content">
<?php echo the_field('home_page_seo_content'); ?>
</div>
</div>
</section>
<div class="clearfix"></div>
<?php
$visibility = get_field('display');
if($visibility== 'Yes'){
if($visibility== 'Yes'){
?> ?>
<section class="complain_status"> <section class="complain_status">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<div class="complaint_status_wrapper fixed">
<span class="closebox"></span>
<div class="complaint_swi">
<div class="complaint_status_wrapper fixed"> <h5 class="sec_title"><?php the_field('complaint_box_title'); ?></h5>
<span class="closebox"></span>
<div class="complaint_swi"> <div class="table-responsive">
<h5 class="sec_title"><?php the_field('complaint_box_title'); ?></h5> <?php
<div class="table-responsive"> the_field('complaints_status');
<?php ?>
</div>
the_field('complaints_status');
?>
</div>
</div>
</div>
</div> </div>
</div> </div>
</div>
</div>
</div>
</section>
<div class="clearfix"></div>
<?php } ?>
<section class="contact-home" id="contact-us">
<div class="container">
<h3>CONTACT US</h3>
<div class="home-contact-tabs">
<!-- <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-expanded="true">Distributor</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-expanded="true">Investor</a>
</li>
</ul> -->
<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="3184" title="Contact As" html_id="contact_us_3184"]' ); ?>
</div> </div>
</section> <!-- <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
<?php //echo do_shortcode( '[contact-form-7 id="29" title="Contact investor"]' ); ?>
<div class="clearfix"></div> </div> -->
<?php } ?>
<section class="contact-home" id="contact-us"> </div>
<div class="container"> </div>
<h3>CONTACT US</h3> </div>
</section>
<div class="home-contact-tabs">
<!-- <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-expanded="true">Distributor</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-expanded="true">Investor</a>
</li>
</ul> -->
<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="3184" title="Contact As"]' ); ?>
</div>
<!-- <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
<?php //echo do_shortcode( '[contact-form-7 id="29" title="Contact investor"]' ); ?>
</div> -->
</div>
</div>
</div>
</section>
</div> </div>
<?php get_footer(); ?> <?php get_footer(); ?>
\ No newline at end of file
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