I’ve added a new menu location to my functions.php file as such;
/**
* Additional Menu Location
*/
add_action( 'init', 'register_my_menu' );
function register_my_menu() {
register_nav_menu('quick-links-menu',__( 'Quick Links' ));
}
I would typically have to add something like the following to create a new menu location;
<?php wp_nav_menu( array( 'theme_location' => 'quick-links-menu', 'container_class' => 'footer-link-list' ) ); ?>
As my footer is within the elements section (Block – Site Footer), what would be the correct way to add this functionality, within this scenario?
Regards,
Lewis