🐞 fix: Update footer navigation collection logic

This commit is contained in:
Keith Solomon
2025-10-16 12:33:29 -05:00
parent f37f392b08
commit d2d9b3feb0

View File

@@ -15,7 +15,9 @@ $copyright_text = getFieldValue( 'footer.copyright_text' ) ? getFieldValue( 'foo
$copyright = str_replace( '%Y', gmdate( 'Y' ), $copyright_text ); $copyright = str_replace( '%Y', gmdate( 'Y' ), $copyright_text );
$footerNav = wp_get_nav_menu_items( 'footer' ); $locations = get_nav_menu_locations();
$footerMenu = get_term( $locations['footer_navigation'], 'nav_menu' );
$footerNav = wp_get_nav_menu_items( $footerMenu->term_id );
?> ?>
</main> </main>