BuddyBoss Home – Web › Support Forums › Solutions › Social Portfolio › Remove Add Work button from BuddyPannel
Tagged: add work button, buddypannel
- This topic has 9 replies, 3 contibutors, and was last updated 8 years, 7 months ago by Anonymous.
Question
April 9, 2016 at 4:53 pm #67554@heavenlygiftedpeopleHi, I have chosen the option to “hide” panel links when I view the site in mobile mode. The problem is, the +Add Work button is still showing up on the BuddyPannel. How do I remove this button on the BuddyPannel since I already have a button named “Add Your Gift” which does the same thing? Please see attached image.
Answers
April 11, 2016 at 2:05 am #67671@
AnonymousYou can remove it from your Menu option.
Go to
Appearance > Menu
and remove the menu item ‘Add your Gift’ from there.Regards
April 11, 2016 at 2:34 pm #67734@heavenlygiftedpeopleHi,
That won’t work. What I’m trying to do is remove the “Add Gift” button that gets placed on the buddypannel when viewing the site in mobile. I want to keep the “Add Your Gift” button there but just not have the “Add Gift” button show up when I view the website in mobile.
Do you have a code that would hid the “Add Gift” button from the buddypannel when I view it in mobile?
Thanks
April 11, 2016 at 11:47 pm #67757@
AnonymousHi @heavenlygiftedpeople, Add this css to remove +Add Work button
.menu-buddypanel-container { display: none; }
Regards
April 12, 2016 at 3:41 pm #67852@heavenlygiftedpeopleI put this in my css and it still shows the “Add Work” button and dropdown on the menu on mobile. Did I enter the code wrong? I want the “Add Work” button and dropdown to be gone and just have Add Your Gift at the top.
Thanks!!
April 14, 2016 at 3:19 am #68213@
AnonymousHi @heavenlygiftedpeople
Seems It is working fine.
http://screencast-o-matic.com/screenshots/u/f0ik/1460625471332-35838.png
Only have Add Gift option without any extra drop down.
Let me know if you still have issues with it.
Regards
Varun DubeyApril 14, 2016 at 9:54 pm #68321@heavenlygiftedpeopleVarun,
The screenshot you uploaded still shows the “Add Work” button with a dropdown. I want to completely remove the “Add Work” and it’s dropdown from this menu.
How do I completely remove “Add Work” and start the dropdown with Wall/Post?
Thanks guys!
April 14, 2016 at 10:59 pm #68339@
AnonymousHi @heavenlygiftedpeople
It should be fine now, i have applied edits inside your child theme.<?php if ( is_portfolio_plugin() && is_user_logged_in() ): ?> <div class="menu-buddypanel-container"> <ul> <li> <a href="#" class="fa-plus"></i><?php _e( 'Add Work', 'social-portfolio' ); ?></a> <div class="sub-menu-wrap"> <ul class="sub-menu"> <?php $add_project_link = wp_nonce_url( bpcp_portfolio_component_root() . '?bpcp_action=add_project', 'bpcp_add_project' ); ?> <li><a href="<?php echo $add_project_link; ?>"><?php _e( 'A Project', 'bp-portfolio' ); ?></a></li> <?php if ( is_portfolio_pro_plugin() ): ?> <?php $add_wip_link = wp_nonce_url( bpcp_pro_wip_root() . '?bpcp_action=add_wip', 'bpcp_add_wip', 'wip_nonce' ); ?> <li><a href="<?php echo $add_wip_link; ?>"><?php _e( 'A WIP', 'social-portfolio' ); ?></a></li> <li><a class="bpcp-modal" href="#add_collection"><?php _e( 'A Collection', 'social-portfolio' ); ?></a></li> <?php if ( 'bb_project' != get_post_type() ) { include_once( bp_portfolio_pro()->templates_dir . '/collections/add_collections.php' ); } ?> <?php endif; ?> </ul> </div> </li> </ul> </div> <?php endif; ?>
I have removed above codes from header.php inside child theme, to hide them.
Regards
Varun DubeyApril 15, 2016 at 11:22 am #68446@heavenlygiftedpeopleIt’s working perfectly now!!!
Thank you so much, this is exactly what I wanted.
Thread closed.
April 15, 2016 at 11:39 am #68452@
Anonymous🙂 I will close this thread. Feel free to create new for any further questions.
Regards
Varun Dubey
- The question ‘Remove Add Work button from BuddyPannel’ is closed to new replies.