File: /var/www/panigaletech.com/wp-content/themes/panigale/footer.php
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the #content div and all content after
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
<div class="search-job text-center" style="background-image: url('<?php echo get_option('change_your_job_background_image');?>');">
<h2 class="heading02 font-weight-6 text-white mb-5 wow fadeInUp" data-wow-duration="2s"><?php echo get_option('change_your_job_title');?></h2>
<p class="text-white wow fadeInUp" data-wow-duration="2s"><?php echo get_option('change_your_job_content');?></p>
<a href="<?php echo get_site_url(); ?>/jobs" class="btn btn-white mt-5 wow fadeInUp" data-wow-duration="2s">Search Jobs</a>
</div>
<div class="drive-down">
<div class="container-fluid">
<div class="row mb-5">
<div class="col-lg-8 col-md-8 col-sm-12 offset-lg-2 offset-md-2 text-center">
<h2 class="heading02 font-weight-6 mb-5 wow fadeInUp" data-wow-duration="2s"><?php echo get_option('home_page_services_section_title');?></h2>
<p class=" wow fadeInUp" data-wow-duration="2s"><?php echo get_option('home_page_services_section_brief_content');?></p>
</div>
<div class="col-lg-10 offset-lg-1 wow fadeInUp" data-wow-duration="2s">
<div class="row pt-5">
<?php
$home_page_services = get_posts(array('post_type'=>'services','post_status'=>'publish',
'orderby'=> 'date', 'order' => 'ASC','posts_per_page'=> 4));
if(!empty($home_page_services )){
foreach($home_page_services as $key1=>$val1){
$image_url = wp_get_attachment_image_src( get_post_thumbnail_id($val1->ID), 'full');
?>
<div class="col-lg-4 col-md-6 text-center">
<figure>
<img src="<?php echo $image_url[0];?>">
</figure>
<h4 class="heading04 font-weight-6 mb-0"><?php echo $val1->post_title; ?></h4>
<p><p><?php echo string_part($val1->post_content, 100); ?></p>
</div>
<?php } } ?>
</div>
</div>
</div>
</div>
</div>
<!-------------------------- Start Hot Candidates ------------------------->
<?php
/*
$hotcandidate_args = array(
'post_type' => 'candidates',
'posts_per_page' => 19000,
'post_status' => 'publish',
'orderby'=> 'date',
'order' => 'DESC',
'meta_query' => array(
array(
'key' => 'is_featured',
'value' => 1,
'compare' => '=',
))
);
$hotcandidate_lists = get_posts($hotcandidate_args);;
//get categories from posts and amalgamate them
$all_industries = array();
foreach( $hotcandidate_lists as $hotcandidate_lists_val ) {
$new_industries = wp_get_object_terms( $hotcandidate_lists_val->ID, 'industry' );
$all_industries = array_merge($all_industries,$new_industries);
}
if(!empty($all_industries)) {
$industries = array();
foreach($all_industries as $all_industries_val)
{
$industries[$all_industries_val->term_id]['term_name'] = $all_industries_val->name;
$industries[$all_industries_val->term_id]['term_id'] = $all_industries_val->term_id;
}
?>
<div class="hot-candidates" style="background-image: url('<?php echo get_option('candidates_section_background_image');?>');">
<div class="container-fluid">
<div class="row">
<div class="col-lg-8 col-md-10 col-sm-12 offset-lg-2 offset-md-1 text-center text-white">
<h2 class="heading02 text-white font-weight-6 mb-2 wow fadeInUp" data-wow-duration="2s"><?php echo get_option('candidates_section_title_in_footer');?> </h2>
<p class=" wow fadeInUp" data-wow-duration="2s"><?php echo get_option('candidates_section_brief_content_in_footer');?></p>
</div>
<div class="col-lg-10 offset-lg-1">
<div class="hot-link mt-5 text-center wow fadeInUp" data-wow-duration="2s">
<?php
foreach ( $industries as $industries_val ) {
?>
<a class="btn btn-line mb-3 ml-2 mr-2" href="<?php echo get_term_link( $industries_val['term_id'] ); ?>"><?php echo $industries_val['term_name']; ?></a>
<?php } ?>
</div>
<!-- <div class="text-center mt-5 wow fadeInUp" data-wow-duration="2s">
<a href="<?php echo get_site_url(); ?>/find-talent" class="btn btn-white">View more talent</a>
</div> -->
</div>
</div>
</div>
</div>
<?php
}
*/
?>
<!-------------------------- End Hot Candidates ------------------------->
<?php /* ?>
<?php
$footerNewsLists = get_posts(array('post_type'=>'news','post_status'=>'publish',
'orderby'=> 'date', 'order' => 'DESC','posts_per_page'=> -1));
if(!empty($footerNewsLists )){
?>
<div class="latest-news">
<div class="container-fluid">
<div class="row">
<div class="col-lg-6 col-md-8 col-sm-12 offset-lg-3 offset-md-2 text-center">
<h2 class="heading02 font-weight-6 mb-4 wow fadeInUp" data-wow-duration="2s"><?php echo get_option('latest_news_heading_in_footer');?></h2>
<p class=" wow fadeInUp" data-wow-duration="2s"><?php echo get_option('latest_news_brief_content_in_footer');?></p>
</div>
<div class="col-lg-10 col-md-12 offset-lg-1 mt-5">
<div class="latestNews slider pt-3">
<?php foreach($footerNewsLists as $keynews=>$valnews){
$image_url = wp_get_attachment_image_src( get_post_thumbnail_id($valnews->ID), 'full'); ?>
<div class="latest-news-blog">
<figure>
<img src="<?php echo $image_url[0];?>">
</figure>
<div class="latest-news-text">
<h3 class="heading03 font-weight-4 wow fadeInUp" data-wow-duration="2s"><a href="<?php echo get_permalink( $valnews->ID ); ?>"><?php echo $valnews->post_title; ?></a>
<small>on <?php echo get_field( "news_date", $valnews->ID ) ?></small>
</h3>
<p class=" wow fadeInUp" data-wow-duration="2s"><?php echo string_part($valnews->post_content, 120); ?></p>
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
<?php } ?>
<?php */?>
<div class="footer-top wow fadeInUp" data-wow-duration="2s">
<div class="container-fluid">
<div class="row">
<div class="col-lg-10 col-md-12 offset-lg-1">
<div class="call-email-logo">
<div class="call"><i class="fas fa-phone-alt"></i> Call Now: <?php echo get_option('phone_no');?></div>
<div class="footer-logo"><img width="100" src="<?php echo get_option('footer_logo');?>"></div>
<div class="email"><i class="fas fa-envelope"></i> Mail: <a href="mailto:<?php echo get_option('contact_email');?>"><?php echo get_option('contact_email');?></a></div>
</div>
</div>
</div>
</div>
</div>
<!--Footer-->
<footer>
<!-- <div class="footer-top">
</div> -->
<div class="footer-menu">
<div class="container-fluid">
<div class="row">
<div class="col-lg-10 col-md-12 offset-lg-1">
<div class="row">
<div class="col-md-4 right-line">
<h3 class="heading03 text-white letter-spacing-1 mb-4">Contact</h3>
<p>
<?php echo get_option('contact_address');?>
</p>
<!-- <h3 class="heading03 text-white letter-spacing-1 mb-4 mt-5">Follow me on:</h3>
<ul class="social-link">
<li><a href="<?php echo get_option('facebook_fan_page_url');?>" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="<?php echo get_option('twitter_fan_page_url');?>" target="_blank"><i class="fab fa-twitter"></i></a></li>
<li><a href="<?php echo get_option('instagram_page_url');?>" target="_blank"><i class="fab fa-instagram"></i></a></li>
<li><a href="<?php echo get_option('flickr_fan_page_url');?>" target="_blank"><i class="fab fa-flickr"></i></a></li>
</ul> -->
</div>
<div class="col-md-4 right-line">
<h3 class="heading03 text-white letter-spacing-1 mb-4">Quick Link</h3>
<?php wp_nav_menu( array('menu' => 'Footer Menu 1', 'menu_class' => 'nav-list', 'theme_location' => 'secondary')); ?>
</div>
<div class="col-md-4 right-line">
<h3 class="heading03 text-white letter-spacing-1 mb-4">Quick Link</h3>
<?php wp_nav_menu( array('menu' => 'Footer Menu 2', 'menu_class' => 'nav-list', 'theme_location' => 'social')); ?>
</div>
<!-- <div class="col-md-3 right-line subscribe">
<h3 class="heading03 text-white letter-spacing-1 mb-4">Newsletter</h3>
<p class="pb-3">Signup for our weekly newsletter and get the
latest updates</p>
<div class="form-group">
<input type="email" class="form-control" id="email" placeholder="Enter your Email">
</div>
<button type="submit" class="btn btn-blue">Subscribe</button>
</div> -->
</div>
</div>
</div>
</div>
</div>
<div class="footer-copy">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="copy-text text-center">
© <?php echo date("Y"); ?> Panigale Technology
</div>
</div>
</div>
</div>
</div>
</footer>
<!--Footer-->
<!-- Bootstrap core JavaScript -->
<script src="https://code.jquery.com/jquery-2.2.0.min.js" type="text/javascript"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>
<!-- Plugin JavaScript -->
<script src="<?php echo get_template_directory_uri(); ?>/js/jquery.easing.min.js"></script>
<!-- Animation scripts -->
<script src="<?php echo get_template_directory_uri(); ?>/js/index.js"></script>
<script src="<?php echo get_template_directory_uri(); ?>/js/slick.js"></script>
<!-- Custom scripts for this template -->
<script src="<?php echo get_template_directory_uri(); ?>/js/custom.js"></script>
<?php wp_footer(); ?>
</body>
</html>