X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/themes/smart-mag/partials/header
home
/
notabjze
/
hourglass.life
/
wp-content
/
themes
/
smart-mag
/
partials
/
header
/
ðŸ“
..
📄
auth.php
(1.02 KB)
📄
button.php
(620 B)
📄
cart.php
(227 B)
📄
date.php
(265 B)
📄
hamburger.php
(360 B)
📄
header.php
(2.14 KB)
📄
logo.php
(1.44 KB)
ðŸ“
mega-menu
📄
nav-menu.php
(1.04 KB)
📄
off-canvas-menu.php
(1.82 KB)
📄
scheme-switch.php
(572 B)
📄
search.php
(1023 B)
📄
social-icons.php
(352 B)
📄
text.php
(403 B)
📄
ticker.php
(1.02 KB)
Editing: auth.php
<?php /** * Partial: Header Auth Links. */ $props = array_replace([ 'style' => '', 'icon' => true, 'text' => '', 'logout' => true, ], $props); $classes = [ 'auth-link', $props['icon'] ? 'has-icon' : '', ]; Bunyad::authenticate()->enable(); $login_link = Bunyad::amp()->active() ? wp_login_url() : '#auth-modal'; ?> <?php if (!is_user_logged_in()): ?> <a href="<?php echo esc_url($login_link); ?>" class="<?php echo esc_attr(join(' ', $classes)); ?>"> <?php if ($props['icon']): ?> <i class="icon tsi tsi-user-circle-o"></i> <?php endif; ?> <?php if ($props['text']): ?> <span class="label"><?php echo wp_kses_post($props['text']); ?></span> <?php endif; ?> </a> <?php elseif ($props['logout']): ?> <a href="<?php echo wp_logout_url(); // Already encoded ?>" class="<?php echo esc_attr(join(' ', $classes)); ?>"> <?php if ($props['icon']): ?> <i class="icon tsi tsi-user-circle-o"></i> <?php endif; ?> <span class="label"><?php esc_html_e('Logout', 'bunyad'); ?></span> </a> <?php endif; ?>
Upload File
Create Folder