File manager - Edit - /home/verseaumee/blueversion/wp-content/plugins/wp-freeio/templates/single-job_listing.php
Back
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); ?> <section id="primary" class="content-area"> <main id="main" class="site-main content" role="main"> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); global $post; if ( !WP_Freeio_Job_Listing::check_view_job_detail() ) { ?> <div class="restrict-wrapper"> <?php $restrict_detail = wp_freeio_get_option('job_restrict_detail', 'all'); switch ($restrict_detail) { case 'register_user': ?> <h2 class="restrict-title"><?php echo __( 'The page is restricted only for register user.', 'wp-freeio' ); ?></h2> <div class="restrict-content"><?php echo __( 'You need login to view this page', 'wp-freeio' ); ?></div> <?php break; case 'only_applicants': ?> <h2 class="restrict-title"><?php echo __( 'The page is restricted only for freelancers view his applicants.', 'wp-freeio' ); ?></h2> <?php break; case 'register_freelancer': ?> <h2 class="restrict-title"><?php echo __( 'The page is restricted only for freelancers.', 'wp-freeio' ); ?></h2> <?php break; default: $content = apply_filters('wp-freeio-restrict-job-detail-information', '', $post); echo trim($content); break; } ?> </div><!-- /.alert --> <?php } else { ?> <?php echo WP_Freeio_Template_Loader::get_template_part( 'content-single-job_listing' ); ?> <?php } endwhile; ?> <?php the_posts_pagination( array( 'prev_text' => __( 'Previous page', 'wp-freeio' ), 'next_text' => __( 'Next page', 'wp-freeio' ), 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'wp-freeio' ) . ' </span>', ) ); ?> <?php else : ?> <?php get_template_part( 'content', 'none' ); ?> <?php endif; ?> </main><!-- .site-main --> </section><!-- .content-area --> <?php get_footer(); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings