Archived topic
Feature request: sidebar layout option for more page types
5 replies · Started by Roman on May 2, 2017
Hi Tom,
Currently we have a possibility to choose sidebar layout for:
- standard pages
- blog home page
- posts
I know that there are possibilities how to choose sidebar layout for archives, categories, etc. but not without having our hands dirty with coding. I think we should be allowed to choose sidebar layout through customiser panel also for:
- archive (is_archive)
- category archive (is_category)
- search page
- not found page (is_404)
What are your thoughts?
It could happen. I'm not sure how often people need to have different sidebar layouts for all of those templates though? Would you need a left sidebar for one, right sidebar for another, and both sidebars for another?
Appreciate the feedback! :)
Exactly, the left sidebar for one, right sidebar for another, and both sidebars for another.
I do not know how much you need to change the core, but once there is the option in the customiser, applying it may not be such a problem.
Of course you are a developer and you are the only one who can judge all new suggestions from the point of modularity and speed of GP...
:-)
I definitely appreciate the suggestion! I'll see what I can do :)
I, too, would like to see this feature. Especially for custom post types.
Hi there,
Just making sure you know that this can already be done with some coding, just not in the customizer:
https://docs.generatepress.com/article/sidebar-layout/#using-a-function
Let us know if you need more info :)