emails
2 years ago
form-fields
4 weeks ago
access-denied-browse-job_listings.php
4 years ago
access-denied-single-job_listing.php
3 years ago
account-signin.php
4 years ago
content-job_listing.php
2 months ago
content-no-jobs-found.php
7 years ago
content-single-job_listing-company.php
3 years ago
content-single-job_listing-meta.php
4 years ago
content-single-job_listing.php
4 years ago
content-summary-job_listing.php
2 months ago
content-widget-job_listing.php
2 months ago
content-widget-no-jobs-found.php
7 years ago
job-application-email.php
4 years ago
job-application-url.php
7 years ago
job-application.php
7 years ago
job-dashboard-login.php
7 years ago
job-dashboard-overlay.php
2 years ago
job-dashboard.php
2 years ago
job-filter-job-types.php
2 years ago
job-filters.php
2 years ago
job-listings-end.php
7 years ago
job-listings-start.php
7 years ago
job-pagination.php
7 years ago
job-preview.php
2 years ago
job-stats.php
2 months ago
job-submit.php
2 years ago
job-submitted.php
2 years ago
notice.php
2 years ago
pagination.php
6 years ago
job-preview.php
52 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Job listing preview when submitting job listings. |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/job_manager/job-preview.php. |
| 6 | * |
| 7 | * @see https://wpjobmanager.com/document/template-overrides/ |
| 8 | * @author Automattic |
| 9 | * @package wp-job-manager |
| 10 | * @category Template |
| 11 | * @version 1.41.0 |
| 12 | */ |
| 13 | |
| 14 | if ( ! defined( 'ABSPATH' ) ) { |
| 15 | exit; // Exit if accessed directly. |
| 16 | } |
| 17 | ?> |
| 18 | <form method="post" id="job_preview" action="<?php echo esc_url( $form->get_action() ); ?>"> |
| 19 | <?php |
| 20 | /** |
| 21 | * Fires at the top of the preview job form. |
| 22 | * |
| 23 | * @since 1.32.2 |
| 24 | */ |
| 25 | do_action( 'preview_job_form_start' ); |
| 26 | ?> |
| 27 | <div class="job_listing_preview_title"> |
| 28 | <input type="submit" name="continue" id="job_preview_submit_button" class="button job-manager-button-submit-listing" value="<?php echo esc_attr( apply_filters( 'submit_job_step_preview_submit_text', __( 'Submit Listing', 'wp-job-manager' ) ) ); ?>" /> |
| 29 | <?php if ( ! WP_Job_Manager_Helper_Renewals::is_renew_action() ) : ?> |
| 30 | <input type="submit" name="edit_job" class="button job-manager-button-edit-listing" value="<?php esc_attr_e( 'Edit listing', 'wp-job-manager' ); ?>" /> |
| 31 | <?php endif; ?> |
| 32 | <h2><?php esc_html_e( 'Preview', 'wp-job-manager' ); ?></h2> |
| 33 | </div> |
| 34 | <div class="job_listing_preview single_job_listing"> |
| 35 | <h1><?php wpjm_the_job_title(); ?></h1> |
| 36 | |
| 37 | <?php get_job_manager_template_part( 'content-single', \WP_Job_Manager_Post_Types::PT_LISTING ); ?> |
| 38 | |
| 39 | <input type="hidden" name="job_id" value="<?php echo esc_attr( $form->get_job_id() ); ?>" /> |
| 40 | <input type="hidden" name="step" value="<?php echo esc_attr( $form->get_step() ); ?>" /> |
| 41 | <input type="hidden" name="job_manager_form" value="<?php echo esc_attr( $form->get_form_name() ); ?>" /> |
| 42 | </div> |
| 43 | <?php |
| 44 | /** |
| 45 | * Fires at the bottom of the preview job form. |
| 46 | * |
| 47 | * @since 1.32.2 |
| 48 | */ |
| 49 | do_action( 'preview_job_form_end' ); |
| 50 | ?> |
| 51 | </form> |
| 52 |