You need to be signed in to manage your job listings.
forms->get_form( 'edit-job' ); } } // ....If not show the job dashboard $args = apply_filters( 'job_manager_get_dashboard_jobs_args', array( 'post_type' => 'job_listing', 'post_status' => array( 'publish', 'expired', 'pending' ), 'ignore_sticky_posts' => 1, 'posts_per_page' => -1, 'orderby' => 'date', 'order' => 'desc', 'author' => get_current_user_id() ) ); $jobs = get_posts( $args ); ob_start(); echo $this->job_dashboard_message; get_job_manager_template( 'job-dashboard.php', array( 'jobs' => $jobs ) ); return ob_get_clean(); } /** * output_jobs function. * * @access public * @param mixed $args * @return void */ public function output_jobs( $atts ) { global $job_manager; ob_start(); extract( $atts = shortcode_atts( apply_filters( 'job_manager_output_jobs_defaults', array( 'per_page' => get_option( 'job_manager_per_page' ), 'orderby' => 'featured', 'order' => 'DESC', 'show_filters' => true, 'show_categories' => get_option( 'job_manager_enable_categories' ), 'categories' => '' ) ), $atts ) ); $categories = array_filter( array_map( 'trim', explode( ',', $categories ) ) ); if ( $show_filters && $show_filters !== 'false' ) { get_job_manager_template( 'job-filters.php', array( 'per_page' => $per_page, 'orderby' => $orderby, 'order' => $order, 'show_categories' => $show_categories, 'categories' => $categories, 'atts' => $atts ) ); ?>