Job Post Types for a Job Counter ???
Hello, pls let us know the kind of Job Post Types we have. The purpose is to use the same in a code for a JOB COUNTER on the Home Page.
I am using the below given code for a JOB COUNTER on the Home Page, but it counts only Unexpired Jobs. I want it to count and publish all the Jobs including those that have already expired or will expire.
<?php
$count_pages = wp_count_posts('job_listing');
echo $count_pages->publish;
?> <font size="3" color="Blue">Latest Jobs</font>
I believe it has something to do with job_listing. Please guide.
Thanks in anticipation.