Would it make sense to have some kind of alert message when the user hasn't yet created a menu?
One inelegant approach would be to add code to Navi->build() something like:
if ($menu === 0 || $menu === '' || $menu === null){
print_r("Log1x\Navi reports: No menu assigned to location. Please assign a menu to location in the WordPress admin panel.");
die();
}
Hey and thanks for the work.
Would it make sense to have some kind of alert message when the user hasn't yet created a menu?
One inelegant approach would be to add code to
Navi->build()
something like: