File: //proc/self/cwd/wp-content/themes/vcmarketplace/footer.php
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package vcmarketplace
*/
?>
<?php
$footer_cta_image = get_field('footer_cta_image', 'option');
$form_title_text = get_field('form_title_text', 'option');
$form_subtitle_text = get_field('form_subtitle_text', 'option');
$below_form_text = get_field('below_form_text', 'option');
$footer_description = get_field('footer_description', 'option');
$button_title = get_field('button_title', 'option');
$button_url = get_field('button_url', 'option');
$featured_links_title = get_field('featured_links_title', 'option');
$copyright_text = get_field('copyright_text', 'option');
$twitter_link = get_field('twitter_link', 'option');
$youtube_link = get_field('youtube_link', 'option');
$instagram_link = get_field('instagram_link', 'option');
$email_id_icon = get_field('email_id_icon', 'option');
$skype_link = get_field('skype_link', 'option');
$footer_logo_one = get_field('footer_logo_one', 'option');
$footer_logo_two = get_field('footer_logo_two', 'option');
$footer_logo_three = get_field('footer_logo_three', 'option');
$footer_logo_four = get_field('footer_logo_four', 'option');
$footer_bottom_line = get_field('footer_bottom_line', 'option');
?>
<section class="stayinknow">
<div class="container">
<div class="row align-item-start justify-conent-center">
<div class="col-md-6">
<!-- <h3 class="d-md-none d-block">Stay in the know</h3> -->
<img src="<?php echo $footer_cta_image['url']; ?>" alt="<?php echo $footer_cta_image['alt']; ?>" width="100%">
</div>
<div class="col-md-6">
<p class="d-md-block d-none font-30">
<?php echo $form_title_text; ?>
</p>
<p class="font-20 my-4">
<?php echo $form_subtitle_text; ?>
</p>
<div class="stay-in-form">
<?php echo do_shortcode('[contact-form-7 id="690b222" title="Newslatter Form"]'); ?>
</div>
<p class="further-text mb-0 font-14">
<?php echo $below_form_text; ?>
</p>
</div>
</div>
</section>
<footer>
<div class="container">
<div class="forward-thinking pb-4">
<p class="footer-description">
<?php echo $footer_description; ?>
</p>
</div>
</div>
<div class="py-4">
<div class="container">
<div class="d-md-flex justify-content-between align-items-end featured-links">
<div>
<p class="featured-links-title mb-3">
<?php echo $featured_links_title; ?>
</p>
<?php
wp_nav_menu(
array(
'menu' => 'Footer menu one',
'menu_class' => 'ps-0 mb-0 footer-navigation d-flex flex-wrap',
'container' => false
)
);
?>
</div>
<ul class="social-list d-flex ps-0 mb-0">
<li><a href="<?php echo $twitter_link; ?>"
class="d-flex ms-md-3 ms-0 me-md-0 me-3 align-items-center justify-content-center"
target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-x-twitter"></i></a>
</li>
<li><a href="<?php echo $youtube_link; ?>"
class="d-flex ms-md-3 ms-0 me-md-0 me-3 align-items-center justify-content-center"
target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-youtube"></i></a>
</li>
<li><a href="<?php echo $instagram_link; ?>"
class="d-flex ms-md-3 ms-0 me-md-0 me-3 align-items-center justify-content-center"
target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-instagram"></i></a>
</li>
<li><a href="mailto:<?php echo $email_id_icon; ?>"
class="d-flex ms-md-3 ms-0 me-md-0 me-3 align-items-center justify-content-center"
target="_blank" rel="noopener noreferrer"><i class="fa-solid fa-envelope"></i></a>
</li>
<li><a href="<?php echo $skype_link; ?>"
class="d-flex ms-md-3 ms-0 me-md-0 me-3 align-items-center justify-content-center"
target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-skype"></i></a>
</li>
</ul>
</div>
<div class="d-md-flex justify-content-between align-items-end mt-2">
<div>
<?php
wp_nav_menu(
array(
'menu' => 'Footer menu two',
'menu_class' => 'ps-0 mb-0 footer-navigation d-flex flex-wrap',
'container' => false,
)
);
?>
</div>
</div>
<div class="copyright-desk pt-2 pb-0">
<div class="row justify-content-between align-items-center">
<div class="col-12 col-lg-8">
<p class="copyright">
<?php echo $footer_bottom_line; ?>
</p>
</div>
<div class="col-12 col-lg-4 text-start text-lg-enter mt-3 mt-lg-0">
<ul class="social-list d-flex ps-0 mb-0 justify-content-start justify-content-lg-end">
<li class="ms-lg-2 ms-0 me-2 me-lg-0"><img src="<?php echo $footer_logo_one['url']; ?>"
alt="<?php echo $footer_logo_one['alt']; ?>"></li>
<li class="ms-lg-2 ms-0 me-2 me-lg-0"><img src="<?php echo $footer_logo_two['url']; ?>"
alt="<?php echo $footer_logo_two['alt']; ?>"></li>
<li class="ms-lg-2 ms-0 me-2 me-lg-0"><img src="<?php echo $footer_logo_three['url']; ?>"
alt="<?php echo $footer_logo_three['alt']; ?>"></li>
<li class="ms-lg-2 ms-0 me-2 me-lg-0"><img src="<?php echo $footer_logo_four['url']; ?>"
alt="<?php echo $footer_logo_four['alt']; ?>"></li>
</ul>
<p class="copyright mt-2">
<?php echo $copyright_text; ?>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="page-bottom-line"></div>
</footer>
</div><!-- #page -->
<?php wp_footer(); ?>
<script>
jQuery(document).ready(function($) {
// Function to remove blockUI elements and processing class
function removeBlockUIAndProcessing() {
$('.blockUI').remove(); // Remove all elements with class 'blockUI'
$('form[name="checkout"]').removeClass('processing'); // Remove the 'processing' class from the form
}
// Remove blockUI elements and processing class after a short delay
setTimeout(removeBlockUIAndProcessing, 1000); // Adjust timeout as needed
// Also remove blockUI elements and processing class after AJAX requests complete
$(document).ajaxComplete(function() {
removeBlockUIAndProcessing();
});
// Remove blockUI elements and processing class on specific form events if needed
$('form[name="checkout"]').on('submit', function() {
removeBlockUIAndProcessing();
});
});
</script>
</body>
</html>