Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243102

    Hi, I have the latest version of wordpress and enfold.

    When I enter in the system with admin user the admin bar appears.
    But is not an admin user, the admin bar not appears.

    Can you help me?

    http://artistandbeer.com –> mi cuenta
    http://artistandbeer.com/wp-admin

    Thanks so much!!!

    Xavier.

    #243257

    Hey xpoveda!

    This is unreleated to the theme and is an individual setting for each user if they want the admin bar to show. You can set it in your Users>Your Profile section.

    If you want the admin bar to appear for *all* users see: https://codex.wordpress.org/Function_Reference/show_admin_bar

    If you have questions or issues relating to that function they would need to be asked on the official WordPress.org forums.

    Cheers!
    Devin

    #243304

    Hi Devin,

    With the previous versions of wordpress the admin bar appears when de user is logged in allways.
    The parametrization, by defect, is “view admin bar”.

    With new version don’t appears, I don’t know if is a problem (or new funcionality) of wordpress or enfold, but with this code is solved adding in “functions-enfold.php”.

    if (is_user_logged_in())
    {
    add_filter(‘show_admin_bar’, ‘__return_true’);
    }
    else
    {
    add_filter(‘show_admin_bar’, ‘__return_false’);
    }

    Thanks so much!!!

    Xavier.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘user not admin and admin bar not appears’ is closed to new replies.