• I am completely new to WP. I’ve been working on the design and tried to delete/disable the WP Admin bar at the top of the page by adding this code:

    1 /* Disable the Admin Bar. */
    2 add_filter( ‘show_admin_bar’, ‘__return_false’ );
    3
    4 <?php function yoast_hide_admin_bar_settings() {
    5 ?>
    6 <style type=”text/css”>
    7 .show-admin-bar {
    8 display: none;
    9 }
    10 </style>
    11 <?php
    12 }
    13
    14 function yoast_disable_admin_bar() {
    15 add_filter( ‘show_admin_bar’, ‘__return_false’ );
    16 add_action( ‘admin_print_scripts-profile.php’,
    17 ‘yoast_hide_admin_bar_settings’ );
    18 }
    19 add_action( ‘init’, ‘yoast_disable_admin_bar’ , 9 );

    I’m realizing now that this must have been a stupid thing to do, but I have no idea how to fix it! I can’t get into my dashboard at all to change the css!

    Can anybody walk me through this in baby steps?? Sort of freaking out….

Viewing 3 replies - 1 through 3 (of 3 total)
  • Access the site using FTP, download the relevant file and remove your changes.

    am new to wp, and and in the proecess of editing ang setting up myh website..need help my entire DASHBOARD MENUS disappear, after changing back to my original administrator setting..help me pls if anyone can tell me a step to restored my Dashboard Menus..pls!

    @blessanne7, Please start a new thread – this one is not related uniquely to your issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tried to remove WP Admin Bar– my entire dashboard disappeared’ is closed to new replies.