1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

order number then strings

Discussion in 'Content Management' started by lew1s666, Nov 3, 2014.

  1. #1
    I have a properties website where pulling properties from API. There are prices and strings in the price field. I want to show the properties with number first. Now there are showing modified on first position. So when price is changed to "Sold" its on first position.

    this i my query :

    $temp = $wp_query;
    $wp_query=null;
    $wp_query =new WP_Query();
    $wp_query->query('post_type=property&type=sale&showposts=8&paged='.$paged);
    $b=0;
     
    lew1s666, Nov 3, 2014 IP