Many users ask how can they show the wordpress admin toolbar for all users, even the one’s not registered.
The easy fast fix for this is to first check your header.php file, make sure the below code exists right before the ending head tag:
<?php wp_head(); ?>
Second, also very important, check your footer.php and make sure the below line of code exists right before the ending body tag:
<?php wp_footer(); ?>
The 2 above steps are required to show the admin bar but to show it to all users on the frontend of your wordpress website, even guests or not registered users you have to add one last line of php code in your theme functions.php file. Insert the below line at the end of the file:
show_admin_bar( true );
This should fix your problem… Hope it helps!
Comments provided by Facebook Comments Master