#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Admin bar for Autho...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Script Admin bar for Authors?

Page 1 / 2 Next
    Last Post
RSS

DeanoAus
Posts: 26
 DeanoAus
Topic starter
October 19, 2016 2:18 am
(@deanoaus)
Eminent Member
Joined: 6 years ago

Hey guys, fantastic plugin!

I've noticed your plugin disables the WP admin bar for all users except for admin.
If i enable the option "Show Admin Bar for Members" it shows the bar for every registered user, which is not what I want.

I want to be able to show the admin bar for Authors/Editors & Admins, but not subscribers.

Can this be done?

Thanks!

Topic Tags
admin bar
6 Replies
Robert
Posts: 9089
Robert - Twitter
 Robert
Admin
October 19, 2016 8:12 am
(@robert)
Support Team
Joined: 6 years ago

There is no such option, we'll enable this for editors and authors in near future releases.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
DeanoAus
Posts: 26
 DeanoAus
Topic starter
October 19, 2016 8:14 am
(@deanoaus)
Eminent Member
Joined: 6 years ago

OK great, thanks.

Any word on when the photo addon will be released?

Reply
Robert
Posts: 9089
Robert - Twitter
 Robert
Admin
June 10, 2018 9:12 am
(@robert)
Support Team
Joined: 6 years ago

You can use this code in current active WordPress theme functions.php file

function my_admin_bar_control_function() {
if (current_user_can('administrator') || current_user_can('editor') || current_user_can('author') ) {
show_admin_bar(true);
} else {
show_admin_bar(false);
}
}
add_action('init', 'my_admin_bar_control_function', 20);

How to Easily Add Custom Code in WordPress (without Breaking Your Site)

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
ffhwill
Posts: 5
 ffhwill
June 24, 2018 6:35 am
(@ffhwill)
Active Member
Joined: 4 years ago
Posted by: Robert

There is no such option, we'll enable this for editors and authors in near future releases.

Hi there, this feature is crucial to my site. Any chance this could be updated soon?  

Reply
Page 1 / 2 Next
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Login and register button do not work
    5 months ago
  • Hide wpForo Title Admin Bar
    5 months ago
  • WordPress Admin Bar
    9 months ago
  • wpforo-admin-note Help
    1 year ago
  • Space for admin bar still showing
    2 years ago
Topic Tags:  admin bar (9),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Font Awesome Icons

    By seancallahan, 11 hours ago

  • Notification bell order

    By teepeenomad, 2 days ago

  • Not İndexing

    By selinahub, 2 days ago

  • H1 to H6 title tags : remove

    By venus, 3 days ago

  • Can't access forum dashboard 504 gateway time-out

    By Joselito, 3 days ago

  • Sharing with Facebook and Twitter is kind of broken

    By seancallahan, 3 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • editor33
  • menu33
  • shortcode32
  • spam31
  • forum accesses30
  • widget29
View all tags (2188)

Recent Posts

  • Font Awesome Icons

    To start, I do not have any caching setup on the site o...

    By seancallahan, 11 hours ago

  • RE: Is there a way to add safety features?

    @chris Is there a way for me to install 2.0 on my site ...

    By seancallahan, 14 hours ago

  • RE:

    By Anonymous, 53 years ago

  • RE: Notification bell order

    @tutrix Brilliant, thank you for this! Although, it ...

    By teepeenomad, 18 hours ago

  • RE: wpForo 2.0.0.1 beta version is released for beta testers!

    Added, thank you.

    By Robert, 2 days ago

  • RE: Post title length error.

    Hi @hasanaytac, Please provide your forum URL.

    By Chris, 2 days ago

  • RE: Health.gd Health website

    Nice forum, still you have an issue / crash: Uncaught...

    By dimalifragis, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,925 Topics
50.2 K Posts
8 Online
47.6 K Members

Latest Post: Font Awesome Icons Our newest member: OKE365 Judi Bola PARLAY Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation