wordpress admin bar not showing on the frontend
-
i have 3 webistes created with laytheme and im wondering why the adminbar is not showing on all sites. only when im in the backend i can see it. is it the hoster or laytheme?
-
hey man!
if i make the admin bar show up, hundreds of people will be annoyed because its always been hidden.
if it really annoys you you can open the file setup.php in "wp-content/themes/lay/setup"
and delete the line 71:
add_filter( 'show_admin_bar', '__return_false' );then in your /wp-admin/ users: make sure your user has "Toolbar" enabled
everytime you update lay theme you need do this again :|
-
yes u're right! i will add an "edit" button!!
i just hid the adminbar cause it makes the website look worse
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it