File: //var/www/info.viitorcloud.in/wp-content/themes/infoviitorcloud/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 WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.2
*/
$copytext = get_field('footer_copy_right_text','option');
$social = get_field('social_icons','option');
$version = get_field('version','option');
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<section class="footer container-fluid">
<?php if(!empty($copytext)){ ?>
<div class="copyright-box">
© <?php echo date('Y'); ?> <?php echo $copytext; ?>
</div>
<?php } ?>
<?php if(have_rows('social_icons','option')): ?>
<div class="social-icon-box">
<ul>
<?php while(have_rows('social_icons','option')) : the_row();
$icon = get_sub_field('social_icon');
$link = get_sub_field('social_link');
if(!empty($icon) && !empty($link) ){?>
<li><a href="<?php echo $link ?>" rel="noopener" target="_blank" title="<?php echo $icon ?>"><i class="fa fa-<?php echo $icon ?>" aria-hidden="true"></i><span class="<?php echo $icon ?>"></span></a></li>
<?php } ?>
<?php endwhile; ?>
</ul>
</div>
<?php endif; ?>
<?php if(!empty($version)) { ?>
<div class="version-box"><?php echo $version; ?>
</div>
<?php } ?>
</section>
</footer><!-- #colophon -->
</div><!-- .site-content-contain -->
</div><!-- #page -->
<?php wp_footer(); ?>
<?php global $current_user;
get_currentuserinfo(); if ($current_user->ID == '46') {
?>
<style>
.technologies-section {display:none;}
</style>
<?php } ?>
</body>
</html>