-
Author
-
January 7, 2016 at 22:23 #97104
directnet42u
ParticipantHi there,
We were wondering if it was possible to customizeĀ the layout of the activity page, in terms of having a custom sidebar that does not appear on the general pages. We noticed that in the Theme Options that there is a 2-sidebar layout with an extra sidebar, however we only want this page to have one custom sidebar.
We hope someone is able to help us out!
January 8, 2016 at 01:18 #97128Laura
ModeratorHello, that requires php changes, attached solution, please go to your hosting file manager or FTP and at wp-content/themes/kleo-child create a new folder called buddypress and upload the attached file inside, finally rename it and change .txt to .php
This will show the right sidebar, if you want to change to left, edit the file and atCOPY CODE<?php //create right sidebar template kleo_switch_layout('right'); ?>Change “right” to “left”
Let me know if it helps šHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 8, 2016 at 21:26 #97392directnet42u
ParticipantThank you,
We are trying it now, but I’m not sure if it will do what we are in need of.
Basically we want the sidebar to be different than the main sidebar that’s on the other pages. That is, we want the sidebar content (such as widgets) to be specific to this activity page only.January 9, 2016 at 15:02 #97469Laura
ModeratorHello, maybe the plugin https://es.wordpress.org/plugins/widget-visibility/ can help, basically it allows you to hide specific widgets for specific pages, so you can have some widgets at the same sidebar but only visible at activity page.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.