Layout_Sidebar
Class Layout_Container
Source
File: inc/views/layouts/layout_sidebar.php
Expand full source code Collapse full source code View on Github
Methods
- add_body_class — Add classes to the main tag.
- get_context — Get current context.
- get_sidebar_close — Render sidebar toggle.
- get_sidebar_setup — Get the sidebar setup. Returns array (`theme_mod`, `sidebar_slug`) based on context.
- init — Function that is run after instantiation.
- sidebar — Render the sidebar.