How to use Short Codes with AgentAve Lists

AgentAve has developed several widgets that can be used in WordPress using short codes.  In WordPress, the difference between “widgets” and “short codes” is a widget is designed to be included in a pre defined widget area.  A short code, on the other hand, can be included with a post or page’s content.  WordPress parsed the content looking for short code and replaces the short code with the retrieved content.

Short code looks like this:  [function options]

AgentAve offers a function called “aa_list”.  It will return a search result of listings matching a predefined search (in the AgentAve manager’s screen).

Let’s say you want to create a page on your web site dedicated to a hot new neighborhood in Manchester.  Here are the steps to take.

1.  Log into the AgentAve Manager’s page.
2.  Click on Saved Searches = Create a New Search
3.  Click on Town Selections – Select Manchester
4.  Type in the Development/Neighborhood you wish to include.
5.  Select any other criteria you desire (price, etc).
6.  Save the search – note the ID

Now, log into your WordPress Dashboard and create a new page.
1.  If you wish, do a nice writeup about the development – picture and all!.
2.  Enter the short code to include the listings within the body of the page:

[ aa_showlist listid="xxx" maxrecords="50" ]  (remove the space after the [ and before the ])

where “xxx” = the search id of the saved search.
3. Save the page.

Now, when users visit the new page, they will see your write up and any listings from the saved search.  This list is Live and dynamic.

Here is an example page

Comments are closed.