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

Magnificent Villa with plot of 500 m2 ideal for large families located in a well known urbanization just 3 minutes from Marbella center. Excellent con ...
Print Friendly, PDF & Email