Results 1 to 10 of 10

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.

  2. #2
    spartac's Avatar
    Join Date
    May 2011
    Posts
    7,171
    Thanks
    75
    Thanked 830 Times in 808 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com






    We answer the questions in threads as fast as the private messages, So do not send support questions via private message. Use the forum instead and open a new thread for every issue.
    Before you send any PM , Please read These rules .

  3. #3
    Thread Starter
    kamaldawani's Avatar
    Join Date
    Nov 2013
    Location
    India
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    spartac's Avatar
    Join Date
    May 2011
    Posts
    7,171
    Thanks
    75
    Thanked 830 Times in 808 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com






    We answer the questions in threads as fast as the private messages, So do not send support questions via private message. Use the forum instead and open a new thread for every issue.
    Before you send any PM , Please read These rules .

  5. #5
    Thread Starter
    kamaldawani's Avatar
    Join Date
    Nov 2013
    Location
    India
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    kamaldawani's Avatar
    Join Date
    Nov 2013
    Location
    India
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Thread Starter
    kamaldawani's Avatar
    Join Date
    Nov 2013
    Location
    India
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    spartac's Avatar
    Join Date
    May 2011
    Posts
    7,171
    Thanks
    75
    Thanked 830 Times in 808 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com






    We answer the questions in threads as fast as the private messages, So do not send support questions via private message. Use the forum instead and open a new thread for every issue.
    Before you send any PM , Please read These rules .

  9. #9
    Thread Starter
    kamaldawani's Avatar
    Join Date
    Nov 2013
    Location
    India
    Posts
    46
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    spartac's Avatar
    Join Date
    May 2011
    Posts
    7,171
    Thanks
    75
    Thanked 830 Times in 808 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need high-quality content for your Website? For a significantly reduced price? Try aicontently.com






    We answer the questions in threads as fast as the private messages, So do not send support questions via private message. Use the forum instead and open a new thread for every issue.
    Before you send any PM , Please read These rules .

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, 08: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, 09: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, 05:16 PM