Files
Keith Solomon 405f43baf9
Sync TODOs with Issues / sync_todos (push) Successful in 6s
🐞 fix: Navigation tweaks
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 15:20:09 -05:00

40 lines
1.0 KiB
PHP

<?php
/**
* Main Navigation - Auxiliary
*
* Please review documentation upon first use, and, as-needed:
* https://docs.vincentdevelopment.ca/docs/starter-v3-enhancements/navigation-aux.html
*/
namespace CWC;
// Init Variables
global $wp, $views;
$menus = get_nav_menu_locations();
if ( isset( $menus['aux_navigation'] ) ) {
$navItems = wp_get_nav_menu_items( $menus['aux_navigation'] );
}
$currentPageURL = home_url( $wp->request ) . '/';
?>
<div class="nav-aux__container hidden lg:block w-full py-0">
<div class="header__nav-aux container flex items-center justify-end gap-x-4 gap-y-0 flex-wrap text-white py-0">
<nav class="nav-aux py-0" role="navigation" aria-label="Auxiliary navigation">
<?php
if ( has_nav_menu( 'aux_navigation' ) ) {
// Initialize and render menu items
$menuItems = new MenuItems( 'aux_navigation' );
$menuItems->render();
}
?>
</nav>
<?php get_template_part( 'views/partials/social-media' ); ?>
<span class="font-semibold">@cwccollaborative</span>
</div>
</div>