✨feature: Make aux profile name configurable
This commit is contained in:
@@ -18,6 +18,8 @@ if ( isset( $menus['aux_navigation'] ) ) {
|
||||
}
|
||||
|
||||
$currentPageURL = home_url( $wp->request ) . '/';
|
||||
|
||||
$profile = getFieldValue( 'social_media.profile_name' ) ? getFieldValue( 'social_media.profile_name' ) : ''
|
||||
?>
|
||||
|
||||
<div class="nav-aux__container hidden lg:block w-full py-0">
|
||||
@@ -34,6 +36,6 @@ $currentPageURL = home_url( $wp->request ) . '/';
|
||||
|
||||
<?php get_template_part( 'views/partials/social-media' ); ?>
|
||||
|
||||
<span class="font-semibold">@cwccollaborative</span>
|
||||
<span class="font-semibold"><?php echo esc_html( $profile ); ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user