reorg theme
This commit is contained in:
parent
9ddb9f3c60
commit
e63af0b7ce
243 changed files with 10 additions and 11506 deletions
20
library/class-foundationpress-mobile-walker.php
Normal file
20
library/class-foundationpress-mobile-walker.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
/**
|
||||
* Customize the output of menus for Foundation mobile walker
|
||||
*
|
||||
* @package FoundationPress
|
||||
* @since FoundationPress 1.0.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Big thanks to Brett Mason (https://github.com/brettsmason) for the awesome walker
|
||||
*/
|
||||
|
||||
if ( ! class_exists( 'Foundationpress_Mobile_Walker' ) ) :
|
||||
class Foundationpress_Mobile_Walker extends Walker_Nav_Menu {
|
||||
function start_lvl( &$output, $depth = 0, $args = array() ) {
|
||||
$indent = str_repeat( "\t", $depth );
|
||||
$output .= "\n$indent<ul class=\"vertical nested menu\">\n";
|
||||
}
|
||||
}
|
||||
endif;
|
Loading…
Add table
Add a link
Reference in a new issue