diff --git a/admin/class-awsm-job-openings-overview.php b/admin/class-awsm-job-openings-overview.php index eeeee45b..4d06c132 100644 --- a/admin/class-awsm-job-openings-overview.php +++ b/admin/class-awsm-job-openings-overview.php @@ -179,8 +179,8 @@ public static function get_jobs( $args ) { $values = array(); //$join = "LEFT JOIN {$wpdb->posts} AS applications ON {$wpdb->posts}.ID = applications.post_parent AND applications.post_type = 'awsm_job_application'"; - $join = "LEFT JOIN {$wpdb->posts} AS applications ON {$wpdb->posts}.ID = applications.post_parent AND applications.post_type = 'awsm_job_application' AND applications.post_status != 'trash'"; - $where = 'WHERE 1=1'; + $join = "LEFT JOIN {$wpdb->posts} AS applications ON {$wpdb->posts}.ID = applications.post_parent AND applications.post_type = 'awsm_job_application' AND applications.post_status != 'trash'"; + $where = 'WHERE 1=1'; if ( isset( $parsed_args['tax_query'] ) && is_array( $parsed_args['tax_query'] ) ) { $in = array(); $term_ids = array(); @@ -300,5 +300,5 @@ public static function get_applications_analytics_data( $date_query = array(), $ } return $analytics_data; } - + } diff --git a/admin/templates/meta/applicant-single.php b/admin/templates/meta/applicant-single.php index 7009a12a..08080649 100644 --- a/admin/templates/meta/applicant-single.php +++ b/admin/templates/meta/applicant-single.php @@ -72,8 +72,7 @@ ); ?> - -
+
@@ -81,8 +80,9 @@ - ID ); ?> -
+
+ + ID ); ?>
diff --git a/admin/templates/meta/get-pro.php b/admin/templates/meta/get-pro.php index fa7f7239..f05618e0 100644 --- a/admin/templates/meta/get-pro.php +++ b/admin/templates/meta/get-pro.php @@ -13,7 +13,7 @@
  • -
  • +
  • diff --git a/admin/templates/meta/resume-preview.php b/admin/templates/meta/resume-preview.php index 7a0e9df3..339da4d0 100644 --- a/admin/templates/meta/resume-preview.php +++ b/admin/templates/meta/resume-preview.php @@ -13,30 +13,40 @@ ID, 'awsm_attachment_id', true ); $attachment_url = wp_get_attachment_url( intval( $awsm_attachment_id ) ); - if ( $attachment_url ) : - $file_extension = strtolower( pathinfo( $attachment_url, PATHINFO_EXTENSION ) ); +if ( $attachment_url ) : + $file_extension = strtolower( pathinfo( $attachment_url, PATHINFO_EXTENSION ) ); - // Supported office formats - $supported_office_formats = array( - 'doc', 'docx', // Word documents - 'ppt', 'pptx', // PowerPoint presentations - 'xls', 'xlsx' // Excel spreadsheets - ); + // Supported office formats + $supported_office_formats = array( + 'doc', + 'docx', // Word documents + 'ppt', + 'pptx', // PowerPoint presentations + 'xls', + 'xlsx', // Excel spreadsheets + ); - // Formats supported by Google Docs Viewer - $google_docs_formats = array( - 'csv', // CSV files - 'odt', 'ods', 'odp' // OpenDocument formats - ); + // Formats supported by Google Docs Viewer + $google_docs_formats = array( + 'csv', // CSV files + 'odt', + 'ods', + 'odp', // OpenDocument formats + ); - // Supported image formats - $supported_image_formats = array( - 'jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp' // Common image formats - ); + // Supported image formats + $supported_image_formats = array( + 'jpg', + 'jpeg', + 'png', + 'gif', + 'bmp', + 'webp', // Common image formats + ); - ?> + ?>
    - +