Results 1 to 1 of 1

Thread: *** URGENT HELP: JobRoller Job Post Types ?

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

    *** URGENT HELP: JobRoller Job Post Types ?

    Hello, Please help:

    when i use the below given code, i get only published (active) jobs. What should i replace 'publish' with in order to get 'All' the Jobs including those that have 'expired'.

    <?php
    $count_pages = wp_count_posts('job_listing');
    echo $count_pages->publish;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: October 20th, 2012, 06:16 AM
  2. Types and Views on Custom Post Types
    By johnlanglois in forum Vantage General Discussion (Legacy)
    Replies: 1
    Last Post: October 17th, 2012, 09:50 PM
  3. JobRoller Custom Post Types
    By jobcast in forum Report JobRoller Bugs
    Replies: 1
    Last Post: June 6th, 2012, 05:43 AM
  4. Jobroller custom post types
    By jobcast in forum Report JobRoller Bugs
    Replies: 2
    Last Post: May 10th, 2012, 11:25 AM
  5. JobRoller 1.2 - Job types
    By firstline in forum Report JobRoller Bugs
    Replies: 9
    Last Post: December 7th, 2010, 10:25 AM