• How we can hide the “Buy me a Coffee” panel that appears at the top right corner. I am using the following code, but is looks working:

    .cfe_box, .screen-meta-toggle, .cfe_top_link, .ufw{
    display: none !important;
    }

    Is there any way we can get rid of all such donation messages. We can pay for the plug-in subscription.

    Need a solution for this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @mcharudatta,

    Shortcoder is a free plugin. Yes, inside the admin page there are couple of links to get donation.

    You can paste the code below in function.php file or in a plugin like code-snippets.

    add_action('admin_head', 'sc_hide_donation');
    add_action('sc_do_insert_popup_footer', 'sc_hide_donation');
    
    function sc_hide_donation(){
        echo '<style>.cfe_box, .screen-meta-toggle, .promo_link{ display: none !important; }';
    }

    Thanks,
    Aakash

    Thread Starter mcharudatta

    (@mcharudatta)

    Thank Akash for the reply. I did as you mentioned, but it removes all three buttons. I just want to remove that Buy coffee button. The Import/Export and Screen Options are good to have it for an administrator. I updated the code by removing the “.screen-meta-toggle” attribute from the code, but all three comes back. Any solution to disable any one of each whenever required.

    Plugin Author vaakash

    (@vaakash)

    Hi,

    Sorry, I got it wrong. I blindly took the code you gave me earlier.

    Below is the correct CSS. Please put it between <style> tag in the code I shared previously.

    .cfe_box, .cfe_top_link, .promo_link{ display: none !important; }

    Thanks,
    Aakash

    Thread Starter mcharudatta

    (@mcharudatta)

    Thanks Akash for the quick help. It worked. Only the Buy Coffee button is now hidden.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hiding “Buy me a Coffee” panel from top side’ is closed to new replies.