HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/public_html/wp-content/themes/consulting/partials/content-staff_bottom.php
<div class="staff_bottom">
	<h4 class="no_stripe"><?php esc_html_e( 'contact details', 'consulting' ); ?></h4>
	<div class="infos">
		<div class="info">
			<?php if( $phone = get_post_meta( get_the_ID(), 'phone', true ) ): ?>
				<div class="phone">
					<i class="fa fa-phone"></i> <span><?php echo esc_html( $phone ); ?></span>
				</div>
			<?php endif; ?>
			<?php if( $email = get_post_meta( get_the_ID(), 'email', true ) ): ?>
				<div class="email">
					<i class="stm-envelope"></i> <span><a href="mailto:<?php echo antispambot( $email ); ?>"><?php echo antispambot( $email ); ?></a></span>
				</div>
			<?php endif; ?>
		</div>
		<?php if( $address = get_post_meta( get_the_ID(), 'address', true ) ): ?>
			<div class="info">
				<div class="address">
					<i class="stm-marker"></i> <span><?php echo wp_kses( $address, array( 'br' => array() ) ); ?></span>
				</div>
			</div>
		<?php endif; ?>
		<div class="info">
			<div class="socials">
				<p><?php esc_html_e( 'Social Profiles', 'consulting' ); ?></p>
				<ul>
					<?php if( $facebook = get_post_meta( get_the_ID(), 'facebook', true ) ): ?>
						<li><a class="social-facebook" href="<?php echo esc_url( $facebook ); ?>"><i class="fa fa-facebook"></i></a></li>
					<?php endif; ?>
					<?php if( $twitter = get_post_meta( get_the_ID(), 'twitter', true ) ): ?>
						<li><a class="social-twitter" href="<?php echo esc_url( $twitter ); ?>"><i class="fa fa-twitter"></i></a></li>
					<?php endif; ?>
					<?php if( $linkedin = get_post_meta( get_the_ID(), 'linkedin', true ) ): ?>
						<li><a class="social-linkedin" href="<?php echo esc_url( $linkedin ); ?>"><i class="fa fa-linkedin"></i></a></li>
					<?php endif; ?>
					<?php if( $google_plus = get_post_meta( get_the_ID(), 'google_plus', true ) ): ?>
						<li><a class="social-google-plus" href="<?php echo esc_url( $google_plus ); ?>"><i class="fa fa-google-plus"></i></a></li>
					<?php endif; ?>
					<?php if( $skype = get_post_meta( get_the_ID(), 'skype', true ) ): ?>
						<li><a class="social-skype" href="<?php echo esc_attr($skype); ?>"><i class="fa fa-skype"></i></a></li>
					<?php endif; ?>
				</ul>
			</div>
		</div>
	</div>
</div>