* docs: Add onboarding documentation for new developers Add four comprehensive guides to help new developers get started with the VDI-Starter-v5 WordPress theme: - docs/getting-started.md: Setup from zero, local WordPress options, env config, theme activation warnings, troubleshooting - docs/architecture.md: Bootstrap flow, 7 architectural layers, namespace conventions, WP hooks cleanup, enqueue system, theme.json - docs/creating-blocks.md: Step-by-step ACF block creation tutorial, helper functions, parent-child patterns, Tailwind integration - docs/reference.md: Hooks/filters tables, design tokens, CSS import tree, JS module graph, class reference, CLI commands, deployment Update README.md: trim deep-dive API docs (moved to reference), add documentation links section, fix CSS paths (views/styles/ → styles/), add missing contact-info block, fix deployment filename typo (wpengine,yml → wpengine.yml), add backToTop.js and enqEditorAssets(), add namespace conventions table. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * docs: language graph * docs: Update readme * 🔵 other: Rename project and publish * 🔵 other: Update .gitignore
40 lines
1009 B
PHP
40 lines
1009 B
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 SoloFrameEvo;
|
|
|
|
// 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 bg-dark w-full h-12 py-2">
|
|
<div class="container flex items-center justify-end gap-x-4 gap-y-0 flex-wrap">
|
|
<nav class="nav-aux" role="navigation" aria-label="Auxiliary">
|
|
<?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' ); ?>
|
|
|
|
<?php get_template_part( 'views/forms/search' ); ?>
|
|
</div>
|
|
</div>
|