Shows the title, the post thumbnail and the excerpt for every menu entry.
Additional markup will be appended to the default menu entry.
author | etessore |
---|---|
version | 1.0.0 |
package | classes |
__construct()
Hint: overload this if you want to change the printed markup
get_container_id(object $item, array $args) : string
object
the menu item
array
additional arguments
string
the idget_excerpt($item) : \Ambigous
\Ambigous
get_excerpt_id($item) : string
string
the idget_href($item) : string
string
the href for the current menu elementget_image($item, string $size, array $args) : string
string
the media size
array
optional arguments for the anchor
string
the image markupget_permalink($item, array $args) : string
array
optional arguments for the anchor tag
string
html anchor tag for the permalinkget_title($item) : \Ambigous
\Ambigous
set_thumb_media_size(string $size) : \ShowItemExcerptWalkerNavMenu
string
the media dimension
\ShowItemExcerptWalkerNavMenu
$this for chainabilitystart_el(string $output, object $item, int $depth, int $args)
see | \Walker_Nav_Menu::start_el() |
---|
string
Passed by reference. Used to append additional content.
object
Menu item data object.
int
Depth of menu item. Used for padding.
int
$classes
$excerpt_output : string
$thumb_media_size
$tpl : string