[wlfmc_wishlist]
Shortcode “[wlfmc_wishlist]
” loads the content of the “wishlist.php” template (the file is in the “templates” folder of the plugin) to make the wishlist appear on the page.
Shortcode Attributes: #
♦ Products Per Page #
per_page (int)
You can define the number of elements per page (the default value is posts_per_page WordPress option).
Sample:
[wlfmc_wishlist per_page="20"]
♦ Pagination #
pagination (string)
It sets whether to paginate the Wishlist;
in case this parameter is set to “no”, the attribute “per page” will not be considered.
Attributes:
- yes : show pagination for Wishlist Page
- no : disable pagination for Wishlist Page
Sample:
[wlfmc_wishlist pagination="no"]
♦ Items are shown for Wishlist #
items_show (string)
You can choose which items to be shown in Wishlist Page.
Attributes:
- product-checkbox : show checkboxes
- product-remove : show Button to remove the product from the wishlist
- product-thumbnail : show product thumbnail
- product-name : show product name
- product-review : show product review
- product-variation : show product variations
- product-price : show product price
- product-add-to-cart : show product add to cart button
- product-quantity : show product quantity
- product-stock-status : show product stock status
- product-date-added : show product added date
Sample:
[wlfmc_wishlist items_show="product-checkbox,product-remove,product-thumbnail,product-name"]
♦ Wishlist View Mode #
view_mode (string)
Choose how to display products on Wishlist Page
Attributes:
- list : List View Mode
- grid : Grid View Mode
Change wishlist table to grid mode sample:
[wlfmc_wishlist view_mode="grid"]
♦ Add to Cart Button Style #
button_add_to_cart_style (string)
Apply button style for the “Add to cart” button on the Wishlist table
Attributes:
- true: Enabling custom “Add to cart” button
- false: Disabling custom “Add to cart” button
Disable add to cart wishlist style sample:
[wlfmc_wishlist button_add_to_cart_style="false"]
♦ Quantity Field Style #
qty_style (string)
Apply custom style for quantity field.
Attributes:
- true : Enabling custom QTY style
- false : Disabling custom QTY style
Disable quantity wishlist style sample:
[wlfmc_wishlist qty_style="false"]
♦ Pagination Style #
pagination_style (string)
Apply custom Wishlist page style for pagination bar.
Attributes:
- true : Enabling custom Wishlist pagination style
- false : Disabling custom Wishlist pagination style
Disable pagination wishlist style sample:
[wlfmc_wishlist pagination_style="false"]
♦ Wishlist Default Template #
custom_template (string)
Choose whether the default Wishlist Template or Custom Template.
Attributes:
- true : Display Default Wishlist Template created by Theme without any customizations
- false : Display Customized Wishlist Template you’ve created
sample:
[wlfmc_wishlist custom_template="false"]
♦ All Together Actions Button #
♦ enable_actions (string)
Enable All together Actions button on Wishlist Page
Attributes:
- true : Enables All together actions button
- false : Disables All together actions button
sample:
[wlfmc_wishlist enable_actions="false"]
♦ “Add All to Cart” Button #
enable_all_add_to_cart (string)
This option displays “Add all to cart” button on Wishlist Page
Attributes:
- true : Enables “Add all to cart” button
- false : Disables “Add all to cart” button
sample:
[wlfmc_wishlist enable_all_add_to_cart="false"]
♦ Share Wishlist #
enable_share (string)
Enable this option to let users share their Wishlist on social media
Attributes:
- true : Enables user’s wishlist sharing.
- false : Disables user’s wishlist sharing.
sample:
[wlfmc_wishlist enable_share="false"]
♦ Active Share Buttons #
share_items (string)
Choose Which social media icons show on the sharing section.
Attributes:
- messenger
- telegram
- copy
To enable facebook and copy use sample:
[wlfmc_wishlist share_items="facebook,copy"]
♦ Login Notice #
login_notice (string)
Turn guest users into leads by enabling Login Notice and inviting them to signup on the wishlist page.
Attributes:
- true : Enables Login Notice
- false : Disables Login Notice
sample:
[wlfmc_wishlist login_notice="false"]
♦ Wishlist Table Custom Class #
wishlist_class (string)
Add custom class to wishlist table tag using this option.
Attributes:
- true : Enables custom class for Wishlist table
- false : Disables custom class for Wishlist table
sample:
[wlfmc_wishlist wishlist_class="custom-class-table"]
♦ Wishlist Pagination Custom Class #
wishlist_pagination_class (string)
Add a custom class for pagination. the default value is “woocommerce-pagination” and you can change this but if pagination_style enabled is replaced with “wishlist-pagination”
Attributes:
- true : Enable custom class pagination
- false : Disable custom class pagination
sample:
[wlfmc_wishlist wishlist_pagination_class="custom-class-pagination"]