diff options
| author | tradam <[email protected]> | 2025-11-18 23:37:40 +0000 |
|---|---|---|
| committer | tradam <[email protected]> | 2025-11-18 23:37:40 +0000 |
| commit | 072f012398e448682f6d1cb0d981bdbb5e46263c (patch) | |
| tree | 388689a338820c60ad93ff0c61fcaba258773943 /functions.php | |
| parent | 5ec6e44935e7c979fd718d6aa2c7a5308da0ee54 (diff) | |
| download | malcz-wordpress-theme-dev.tar.gz malcz-wordpress-theme-dev.zip | |
progressdev
Diffstat (limited to 'functions.php')
| -rwxr-xr-x | functions.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 4358df1..f48605d 100755 --- a/functions.php +++ b/functions.php @@ -53,7 +53,7 @@ register_nav_menus( array( 'top-menu' => 'Top Menu Location', - 'mobile-menu' => 'Mobile Menu Location' + //'mobile-menu' => 'Mobile Menu Location' ) ); @@ -73,3 +73,7 @@ add_filter('nav_menu_link_attributes', function($atts, $item, $args, $depth) { return $atts; }, 10, 4); +function register_navwalker() { + require_once get_template_directory() . '/plugins/class-wp-picocss-navwalker.php'; +} +add_action('after_setup_theme', 'register_navwalker'); |
