• Resolved Kai J.

    (@kjoussen)


    Hello.

    When a non-admin user goes to his profile page, there is a small column on the left edge of the screen, i guess this is the toolbar.

    I want to hide this whole column at all for all non-admin users.
    The users profile setting “Show Toolbar….” only closes the Toolbar, but it is still accessable. I want to have it invisible.

    Again, i’m not talking about the line on top of the screen which is hidable quite easy, the whole left coloumn should be away from the screen.

    As far as i’ve seen there is no plugin available for this.

    Thanks in advance

    PS: I also asked this question in the general support forum but haven’t any response so far. Maybe here?

Viewing 8 replies - 1 through 8 (of 8 total)
  • anitayadavdeveloper

    (@anitayadavdeveloper)

    Can you please give a screenshot

    Thread Starter Kai J.

    (@kjoussen)

    Here you go…..

    I mean the whole black column….

    I’ve tried dozens of plugins, snipplets, CSS-hacks….nothing worked….

    Thread Starter Kai J.

    (@kjoussen)

    Here you go….

    I mean the whole black column on the left.

    I’ve tried dozens of plugins, sniplets, css-hacks…..nothing worked.

    The top most line is not the problem, even not the “W”-Logo top-left…

    Thread Starter Kai J.

    (@kjoussen)

    As inserting the link to the upload-area did not work well….

    http://www.bilder-upload.eu/show.php?file=bbaf29-1428659241.jpg

    anitayadavdeveloper

    (@anitayadavdeveloper)

    The image you provided is not opening.. by left dark do you meen left sidebar? if so you can add a condition like below in your sidebar.php:
    ‘<?php if ( current_user_can( ‘manage_options’ ) ) {

    ?>

    <div id=”secondary”>
    <?php
    $description = get_bloginfo( ‘description’, ‘display’ );
    if ( ! empty ( $description ) ) :
    ?>
    <h2 class=”site-description”><?php echo esc_html( $description ); ?></h2>
    <?php endif; ?>

    <?php if ( has_nav_menu( ‘secondary’ ) ) : ?>
    <nav role=”navigation” class=”navigation site-navigation secondary-navigation”>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘secondary’ ) ); ?>
    </nav>
    <?php endif; ?>

    <?php if ( is_active_sidebar( ‘sidebar-1’ ) ) : ?>
    <div id=”primary-sidebar” class=”primary-sidebar widget-area” role=”complementary”>
    <?php dynamic_sidebar( ‘sidebar-1’ ); ?>
    </div><!– #primary-sidebar –>
    <?php endif; ?>
    </div>
    <?php

    else {
    /*non admin content*/
    };?>’

    if your problem is not this please share a screenshot

    Thread Starter Kai J.

    (@kjoussen)

    Sorry, did not work.

    Try this link for the screenshot, funny enough, from here (Germany) i can oben my link….

    http://www.directupload.net/file/d/3954/h8ptq279_jpg.htm

    Thread Starter Kai J.

    (@kjoussen)

    Sorry, it does not work.

    Funny enough, from here (Germany) i can open the screenshot.

    Try this one: “http://www.directupload.net/file/d/3954/h8ptq279_jpg.htm&#8221;

    And if you see this post twice…..after 10 mins my answer was not visible, allthough on my profile stands: you replied 10 mins ago.
    Therefore it did it again.

    Thread Starter Kai J.

    (@kjoussen)

    I close this thread now.

    I’ve learned that this behaviour comes from the wp core (out of wp-admin) not from the theme.

    Beside the fact that there is still a black bar on the left (at least empty now) i could arrange all of my requests with the plugin adminimize.

    Cheers

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to hide Toolbar’ is closed to new replies.