Results 1 to 1 of 1

Thread: Job Post Types for a Job Counter ???

  1. #1
    Thread Starter
    kamaldawani's Avatar
    Join Date
    Nov 2013
    Location
    India
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] My post's counter stay always on 0.
    By primo in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: October 17th, 2013, 07:30 AM
  2. Types and Views on Custom Post Types
    By johnlanglois in forum Vantage General Discussion (Legacy)
    Replies: 1
    Last Post: October 17th, 2012, 08:50 PM
  3. How to Set Up Post Types and Taxanomy
    By manilaboy in forum Help Using ClassiPress
    Replies: 3
    Last Post: March 2nd, 2011, 04:16 PM