WordPress.org

Ready to get started?Download WordPress

Forums

how to disable a custom plugin that removes the admin bar (2 posts)

  1. johnrocn
    Member
    Posted 11 months ago #

    Newbie problem: I put up a site and didn't want anyone to see the admin bar. I read about how to make a custom plugin to do that, and thought I would give it a try. It is now a "be careful what you wish for" problem. Nobody can get the admin bar, INCLUDING ME. I need to make some changes to the site, but can't until I can either disable the plugin, or get at the admin bar some other way. Here's the plugin:

    <?php
    /*
    Plugin Name: Site Plugin for seed
    Description: Site specific code changes seed
    */
    /* Start Adding Functions Below this Line */
    
    show_admin_bar(false); 
    
    /* Stop Adding Functions Below this Line */
    ?>
  2. Anshu Verma
    Member
    Posted 11 months ago #

    Hi John,

    You can still go to the admin section of your website to disable the plugin. Go to http://www.your-website-link.com/wp-admin

    Incase, you cannot login into your admin section, Open an FTP program such as Filezilla and connect to your host server. Open /wp-content/plugins folder. Delete or rename the plugin folder and the plugin will be disabled.

Reply

You must log in to post.

About this Topic