WordPress meta query: Get lowest or highest number value?

function lowest_price(){ global $wp_query; $args = array( ‘post_type’ => array(“automjete”, “elektronike”, “vendbanime”, “sport-rekreacion”, “kafshe”, “telefona”, “shtepi-kopsht”, “veshje-bukurie”, “biznes-sherbime”), ‘orderby’ => ‘meta_value’, // meta_value_num for value

Read More »

Register

Create your account and post ad