Shortcode: [wpsight_favorites]

This shortcode displays the list favorites of the current user (see demo).

Please notice! This shortcode will only be available when the WPCasa Favorites add-on is active.

Usage

[wpsight_favorites]

Parameters

nr
Number of favorites before paging applies. Defaults to -1 (all).

show_panel
Define whether or not to display the listings panel (displayed before listings). Defaults to true.

show_paging
Define whether or not to display the listings pagination (displayed after listings). Defaults to false.

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_favorites show_panel="false"]

Source File

/wpcasa-favorites/includes/class-wpsight-favorites-shortcode.php

Was this article helpful? Yes · No