Custom Front End Admin Bar for WordPress

1
2
<?php if (current_user_can('level_10')){ ?>
<link href="/wp-includes/css/dashicons.min.css" rel="stylesheet">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
First check S"how Toolbar when viewing site" for each user in the admin section, add this to the footer above the </body>. Once installed mouse your mouse to at least 15 pixels from the top of the page, the admin bar will slide down and give you links to edit the following: current page, create a new page, go to the Dashboard, and go to Gutenberg's reusable blocks. More buttons can be added if needed.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.