HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/shootinschool/wp-content/themes/shootinschool/partials/header/top-bar-profile.php
<?php
$isActive = get_theme_mod("top_bar_enable_profile", false);
if($isActive == 'enable'):
?>

<div class="stm-profile-wrapp">
	<div class="stm-profile-img">
		<?php if(get_current_user_id() != 0) echo get_avatar(get_current_user_id()); ?>
	</div>
	<a class="normal_font" href='<?php echo site_url(); ?>/my-account'><?php if(get_current_user_id() == 0) : echo esc_html_e('Log In', 'splash');?></a><span class="vertical-divider"></span><a class="normal_font" href='<?php echo site_url(); ?>/my-account'><?php echo esc_html_e('Sign Up', 'splash'); else : echo esc_html_e('Profile', 'splash'); endif;?></a>
</div>
<?php endif; ?>