Home > Software design >  Wordpress bootstrap 5 dropdown menu working only on home page
Wordpress bootstrap 5 dropdown menu working only on home page

Time:07-08

I´m working on a theme template for my wordpress site. Menu I´m trying to make is gonna have 1 dropdown, I used codes from multiple githubs and every one was working but only on my front-page so right after I go to another page the dropdown doesn´t work anymore and when I click it just adds # to my url address, also the wordpress admin panel is missing, In addition the bootstrap menu button won't appear after reaching the breakpoint but on my homepage it's fully responsive. So basically, when I leave my homesite it´s all messed up.

I´m using this navwalker: https://github.com/AlexWebLab/bootstrap-5-wordpress-navbar-walker

Thanks for response

CodePudding user response:

In most cases, this happens because of a plugin conflict. You need to disable the plugins one by one and find which one is causing this issue.

CodePudding user response:

I forgot to add wp_header() to page.php

  • Related