HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wptrinityconsulting/wp-content/themes/finbuzz/template-parts/header/mobile-topbar.php
<?php
/**
 * @author  RadiusTheme
 * @since   1.0
 * @version 1.0
 */

$finbuzz_socials = FinbuzzTheme_Helper::socials();

$finbuzz_mobile_meta  = (FinbuzzTheme::$options['mobile_header_phone'] ||  FinbuzzTheme::$options['mobile_header_social'] && $finbuzz_socials ||  FinbuzzTheme::$options['mobile_header_make_claim'] ) ? true : false;

?>
<?php if ( $finbuzz_mobile_meta) { ?>
<div class="mobile-top-bar" id="mobile-top-fix">
	<div class="header-top">
		<div>
			<?php if(FinbuzzTheme::$options['phone'] && FinbuzzTheme::$options['mobile_header_phone']) { ?>
				<div class="info-phone header-info "><span><i class="flaticon-telephone"></i><a href="tel:<?php echo esc_attr( FinbuzzTheme::$options['phone'] );?>"><?php echo wp_kses( FinbuzzTheme::$options['phone'] , 'alltext_allow' );?></a></span>
			</div>
			<?php } ?>
		</div>
	</div>
	<?php if ( FinbuzzTheme::$options['mobile_header_cart_icon'] ) { ?>			
        <?php get_template_part( 'template-parts/header/icon', 'cart' );
    } ?>
	<?php if( $finbuzz_socials !='' && FinbuzzTheme::$options['mobile_header_social']) { ?>
		<ul class="header-social">
			<?php foreach ( $finbuzz_socials as $finbuzz_social ): ?>
				<li><a target="_blank" href="<?php echo esc_url( $finbuzz_social['url'] );?>"><i class="fab <?php echo esc_attr( $finbuzz_social['icon'] );?>"></i></a></li>
			<?php endforeach; ?>
		</ul>
	<?php } ?>
	<?php if( FinbuzzTheme::$options['online_button_text'] && FinbuzzTheme::$options['mobile_header_make_claim']) { ?>
		<div class="header-button">
				<a target="_self" href="<?php echo esc_url( FinbuzzTheme::$options['online_button_link']  );?>"><?php echo esc_html(FinbuzzTheme::$options['online_button_text']);?></a>
		</div>
	<?php } ?>	
</div>
<?php } ?>