Shortcode: [wpsight_listing]

This shortcode lets you easily display a single listing on an extra static page (see demo). Please note that this page will not be included in the listings search etc. You can use this shortcode to display a listing apart from the others (e.g. Property of the Month).

Usage

[wpsight_listing]

Parameters

id (required)
ID of the listing in question. This can be the WPCasa listing ID or the WordPress post ID.

full
Whether or not to display the full listing. If set to false, only the listing teaser (like on archive pages) will be displayed. Defaults to true.

before
Display some short content (e.g. a special note) right before the shortcode output. Is empty by default.

after
Display some short content (e.g. a special note) right after the shortcode output. Is empty by default.

wrap
HTML tag of the container element of the shortcode. Defaults to div.

Example

[wpsight_listing id="ID-30" full="false"]

Source File

/includes/shortcodes/class-wpsight-shortcode-listing-single.php

Was this article helpful? Yes · No