Class: \Conifer\Navigation\MenuItem
Custom MenuItem class for adding special nav behavior to TimberMenuItem instances
Visibility | Function |
---|---|
public | display_children() : boolean true if this Item has nav children AND represents the current page or an ancestor of the current page Whether to display this item's children. Typically for use in side navigation structures with lots of hierarchy. |
public | has_children() : boolean true if this MenuItem has children. Whether this MenuItem has child MenuItems or not. |
public | points_to_current_post_or_ancestor() : boolean Whether this item points to the current post, or an ancestor of the current post |
This class extends \Timber\MenuItem
This class implements \Timber\CoreInterface