• Resolved Pamela

    (@infoknutsford-softwarecouk)


    How do I change the order of the information on the Single Job Post page

    I need it to be job information then company then job description

    I have tried this in functions.php

    
    add_action( 'job_bm_after_single_job', 'customise_job_page');
    	function customise_job_page() {			
    		remove_action('job_bm_single_job_main', 'job_bm_single_job_main_job_info');
    		
    		remove_action('job_bm_single_job_main', 'job_bm_template_single_job_description');
    		add_action('job_bm_single_job_main', 'job_bm_template_single_job_description', 20);	
    		add_action('job_bm_single_job_main', 'job_bm_single_job_main_job_info', 30 );
    	}

    It is going into

    customise_job_page but it isn’t making any difference. The delete and add actions aren’t working

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Pamela

    (@infoknutsford-softwarecouk)

    Sorry I meant

    add_action( 'job_bm_before_single_job', 'customise_job_page');
    	function customise_job_page() {	
    		
    		if  (has_action('job_bm_single_job_main')) {
    			
    			remove_action('job_bm_single_job_main', 'job_bm_single_job_main_job_info', 20 );
    
    			remove_action('job_bm_single_job_main', 'job_bm_template_single_job_description', 30);
    			add_action('job_bm_single_job_main', 'job_bm_template_single_job_description', 20);	
    			add_action('job_bm_single_job_main', 'job_bm_single_job_main_job_info', 30 );			
    		}
    	}
    Thread Starter Pamela

    (@infoknutsford-softwarecouk)

    add_action( 'job_bm_single_job_main', 'customise_job_page');
    
    	if (!function_exists('customise_job_page')){
    		function customise_job_page() {	
    
    			if  (has_action('job_bm_single_job_main')) {				
    				remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_job_info', 30, 0 );			
    				remove_action( 'job_bm_single_job_main', 'job_bm_template_single_job_description', 20, 0);
    				add_action( 'job_bm_single_job_main' , 'job_bm_single_job_main_job_info', 20, 0 );
    				add_action( 'job_bm_single_job_main', 'job_bm_job_description_header', 28, 0);	
    				add_action( 'job_bm_single_job_main', 'job_bm_template_single_job_description', 29, 0);				
    			}
    		}
    	}
    
    	if (!function_exists('job_bm_job_description_header')) {
    		function job_bm_job_description_header() {
    			?>
    				<br>
    				<h3><?php echo __('Job Description','job-board-manager'); ?></h3>						
    			<?php		
    		}
    	}

    Worked

    Plugin Author PickPlugins

    (@pickplugins)

    Sorry to see we missed your reply, glad to see you fixed it.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Single Job Post’ is closed to new replies.