Tagged: x
-
AuthorPosts
-
May 16, 2016 at 8:59 pm #994766
karaokeloveParticipantWordpress Version: 4.5.2
Themeco Version: 4.4.2
Cornerstone Version: 1.2.4I followed some instructions on how to remove the WordPress toolbar for everyone except Admin, and it was working fine. Now it’s stopped working for some reason.
This is the code I posted into the functions.php file of my X Child theme.
add_action(‘after_setup_theme’, ‘remove_admin_bar’);
function remove_admin_bar() {
if (!current_user_can(‘administrator’) && !is_admin()) {
show_admin_bar(false);
}
}May 16, 2016 at 9:01 pm #994770
karaokeloveParticipantAnd I guess while I’m seeing help for the tool bar, I’m wondering how to set up my topbar like http://www.testyourmight.com (very top right).
Screenshot 1: https://www.dropbox.com/s/x1hltg0ujjl3ahz/Screenshot%202016-05-16%2020.59.53.png?dl=0
Screenshot 2: https://www.dropbox.com/s/jsd0v7ejp0bl887/Screenshot%202016-05-16%2021.00.50.png?dl=0
When you get an alert or an IM, you get a small red notification next to the respective icons, with the number of alerts/IMs you have.
May 17, 2016 at 12:25 am #994954
Nabeel AModeratorHi there,
Thanks for writing in! You can use a third party plugin to hide the admin bar for users except the admins. Please refer to this link https://wordpress.org/plugins/hide-admin-bar-from-non-admins/
Regarding the Topbar IM alerts, this could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.
Thanks for understanding. Take care!
May 17, 2016 at 9:55 am #995537
karaokeloveParticipantThanks for the info!
May 17, 2016 at 10:18 am #995600
John EzraMemberYou’re most welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-994766 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
