WordPress.org

Ready to get started?Download WordPress

Forums

Toolbar Not Showing on the Site? (6 posts)

  1. truekopites
    Member
    Posted 2 years ago #

    Hello!
    The upper Admin bar/toolbar isn't showing while visiting/viewing my site after log-in as admin. It is showing on the admin panel but when I click on Visit Site from dashboard or manually visit my site it disappears on the site even though I'm still logged in as admin and have already checked this option from my profile "Show Toolbar when viewing site".

    Thanks in Advance.

  2. nofearinc
    Member
    Posted 2 years ago #

    Have you tried the show_admin_bar(true) in your functions.php ?

  3. truekopites
    Member
    Posted 2 years ago #

    Yes I tried this function, the toolbar is now visible on the site too..
    but problems:

    1- No options visible on that bar.
    2- It's visible to every-one, all the visitors of site can see it.

  4. nofearinc
    Member
    Posted 2 years ago #

    Should you need an access only for admins, you better use the filter checking for the appropriate access, such as:

    if (! current_user_can('manage_options')) {
    	add_filter('show_admin_bar', '__return_false');
    }
  5. mobileaudioheadquarters
    Member
    Posted 2 years ago #

    any plugins installed? i just installed a plugin that does just that. removes the toolbar from the front end.

  6. roblaw
    Member
    Posted 1 year ago #

    This issue often creeps up when moving WP directories. This is usually a cookie issue. Clear out the cookies for the site you are working on. This will log you out. Log in and you should once again see your address bar.

    You might also want to check Users > Edit to be sure that "Show Toolbar when viewing site" is checked.

Topic Closed

This topic has been closed to new replies.

About this Topic