• 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 */
    ?>
Viewing 1 replies (of 1 total)
  • Hi John,

    You can still go to the admin section of your website to disable the plugin. Go to https://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.

Viewing 1 replies (of 1 total)
  • The topic ‘how to disable a custom plugin that removes the admin bar’ is closed to new replies.