Add a custom sidebar ?
-
Hi,
In the widgets section there is only one main sidebar, and a shop sidebar.
However I would like to have different sidebars for my posts and for archive pages.
How to add a new sidebar and associate it with archives ?
Thanks!
-
Hello @mxlaxe ,
Thank you for choosing Neve!
Neve natively offers 2 sidebars (main and shop) like you mentioned.
What you want to do is achievable by creating a child theme and applying custom code modifications to it until you get the desired result. Here is our documentation for how to create a child theme for Neve https://docs.themeisle.com/article/985-how-to-create-a-child-theme-for-neve
Thank you and happy building!
Thank you,
Actually I’m already using a child theme, however this does not explain how to setup a custom sidebar on an archive page.
Any thoughts on this ?
Thanks!
Hi, Mxlaxe, I’m another user of the Neve theme.
You can either add sidebars using plugins or through custom code.
If you want to add side bars using a plugin, here is a plugin for that:
https://wordpress.org/plugins/custom-sidebars/Otherwise, if you were comfortable developing with PHP, here is a link to the WordPress developer documentation for sidebars: https://developer.wordpress.org/themes/functionality/sidebars/
Thank you @plantprogrammer, will look into that!
@mateithemeisle It would be great however to have the option (from the theme’s options) to choose which sidebar to display for a specific post type or archive.
Hi @mxlaxe ,
We are constantly looking for improvements proposed by our users thus we thank you for your proposal! This version doesn’t have this feature now but we’ll take your proposal into consideration for future updates.
Hello @plantprogrammer ,
As always thank you for your help towards the community! I am sure everybody appreciates it!
Thank both of you and have a great day!
The topic ‘Add a custom sidebar ?’ is closed to new replies.
