[epl_inspections] Shortcode

The  Inspections feature allows you to output open for inspection listings on your pages and posts using a simple Shortcode. There are a variety of options available with this shortcode.

[epl_inspections]

You can output listings by a specific listing type like this:

[epl_inspections post_type="property"]

Usage

There are several options that may be specified using this syntax:

[epl_inspections option1="value1" option2="value2"]

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

<?php echo do_shortcode('[epl_inspections post_type="property" style="list" template="modern"]'); ?>

All Options

post_type
query
title
subtitle
style
tab_position
template
tools_top
print_select
search

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_inspections post_type="property,land"]
query

specify the query to output status to output. The default is false.

[epl_inspections query="YOUR_CUSTOM_QUERY" ]
title

specify the title to display before the inspection list. Default is blank.

[epl_inspections title="My Inspection Title"]

subtitle

specify the subtitle to display before the inspection list and after the title. Default is blank.

[epl_inspections subtitle="My Subtitle appears after the title!"]
style

specify the wrapping template that contains the inspections items. Default used is pulled from the extension settings Style option. Options:

  • list
  • tabbed
[epl_inspections style="list"]
tab_position

specify the tab position being either horizontal or vertical when using the tabbed style only. Default used is pulled from the extension settings tab position option. Options:

  • horizontal
  • vertical
[epl_inspections style="tabbed" tab_position="vertical"]
template

specify the template to use which displays the inspections. Default used is pulled from the extension settings template option. Options:

  • modern
  • stripe
  • table
[epl_inspections template="stripe"]
template

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

  • slim
  • table
  • table_open
[epl_inspections template="table"]
tools_top

specify outputting the print options and listing count before the inspections list. Default is on.

[epl_inspections tools_top="off"]
print_select

specify outputting checkboxes on each time and the Print My List option allowing the user to select listings to print. Default is on.

[epl_inspections print_select="off"]
search

specify the search output. Default is on. Works in conjunction with the query option.

[epl_inspections search="off"]