Results 1 to 1 of 1

Thread: How to display listing from a specific ad tag in classipress?

  1. #1
    Thread Starter
    Newbie astekmu's Avatar
    Join Date
    Jul 2012
    Location
    Mauritius
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy How to display listing from a specific ad tag in classipress?

    I'm trying to modify the homepage tab to replace the random ad listing by listings having a specific ad_tag.

    I modified it to look like this on index.php:

    PHP Code:
    $args = array('post_type' => APP_POST_TYPE'ignore_sticky_posts' => 1'paged' => $paged'orderby' => 'rand''tax_query' => array('taxonomy' => 'ad_tag''field' => 'slug''terms' => 'membertag'));

    query_posts($args); 
    However it's showing me all the latest ad listing instead of the ones having only the ad tag "membertag".

    Any idea what's wrong?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Display ads from a specific category in tab
    By mjjpack in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 5th, 2012, 10:08 AM
  2. Display ads from a specific category in tab
    By mjjpack in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: June 5th, 2012, 10:08 AM
  3. [MOD NEEDED] Classipress on MultiSite - Display posts from specific category
    By cgervereau in forum ClassiPress General Discussion
    Replies: 2
    Last Post: March 2nd, 2012, 03:16 PM
  4. Display Author Specific Categories on Author's Page Classipress
    By fuzegraphics in forum ClassiPress General Discussion
    Replies: 0
    Last Post: December 7th, 2011, 12:49 AM
  5. Display specific sub-category on home page
    By dmjendor in forum ClassiPress General Discussion
    Replies: 2
    Last Post: January 11th, 2011, 12:16 PM