Hi,
if you refer to this example: http://wpgeo.directory/restaurants/
This how to do it:
1) Go to GD >> Place Settings
2) Add a Text custom field
3) Select NUMBER as “Field data type”
4) Fill all options as requested. (In most I simply put Discount)
5) Is active YES
6) Show on listing page : YES
7) Enable both option for Advance Sort and Filters.
To make it look like an icon and dd the % sign I added this css in GD >> Design >> Scripts >> Custom css :
.geodir_discount:after {
content: "%";
}
.geodir-i-text {
display: none;
}
.geodir_discount {
background: none repeat scroll 0 0 #000;
border-radius: 5px;
color: #fff;
font-weight: bold;
text-align: center;
width: 40px;
}
Custom field will only appear in category pages and the detail page. Currently there is no way to make them appear in Search results, other than customizing the search template.
They can only be filtered by custom fields.
Thanks