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