Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

requesting template with sidebar #2

Open
cubefoo opened this issue Jun 24, 2018 · 6 comments
Open

requesting template with sidebar #2

cubefoo opened this issue Jun 24, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@cubefoo
Copy link

cubefoo commented Jun 24, 2018

Wondering why there's currently no sidebar template and if you would consider integrating this option. Are there any sidebar related issues with Gutenberg?

@mikemcalister
Copy link
Contributor

Hi there,

We definitely will have a sidebar solution in the future. There are some technical considerations about sidebars in the new style of page building with blocks. Where are you looking to add a sidebar? A post, page, blog index?

The Gutenberg team is working through some considerations about sidebars that may help us determine how to do them going forward. I don’t want to necessarily start adding sidebars like the old style themes because we’re trying to look forward with Atomic Blocks. This is a good opportunity to rethink sidebars and how/if we implement them. There’s a good amount of research that says sidebars are more trouble than they’re worth for visitors, depending on their use.

I’ll take a look at maybe doing this in a template so there is at least basic support, but I don’t think you’d be able to apply a template to a blog index. So it would be limited to pages basically.

@cubefoo
Copy link
Author

cubefoo commented Jun 26, 2018

I'm using a sidebar on a membership page where members can view their account information without scrolling. The sidebar also shows useful instructions for editing their account. This information would be lost without a sidebar since most people don't scroll while they edit some info on the frontend.

Besides this I agree sidebars are overused on the majority of websites and are usually more distracting than useful.

@mikemcalister mikemcalister added the enhancement New feature or request label Sep 26, 2018
@mbaiti
Copy link

mbaiti commented Oct 12, 2018

Optional sidebar on blog index would be great!

@flowdee
Copy link

flowdee commented Oct 19, 2018

Sidebar template (which i would use for the blog index) as well for the single posts (optional?) would be great!

@lynt-smitka
Copy link

Hi, we are working on a full equipped WordPress Kit for our purposes (sorry, all docs are in the czech language currently) and the sidebar is one of features we implemented.

There is the function to register the sidebar: https://github.com/NasWP/naswp-kit-atomic/blob/master/wp-content/themes/naswp-kit-atomic/classes/class-naswp-sidebar-atomic.php

The page template: https://github.com/NasWP/naswp-kit-atomic/blob/master/wp-content/themes/naswp-kit-atomic/templates/template-sidebar.php

And the CSS: https://github.com/NasWP/naswp-kit-atomic/blob/4d56abd9e8bf09a536f9c8bb0e4c82be8a9f8080/wp-content/themes/naswp-kit-atomic/style.css#L51-L77

@mbaiti
Copy link

mbaiti commented Nov 6, 2020

Thanks @lynt-smitka ! Works fine!

Is there any chance to get the sidebar on the homepage/blog page?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants