• Hey there! my Admin bar is missing on https://www.chrisontour84.de and I also tried some trouble shooting. One common problem is that <?php wp_footer(); ?> is missing in footer.php. I checked my file and it is there:

    <?php
    /**
     * The template for displaying the footer.
     *
     * Contains the closing of the id=page div, id="main" div, id="main-top" div and id="main-bot" div
     *
     * @package WordPress
     * @subpackage Choco
     */
    ?>
    					</div><!-- #main-bot -->
    				</div><!-- #main-top -->
    			</div><!-- #main -->
    			<div id="footer">
    				<p>Copyright ? 2017 - Christopher Heil - <a href="mailto:[email protected]" >Contact Me</a> - <a href="https://www.chrisontour84.de/about/impressum-disclaimer/" >Impressum & Disclaimer</a></p>
    			</div><!-- #footer -->
    		</div><!-- #page -->
    		<?php wp_footer(); ?>
    	</body>
    </html>

    However, if I look at the source code of the live page, I cant see it anymore and am wondering if that might be the problem?

    Any help to get my Admin bar back would be appreciated ??

    Thanks!
    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi chrisontour84 ,

    Some of themes disables the admin bar on front-end, to show it again just put any of the following lines of code in your activated child theme’s functions.php.

    function admin_bar(){
    add_filter( ‘show_admin_bar’, ‘__return_true’ , 1000 );
    }
    add_action(‘init’, ‘admin_bar’ );

    —————***OR***——————

    function admin_bar(){
    show_admin_bar(true);
    }
    add_action(‘init’, ‘admin_bar’ );

    Hope it will resolve the issue.

    Thread Starter chrisontour84

    (@chrisontour84)

    ill check later, thx! would be surprised though as it always worked and i didnt change anything!

    Thread Starter chrisontour84

    (@chrisontour84)

    I have tried your fix, wont work sadly.

    Also, everything works when I test it in Chrome Incognito mode, so it must be a problem wiith my browser settings. Already deleted the cache and temp files, not sure what else to do for getting my Admin bar back?

    Cheers,
    Chris

    Thread Starter chrisontour84

    (@chrisontour84)

    So now I am a bit confused! I just did a complete fresh install after a Format and the problem is still there:

    1) I install chrome, log in to WordPress and everything is fine and the admin bar appears
    2) then i click on the stats section within the admin bar and am asked to log in again
    3) I log in and just get “Blocked” on a white screen
    4) I refresh my first tab with the weebsite and the admin bar is gone again..

    Can someone help me with this please? ??

    Thanks..
    Chris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Missing Admin Bar’ is closed to new replies.