Advertisement
palsushobhan

wcfmmp-view-store-joblists.php

Jun 8th, 2022
719
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.62 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The Template for displaying all store jobs.
  4.  *
  5.  * For edit coping this to yourtheme/wcfm/store
  6.  *
  7.  */
  8.  
  9. if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
  10.  
  11. global $WCFM, $WCFMmp;
  12.  
  13. $counter = 0;
  14. ?>
  15.  
  16. <?php do_action( 'wcfmmp_store_before_articles', $store_user->get_id() ); ?>
  17.  
  18. <div class="" id="articles">
  19.     <div class="article_area">
  20.         <?php do_action( 'wcfmmp_before_store_article', $store_user->get_id(), $store_info ); ?>
  21.         <?php if ( have_posts() ) { ?>
  22.             <?php do_action( 'wcfmmp_before_store_article_loop', $store_user->get_id(), $store_info ); ?>
  23.             <?php do_action( 'wcfmmp_after_store_article_loop_start', $store_user->get_id(), $store_info ); ?>
  24.             <?php while ( have_posts() ) { the_post(); ?>
  25.                 <?php get_job_manager_template_part( 'content', 'job_listing' ); ?>
  26.                 <?php $counter++; ?>
  27.             <?php }  ?>
  28.             <?php do_action( 'wcfmmp_before_store_article_loop_end', $store_user->get_id(), $store_info ); ?>
  29.             <?php do_action( 'wcfmmp_after_store_article_loop', $store_user->get_id(), $store_info ); ?>
  30.             <?php do_action( 'wcfmmp_woocommerce_after_shop_loop_before', $store_user->get_id(), $store_info ); ?>
  31.             <?php do_action( 'woocommerce_after_shop_loop' ); ?>
  32.             <?php do_action( 'wcfmmp_woocommerce_after_shop_loop_after', $store_user->get_id(), $store_info ); ?>
  33.         <?php } else { ?>
  34.             <?php _e('No jobs Found','wc-frontend-manager'); ?>
  35.         <?php } ?>
  36.         <?php do_action( 'wcfmmp_after_store_article', $store_user->get_id(), $store_info ); ?>
  37.     </div><!-- #articles -->
  38. </div><!-- .article_area -->
  39. <?php do_action( 'wcfmmp_store_after_articles', $store_user->get_id() ); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement