New Listings Plugin

The new listings plugin calls a function and displays all your latest listings in a horizontal table.

To call this function you would include the following code in any template file you want it to appear.

{new_listings number=8 cols=3}  

The code above calls a Smarty custom plugin that we have created. The file is located at plugins/function.new_listings.php

Parameters

number
(integer) The max number of listings you want displayed.
cols
(integer) This is the number of columns you want to display before a new row is started.
table_attr
(string) Any table attributes you would like. For example: table_attr='width=“100%”'.
tr_attr
(string) Any tr attributes you would like.
td_attr
(string) Any td attributes you would like.
trailpad
(string) A value to pad the trailing cells on last row with (if any) The default is a space or
hdir
(string) The direction of each row to be rendered. possible values: left (left-to-right), right (right-to-left) the default is right
vdir
(string) The direction of each column to be rendered. possible values: down (top-to-bottom), up (bottom-to-top) default is down.