ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

WP Job Manager – Custom Management Role

აღწერა

Typically, only the user who posted a job can manage the applications. This plugin allows any user with the ‘edit_others_job_applications’ capability to manage applications.

Documentation

Documentation for the core plugin and add-ons can be found on the docs site here.

დაყენება

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type “WP Job Manager – Customized Management Role” and click Search Plugins. Once you’ve found the plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by clicking Install Now.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application.

  • Download the plugin file to your computer and unzip it
  • Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
  • Activate the plugin from the Plugins menu within the WordPress admin.

Getting started

Once installed, grant your user(s) the edit_others_job_applications capability.

  1. Using the Members plugin, you can create a new role and click a checkbox to grant the capability.
  2. Or if you prefer to do it manually, add this code to your functions.php file:
    $user = new WP_User( $user_id );
    $user->add_cap( 'can_edit_posts' );

If you want to restrict your jobmanager user(s) from accessing other areas of the WordPress control panel, add this code to your functions.php file (it expects a role named “jobmanager”):
`
// tweak dashboard for job manager role
function remove_admin_menus() {
remove_menu_page( ‘index.php’ ); // Dashboard
remove_menu_page( ‘edit.php’ ); // Posts
remove_menu_page( ‘edit-comments.php’ ); // Comments
remove_menu_page( ‘tools.php’ ); // Tools
}
if ( appthemes_check_user_role( ‘jobmanager’ ) ) { add_action( ‘admin_menu’, ‘remove_admin_menus’ ); }

// hide jetpack admin menu item from non-admins
function remove_jetpack() {
    if( class_exists( 'Jetpack' ) && !current_user_can( 'manage_options' ) ) {
        remove_menu_page( 'jetpack' );
    }
}
add_action( 'admin_init', 'remove_jetpack' );

// get logged-in user's role
function appthemes_check_user_role( $role, $user_id = null ) {

    if ( is_numeric( $user_id ) )
    $user = get_userdata( $user_id );
    else
        $user = wp_get_current_user();

    if ( empty( $user ) )
    return false;

    return in_array( $role, (array) $user->roles );
}
`

მიმოხილვები

There are no reviews for this plugin.

მონაწილეები & დეველოპერები

“WP Job Manager – Custom Management Role” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ WP Job Manager – Custom Management Role თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.0.1

  • Update documentation

1.0

  • Basic plugin