Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8277551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:43:05+00:00 2026-06-08T08:43:05+00:00

I am using Members plugin to manage User Groups (restrict pages/posts for specific user

  • 0

I am using Members plugin to manage User Groups (restrict pages/posts for specific user group) now to show the links to that user group in back-end I need a plugin for creating Custom Menu where the allowed pages/posts links will be shown (back-end) for the specific user group.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:43:07+00:00Added an answer on June 8, 2026 at 8:43 am

    Well what I do is to add this script in my theme’s function.php

    // Admin bar menu w.r.t role
    function wp_admin_bar_new_item() {
        global $wp_admin_bar;
    
        if (current_user_can('contractor')){
    
            $wp_admin_bar->add_menu(array(
                'id' => 'wp-admin-bar-new-item',
                'title' => __('Contractor Menu'),
                'href' => 'http://my_site/contractor/'
            ));
    
        } elseif (current_user_can('consultant')) {
    
            $wp_admin_bar->add_menu(array(
                'id' => 'wp-admin-bar-new-item',
                'title' => __('Consultant Menu'),
                'href' => 'http://my_site/consultant/'
            ));
        }
    }
    add_action('wp_before_admin_bar_render', 'wp_admin_bar_new_item');
    

    and fix my issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It seems to be the prevailing opinion that using protected data members is a
I am trying to get all group members from Domain Users. When using AD
I share a project with other team-members over SVN. Now I am using the
I am using a autocomplete http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ And below i have two pages index.php and
I've been using Computed field CCK plugin to calculate the members's age. The code
Using reflection, I'm able to filter members based on whether they are inherited, declared,
I am using an std::set to hold members of type Board , and I
Dear members of the Stackoverflow community, We are developing a web application using the
I have more than 3000 members on a site built using wordpress. I am
I am using Lightbox2 https://github.com/lokesh/lightbox2/blob/master/js/lightbox.js And I don't understand why all the inner members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.