Support » Plugin: BuddyPress Activity Plus » Hide buttons until user clicks in the text box

Viewing 1 replies (of 1 total)
  • Hi @nickmackz,

    Greetings and thanks for posting on the forums.

    You can achieve this by adding following CSS code in the style.css file and the PHP code in functions.php file of your child theme.

    Add it in the style.css file:

    .bpfb_actions_container {
    	display: none;
    }

    Add it in the functions.php file:

    function add_custom_bpfb_script(){ ?>
    		<script type="text/javascript">
    			jQuery('document').ready(function(){
    				jQuery('#whats-new').focus(function() {
    					jQuery('.bpfb_actions_container').fadeIn();
    				});
    			});
    		</script>
    <?php }
    add_action('wp_footer', 'add_custom_bpfb_script');

    Best Regards,
    WPMU DEV

Viewing 1 replies (of 1 total)
  • The topic ‘Hide buttons until user clicks in the text box’ is closed to new replies.