Results 1 to 4 of 4

Thread: New Listings Widget : Recent job posts from only your site but not from indeed

  1. #1
    Thread Starter
    Senior Member gentleman's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    130
    Thanks
    4
    Thanked 9 Times in 9 Posts

    New Listings Widget : Recent job posts from only your site but not from indeed

    HI

    I am trying to get only the jobs posted on my site in the New Listings widget......

    I have modified line 399 as follows in theme-widgets.php:

    from:
    $r = new WP_Query(array('showposts' => $number, 'nopaging' => 0, 'post_status' => 'publish', 'post_type' => 'job_listing', 'caller_get_posts' => 1));

    To:
    $r = new WP_Query(array('showposts' => $number, 'nopaging' => 0, 'post_status' => 'publish', 'post_type' => 'job_listing', 'caller_get_posts' => 1, 'cat' => -24 ));

    Cat 24 is indeed jobs category in my site. I want to exclude it from the New Listings widget.............
    Still it brings the indeed ones also....


    Any help will be greatly appreciated...............

    Thanks
    A

  2. #2
    Thread Starter
    Senior Member gentleman's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    130
    Thanks
    4
    Thanked 9 Times in 9 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Junior Member cgelinas's Avatar
    Join Date
    Nov 2010
    Location
    Canada
    Posts
    24
    Thanks
    1
    Thanked 2 Times in 2 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Senior Member gentleman's Avatar
    Join Date
    Oct 2010
    Location
    United States
    Posts
    130
    Thanks
    4
    Thanked 9 Times in 9 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. Thumbnail photo, CP Recent Blog Posts Widget
    By lcolley in forum Report ClassiPress Bugs
    Replies: 7
    Last Post: December 30th, 2011, 12:28 PM
  2. [SOLVED] How To Resize Thumbnail In "Recent Blog Posts" Widget?
    By valance in forum ClassiPress General Discussion
    Replies: 2
    Last Post: March 6th, 2011, 03:12 PM
  3. Recent Ads Widget
    By essej88 in forum Help Using ClassiPress
    Replies: 1
    Last Post: June 5th, 2010, 07:13 PM
  4. recent Blog post widget
    By petero in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: April 13th, 2010, 05:42 PM