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
Other articles in Shortcodes
- Shortcode: [wpsight_currency_converter]
- Shortcode: [wpsight_favorites]
- Shortcode: [wpsight_list_agents]
- Shortcode: [wpsight_listing_teaser]
- Shortcode: [wpsight_listing_teasers]
- Shortcode: [wpsight_listing]
- Shortcode: [wpsight_listings_map]
- Shortcode: [wpsight_listings_search]
- Shortcode: [wpsight_listings]
- WPCasa Dashboard Shortcodes