How to Hide All in one SEO Pro in Add New Page for Author/Contributor | Troubleshooting All in One SEO Pack Pro | Support | Semper Plugins

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
How to Hide All in one SEO Pro in Add New Page for Author/Contributor
October 24, 2012
10:05 pm
Avatar
Sumit Bhatia
India
Member
AIOSEOP
Forum Posts: 44
Member Since:
April 30, 2012
sp_UserOfflineSmall Offline

I want to hide All in One Seo Pro in wp-admin/post-new.php page for author/contributor

Active Plugins :
Ad Manager 0.9.4
Adminimize 1.8.0
Akismet 2.5.6
All in One SEO Pack Pro 2.0.4
Announce from the Dashboard 1.0.0
Contact Form 7 3.3.1
Envolve Chat 2.3
Facebook Like Box 2.4
Google XML Sitemaps 3.2.8
Limit a Post Title to X Characters 1.3.1
Official StatCounter Plugin 1.6.3
Post Layout 2.1.4
SEO SearchTerms Tagging 2 1.535
Sidebar Login 2.4
Simple Login Log 0.9.3
Simple Tags 2.2
Social Connect 0.9
Use Google Libraries 1.5
User Avatar 1.4.11
User Locker 1.2
User Role Editor 3.8.1
WP-Ban 1.60
WP-Mail-SMTP 0.9.1

October 25, 2012
10:02 am
Avatar
Peter Baylies
Admin
Forum Posts: 578
Member Since:
October 16, 2011
sp_UserOfflineSmall Offline

** You currently do not have permission to see this post. To obtain access to these Premium Support Forums, please purchase a plugin and support subscription from Semper Plugins **

October 25, 2012
9:01 pm
Avatar
Sumit Bhatia
India
Member
AIOSEOP
Forum Posts: 44
Member Since:
April 30, 2012
sp_UserOfflineSmall Offline

Thanks….Resolved…

Peter Baylies said

We are planning to add better support for this in the future, but currently you can do it like this; add this code to the functions.php in your theme or to a plugin:

add_filter( ‘aioseop_add_post_metabox’, ‘sfwd_aioseop_hide_metaboxes’, 11 );

function sfwd_aioseop_hide_metaboxes( $metaboxes ) {
if ( current_user_can( ‘author’ ) || current_user_can( ‘contributor’ ) ) return Array();
return $metaboxes;
}

Forum Timezone: America/New_York

Most Users Ever Online: 964

Currently Online:
31 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 35

Members: 20440

Moderators: 1

Admins: 8

Forum Stats:

Groups: 4

Forums: 28

Topics: 1941

Posts: 8338

Newest Members:

André Lopes

Moderators: Dawa Liu

Administrators: Michael TorbertPeter BayliesSupport TeamSteve MortiboyMatthew RobinsonSteve KlasenArnaud BroesAshish Ravi

[i]
[i]
Skip to toolbar