Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • hi mike thank you for that, can you explain how to enable short codes in job listing pages :))

    thank youu

    i am an idiot for coding :((
    so sad for asking but i can’t make it happen can you describe me what to do..

    i found
    class-wp-job-manager-post-types.php and edit code by adding comments,

    'publicly_queryable' 	=> true,
    'exclude_from_search' 	=> false,
    'hierarchical' 			=> false,
    'rewrite' 				=> $rewrite,
    'query_var' 			=> true,
    'supports' 				=> array( 'title', 'editor', 'custom-fields', 'comments' ),
    'has_archive' 			=> $has_archive,
    'show_in_nav_menus' 	=> false

    but i can’t understand what to do for class-wp-job-manager-form-submit-job.php
    line 481
    ‘comment_status’ => ‘open’

    in my class-wp-job-manager-form-submit-job.php
    Code at Line 479 starts by,

    // Account creation
    if ( ! is_user_logged_in() ) {
        $create_account = false;
    
    	if ( job_manager_enable_registration() && ! empty($_POST['create_account_email'] ) )
    	$create_account = wp_job_manager_create_account( $_POST['create_account_email'], get_option( 'job_manager_registration_role' ) );
    
    				if ( is_wp_error( $create_account ) )
    					throw new Exception( $create_account->get_error_message() );
    			}

    i’ve no coding knowledge, please can you describe me what to do…

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)