-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
✨ goal: improvementImprovement to an existing featureImprovement to an existing feature🏁 status: ready for workReady for workReady for work💻 aspect: codeConcerns the software code in the repositoryConcerns the software code in the repository🕹 aspect: interfaceConcerns end-users' experience with the softwareConcerns end-users' experience with the software🟧 priority: highStalls work on the project or its dependentsStalls work on the project or its dependents
Description
Problem
Our default layout currently displays a sidebar. The sidebar renders a page list where the pages are children of the parent:
Lines 18 to 36 in f49ec2a
| <aside class="sidebar"> | |
| <?php | |
| $parent = CC_Site::get_parent_page(); | |
| echo '<nav class="side-navigation padding-vertical-big">'; | |
| echo '<ul class="list-pages">'; | |
| wp_list_pages( | |
| array( | |
| 'child_of' => $parent, | |
| 'show_date' => '', | |
| 'depth' => 3, | |
| 'title_li' => '', | |
| ) | |
| ); | |
| echo '</ul>'; | |
| echo '</nav>'; | |
| get_sidebar(); | |
| ?> | |
| </aside> |
However, having the sidebar doesn't allow Gutenberg blocks to display full-width.
Description
Determine how best to handle the sidebar menu, such as
- moving it to a custom Gutenberg widget
- using the default Gutenberg page list block (which doesn't allow specifying a root page)
- making the default template have no sidebar and creating a "page with sidebar" theme
Related resources
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
✨ goal: improvementImprovement to an existing featureImprovement to an existing feature🏁 status: ready for workReady for workReady for work💻 aspect: codeConcerns the software code in the repositoryConcerns the software code in the repository🕹 aspect: interfaceConcerns end-users' experience with the softwareConcerns end-users' experience with the software🟧 priority: highStalls work on the project or its dependentsStalls work on the project or its dependents
Type
Projects
Status
Backlog