update to bootstrap 5.2.3 continued

This commit is contained in:
Joey Kimsey
2024-12-10 01:46:00 -05:00
parent b3018de907
commit f3f323d30f
23 changed files with 279 additions and 155 deletions

View File

@ -335,9 +335,14 @@ class Plugin {
}
public function loadFooterNav() {
if ( !empty( $this->footer_links ) ) {
foreach( $this->footer_links as $key => $link ) {
Navigation::addLink( App::FOOTER_MENU_NAME, $link );
if ( !empty( $this->contact_footer_links ) ) {
foreach( $this->contact_footer_links as $key => $link ) {
Navigation::addLink( App::CONTACT_FOOTER_MENU_NAME, $link );
}
}
if ( !empty( $this->info_footer_links ) ) {
foreach( $this->info_footer_links as $key => $link ) {
Navigation::addLink( App::INFO_FOOTER_MENU_NAME, $link );
}
}
}