arc-hive-wordpress-theme/library/class-foundationpress-home-...

21 lines
530 B
PHP
Raw Normal View History

2021-04-29 11:47:25 +02:00
<?php
/**
* Customize the output of menus for Home Hero bottom bar
*
* @package arcHIVE-theme
* @since arcHIVE-theme 1.0.0
*/
/**
* Big thanks to Brett Mason (https://github.com/brettsmason) for the awesome walker
*/
if ( ! class_exists( 'Foundationpress_Home_Hero_Bar_Walker' ) ) :
2021-04-29 12:42:29 +02:00
class Foundationpress_Home_Hero_Bar_Walker extends Walker_Nav_Menu {
2021-04-29 11:47:25 +02:00
function start_lvl( &$output, $depth = 0, $args = array() ) {
$indent = str_repeat( "\t", $depth );
$output .= "\n$indent<ul class=\"menu\">\n";
}
}
endif;