[epl_brochures_list] Brochure List Format Shortcodes

Stock List Shortcode

Demo of the Brochures Extension shortcodes

[epl_brochures_list]

You can output listings by a specific type like this:

[epl_brochures_list post_type="property"]

Usage

There are several options that may be specified using this syntax:
[epl_brochures_list option1="value1" option2="value2"]

You can also print a list of listings in a template like so:

<?php echo do_shortcode('[epl_brochures_list post_type="property" limit="50" template="table"]'); ?>

Option Order

Note: The order of the options is important so order your options correctly to get the best result.
label
title
post_type
status
limit
template
location
tools_top
tools_bottom
sortby
sort_order

Options

The following options are accepted:

post_type

specify which property type to display. The default is any activated listing type you have enabled. The option allows you to output multiple listing types by comma separating them "property,land" Options:

  • property
  • land
  • rental
  • rural
  • commercial
  • commercial_land
  • business
[epl_brochures_list post_type="property,land"]
status

specify the listing status to output. The default will output all of the following status's. Options:

  • current
  • sold
  • leased
[epl_brochures_list post_type="property" status="sold"]

Note: withdrawn and offmarket status are prevented from display.

limit

specify the number of listings that are output. The default is 10. For Example, to display 30 listings:

[epl_brochures_list limit="30"]
template

specify the template to use when outputting listings. The default is the blog view. Options:

  • slim
  • table
[epl_brochures_list template="table"]
location

specify the location of the listing so you can create a Sydney page and only output listings in that city. The option used is the location slug which works similar to post categories.

[epl_brochures_list location="sydney"]
tools_top

specify outputting the grid and sort options. Default is off.

[epl_brochures_list tools_top="on"]
tools_bottom

specify outputting the pagination options. Default is off.

[epl_brochures_list tools_bottom="off"]
sortby

specify outputting the order of the listings. Default is sorted by date newest first. Default is date. Options:

  • price
  • date
[epl_brochures_list sortby="price"]
sort_order

specify the order either ASC or DESC. Default DESC. Options:

  • ASC
  • DESC
[epl_brochures_list sort_order="ASC"]

The order of the options is important with WordPress shortcodes.