How Can We Help?
Search for answers or browse our knowledge base.
What filters can we use inside listing shortcode?
A listing shortcode can filter listing by writing a shortcode in this manner
[2020marbella filter=” YOUR FILTERS HERE “]
where filters can be
- ref_id=’R123456,R654321,R786950′
- ownfirst=1 (to display own properties first)
- shortlist=1 ( to display fav properties on favourite page )
- location=’255,966′ ( location ids can be found by navigating WP Dashboard > Settings > InmoTech Slugs )
- type=’1,11,14′ ( type ids can be found by navigating WP Dashboard > Settings > InmoTech Slugs )
- features=’16,198,245′ ( features ids can be found by navigating WP Dashboard > Settings > InmoTech Slugs )
- list_price_min=’200000′
- list_price_max=’900000′
- order=’last_date_desc’ ( there are 3 variations list_price_asc, list_price_desc, last_date_desc where last_date_desc is equal to latest)
- listing_type=’development’ ( there are 4 variations development, resale, long_rental, short_rental)
- status=sale (this is used to display featured properties)
So, if you want to use one of the filters in shortcode it will be like this
[2020marbella filter=” ref_id=’R123456,R654321,R786950′ “]
and if you want to use more than one filter in shortcode then it will look like this
[2020marbella filter=” ref_id=’R123456,R654321,R786950′ list_price_min=’200000′ ownfirst=1 “]