• Resolved whdmiran

    (@whdmiran)


    Hello
    I noticed that there are settings from plugin at the top admin bar in wordpress dashboard. When you click on it you get some options that are overlapping each other, if you click on them you get nothing. How can I remove this from top bar. Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @whdmiran,

    Thanks for pointing out this issue. We have noted this on our plugin development roadmap. Hopefully, the issue will be fixed soon. For now, please use the below code to remove the Settings option from the top admin bar. Use it in your current theme’s function.php file. Please take a look at the screenshot.

    /* Remove Testimonial Settings from top bar */
    add_action('admin_head', 'rt_remove_topbar_item');
    add_action('wp_head', 'rt_remove_topbar_item');
    function rt_remove_topbar_item() {
      echo '<style>
        li#wp-admin-bar-spt_settings {
        display: none !important;
    }   
      </style>';
    }

    Hope the above code will work. Thank you.

    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @whdmiran,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove settings from top admin bar’ is closed to new replies.