BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Sidebar
- This topic has 13 replies, 5 contibutors, and was last updated 8 years, 8 months ago by Alyssa.
Question
March 10, 2016 at 2:39 pm #62427@pgsimasJust purchased Social Blogger and I’m trying it.
I would like the option to keep the homepage sidebar open. Can you tell me how to do this.
Thanks!
GregAnswers
March 13, 2016 at 8:28 am #62779@pgsimasAny response! ^^^
March 13, 2016 at 8:47 am #62782@kdressI have asked this same question before and I’m still waiting for the response. Following this
March 15, 2016 at 4:30 pm #63166@kdressSupport on this please
March 16, 2016 at 5:05 am #63260@alyssa-buddyboss
AlyssaParticipantHi Greg, Kelly,
We apologize for the delayed response, we are aware of the poor support performance over the last few weeks and are working hard on getting this back to normal. Meanwhile, I’m here to help, while we work on solving this.
Currently we do not have setting option to put sidebar open. We appreciate the suggestion. We will add this to our suggestions list, for a possible future implementation.
For the time being you can add following code in
Dashboard -> BuddyBoss -> OneSocial Theme -> Custom Codes -> JavaScript
jQuery( document ).ready( function(){ jQuery('body.home-page').addClass('bb-sidebar-on'); jQuery('body.home-page').find('#secondary').show(); });
Hope this helps you.
Thanks again for your patience.
March 16, 2016 at 5:50 am #63270@pgsimasThanks Sagar,
I inserted the Code and it doesn’t appear to be making any difference. Any other solutions?
Greg
March 16, 2016 at 6:51 am #63291@alyssa-buddyboss
AlyssaParticipantHello Greg,
Could you please share your site link?
March 16, 2016 at 7:10 am #63299@pgsimasMarch 16, 2016 at 7:40 am #63314@alyssa-buddyboss
AlyssaParticipant@pgsimas Thanks
Try with following codes:
jQuery( document ).ready( function(){ jQuery('body.home.blog').addClass('bb-sidebar-on'); jQuery('body.home.blog').find('#secondary').show(); });
March 16, 2016 at 7:49 am #63319@pgsimasSagar. It appears to have worked you can check it out.
Also, I would like to get the comment count in the post meta on the home page to the left of the post reading side. How can I go about getting this done?
Thanks again
March 18, 2016 at 1:54 pm #63898@
AnonymousHi @pgsimas
You can add following codes after line 84
/onesocial/template-parts/content.phpcopy content.php at same path inside child theme and edit inside child theme to preserve your edits
<span class="comments-link fa fa-comment-o"> <?php comments_popup_link( '<span class="leave-reply">' . __( '0 comments', 'onesocial' ) . '</span>', __( '1 comment', 'onesocial' ), __( '% comments', 'onesocial' ) ); ?> </span><!-- .comments-link -->
Regards
Varun DubeyMarch 18, 2016 at 6:21 pm #63938@kdressHi @pgsimas
I also needed the fix for the side bar to remain open on the blog but I tried both codes above along with clearing the cache to make sure it wasn’t error for that and they aren’t working for my site.
Can you provide the code I need please. Thanks
skirr.co
March 18, 2016 at 11:26 pm #63969@anveMarch 22, 2016 at 11:44 pm #64710@alyssa-buddyboss
AlyssaParticipantWe have added option to keep the homepage sidebar open in current release, and it is available to download.
Please refer following screenshot for more details. http://goo.gl/YKrGdB
Thanks
- The question ‘Sidebar’ is closed to new replies.