How to create description field for property listing

If we use normal property_result field=”Description” to display description in listing then it will show whole lot of content which we don’t want for listing. In listing we want to display short description of property and leave complete description for detail page. So to display short description we use following shortcode;

[property_result field="Description" maxlength="150" format="%s ..." ]

where,

format %s is used to display ajax content of property and our custom text afterward. Like we explain earlier here.

maxlength is used to display number of words in shortdescription

Output

Below is a description of one of random property from AJAX database

[property_results perpage='1' ][property_result field="Description" maxlength="150" format="%s ..." ] [/property_results]
Print Friendly, PDF & Email