-
Author
-
October 30, 2015 at 05:17 #85021monkeytoldmeParticipant
Hello,
I was wondering if there was any way to have a custom sidebar to just display on my buddypress user profiles. I would really appreciate any help on doing this, as this is the last thing I need to do before the website is completed.
Thanks for your time.
October 30, 2015 at 13:25 #85051sharmstrModeratorYou have to use a conditional widget plugin like this: https://wordpress.org/plugins/dynamic-widgets/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 30, 2015 at 15:54 #85077monkeytoldmeParticipantI don’t think that will work. I have already created the sidebar I need for the user profiles (Appearance -> Sidebars) but my problem is, there is no ‘page’ for user profiles so I can’t tell it to use my ‘new’ sidebar.
The user profiles is just using the default sidebars and there is no where I can tell it to use my custom one.
October 30, 2015 at 16:33 #85080sharmstrModeratorI know. You need to add those widgets to the main sidebar and control which pages they are visible on using a plugin.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
October 30, 2015 at 17:29 #85087monkeytoldmeParticipantI have tried 6 conditional widget plugins, none of them have the option to display on buddy-press profiles. Is there anyway I could edit the buddy-press profile template to show the ‘custom’ sidebar I made?
It seems that this issue only happens with the Kleo theme, I have tried other themes without a problem.
I hope this gets resolved, thanks.
October 30, 2015 at 18:24 #85089sharmstrModeratorIf you dont want to use the plugin I suggested, which seems to work fine on my site. Then you can use Widget Logic and add this to the widgets that you only want displayed on the profile
COPY CODEbp_is_user()
and this on the ones you dont
COPY CODE!bp_is_user()
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.October 30, 2015 at 18:34 #85099monkeytoldmeParticipantThank-you so much, this works perfectly. The dynamic widget plugin did not have the option for buddypress profile, it was really weird.
Widget logic worked 100%.
Thanks again.
October 30, 2015 at 18:43 #85101sharmstrModeratorNo problem.
But Dynamic does. See attached.
Honestly, I used both. Widget Logic is simpler to use if you know the php commands to feed it. So stick with that.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files. -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.