Display only certain type of listings

In OSClass 3.0 we introduced the function osc_query_item($params) where $params could be a string or an array. Example of usage You should call osc_query_item($params) function and later loop through the items with the “custom_items” helpers as usual Only one keyword: osc_query_item(“keyword=value1,value2,value3,…”); Multiple keywords: osc_query_item(array( “keyword1” => “value1,value2”, “keyword2” => “value3,value4” )); Real live examples Only one keyword: <?php osc_query_item(“region_name=Madrid”); […]

Read More