Sidebar not showing up on BP members directory
-
Hi! Somehow on my website, the directory page doesn’t show a sidebar, no matter what I try. This is the page where I’d want the sidebar but it doesn’t show: https://starkehand.org/datenschutz/
If you click on this page, the sidebar shows: https://starkehand.org/impressumThe page settings of both pages are the same, I’ve tried everything relating to side width, etc. I don’t think it’s a problem with the Neve theme I’m using since the sidebar works on the other page.
I’m using WordPress 5.4.1
BuddyPress 5.2.0I’d really appreciate your help!! Thanks!
-
@stellamariee Go to
Pages > All Pages
then find yourdatenschutz
or members page and click on theEdit
link under that. Click onPage Attributes
under Documents in right hand sidebar. UnderTemplate
, see if you can change it to something likePage with sidebar
or something similar. Sometimes, themes have default layouts of Page with no sidebars, so if you want sidebars, you’d need to set it to that page template. Good luck.https://starkehand.org/datenschutz/ never calls your theme’s sidebar. You need to put that in yourself or ask the developers of the Neve theme to do it for you.
@mercime, unfortunately, that didn’t work, there is no specific layout with or without a sidebar.
@clickallco do you know which file I’d need to put that into? And if I reassign the directory through BuddyPress settings to a different page, the sidebar does appear on the ‘datenschutz’ page, which is why I thought it wasn’t connected to the theme but I could totally be wrong.Thanks for your help!
You could override the template and insert your theme’s sidebar. Depending on which Buddypress template you’re using, you’ll find it in
plugins > buddypress > bp-templates > the theme you're using > buddypress > members > index.php
Once you’ve grabbed it and inserted the sidebar there should be plenty of tutorials on the net on how to upload it to your own server, e.g. https://wproot.dev/blog/override-buddypress-template-files/
- You must be logged in to reply to this topic.