WPLMS Integration with WP Job Manager + Buddypress Job Manager

WP Job Manager : Free Plugin : Adds a Job manager in WP site :  https://wordpress.org/plugins/wp-job-manager/

BuddyPress Job Manager : Free Plugin & Paid : Integrates above plugin in BuddyPress : https://wordpress.org/plugins/buddypress-job-manager/

Add below code in your child theme or in WPLMS Customizer – wplms_customizer.php file :

 

add_action('bp_init','load_bp_jobs_filters');
function load_bp_jobs_filters(){
    global $bp;
    if($bp->current_component != 'job-manager')
        return;
     
    switch($bp->current_action){
        case 'job-dashboard':
            add_action('bp_template_content','load_job_dashboard_template');
        break;
        case 'jobs':
            add_action('bp_template_content','load_jobs_template');
        break;
        case 'my-bookmarks':
            add_action('bp_template_content','load_jobs_bookmarks_template');
        break;
        case 'job-alerts':
            add_action('bp_template_content','load_jobs_alerts_template');
        break;
        case 'post-a-job':
            add_action('bp_template_content','load_submit_job_form_template');
        break;
        case 'candidate-dashboard':
            add_action('bp_template_content','load_jobs_candidate_dashboard_template');
        break;
        case 'resumes':
            add_action('bp_template_content','load_jobs_resumes_template');
        break;
        case 'post-a-resume':
            add_action('bp_template_content','load_submit_resume_form_template');
        break;
    }
}

Result :

 

Was this article helpful?

Related Articles