BuddyBoss Home – Web Support Forums Solutions Social Portfolio Remove Add Work button from BuddyPannel

Viewing 10 posts - 1 through 10 (of 10 total)
  • Question

    #67554
    @heavenlygiftedpeople

    Hi, 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

    #67671

    Anonymous
    @

    Hi @heavenlygiftedpeople,

    You can remove it from your Menu option.

    Go to Appearance > Menu and remove the menu item ‘Add your Gift’ from there.

    Regards

    #67734
    @heavenlygiftedpeople

    Hi,

    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

    #67757

    Anonymous
    @

    Hi @heavenlygiftedpeople, Add this css to remove +Add Work button

    
    .menu-buddypanel-container {
    display: none;
    }
    

    Regards

    #67852
    @heavenlygiftedpeople

    I 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!!

    #68213

    Anonymous
    @

    Hi @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 Dubey

    #68321
    @heavenlygiftedpeople

    Varun,

    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!

    #68339

    Anonymous
    @

    Hi @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 Dubey

    #68446
    @heavenlygiftedpeople

    It’s working perfectly now!!!

    Thank you so much, this is exactly what I wanted.

    Thread closed.

    #68452

    Anonymous
    @

    🙂 I will close this thread. Feel free to create new for any further questions.

    Regards
    Varun Dubey

Viewing 10 posts - 1 through 10 (of 10 total)
  • The question ‘Remove Add Work button from BuddyPannel’ is closed to new replies.