Results 1 to 4 of 4

Thread: Omit Job Category from Job Loop

  1. #1
    Thread Starter
    Senior Member bbuster79's Avatar
    Join Date
    Jan 2011
    Location
    United States
    Posts
    106
    Thanks
    5
    Thanked 10 Times in 7 Posts

    Omit Job Category from Job Loop

    I created a category for the job_listing post type called hand-picked-jobs. I'm trying to exclude these jobs from the regular job loop. I've tried placing this in the loop:

    if( in_category(' hand-picked-jobs' ) )
    continue;

    Though this isn't working. Is it because the in_category() function won't work for custom post types?

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Senior Member bbuster79's Avatar
    Join Date
    Jan 2011
    Location
    United States
    Posts
    106
    Thanks
    5
    Thanked 10 Times in 7 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Continuous Loop after 3.1.3 upgrade
    By profitsh in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: July 30th, 2011, 01:04 PM
  2. loop-ad.php different in V3.1 than in previous versions ?
    By ramystyle in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: July 17th, 2011, 10:29 AM
  3. Add city name in loop-ad.php
    By melg in forum ClassiPress General Discussion
    Replies: 2
    Last Post: March 20th, 2011, 01:15 AM
  4. [MOD NEEDED] loop-ad image title
    By pinocchio in forum ClassiPress General Discussion
    Replies: 4
    Last Post: March 6th, 2011, 06:39 PM
  5. Need to remove stats from ads in the loop.
    By bkirkham23 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 22nd, 2010, 08:48 AM