MC Lists Documentation

Add To Wishlist Button Shortcodes

Shortcode “” loads the content of the “add-to-wishlist.php” template (the file is in the “templates” folder of the plugin), and prints the “Add To Wishlist” button in the front end.

Shortcode Attributes:

♦ Product ID

product_id (int)

Ability to Add a wishlist shortcode for places where there is no product page and no lists like sliders, images, boxes, and galleries with :

♦ Single Product

is_single (string)

If you want to use the Single Product Options & Style, set this value to true (Otherwise, it uses the Products List Style).


  • true : Uses single product style
  • false : Uses Products list style


♦ Button Type

button_type (string)

Choose from the three types of buttons below:


  • text: text only
  • icon: icon only
  • both: Icon and text


Wishlist Button - Button Type

♦ Separate Icon and Text

separate_icon_and_text (string)

Separate icon and text boxes with a vertical line.


  • true: Enables the icon and text separation
  • false : Disables icon and text separation


♦ Added to Wishlist Popup

enable_popup (string)

Show popup after added to wishlist. A pop-up will open to set custom buttons/buttons to guide the user.


  • true: Enables the Popup
  • false : Disables the Popup


Wishlist Button - Added to Wishlist Popup

♦ Icon

icon (string)

You can choose your button icon in 6 options:


  • heart
  • tag
  • plus
  • gift
  • star
  • pin


Wishlist Button - Icon Type

♦ Added Icon

added_icon (string)

You can choose your added button icon in 6 options:


  • heart-o
  • tag-o
  • plus-o
  • gift-o
  • star-o
  • pin-o



♦ Icon Prefix Class

icon_prefix_class (string) (default= “wlfmc-icon-”)

If you want to choose another icon font for your wishlist icon, you can change the icon prefix.

To use other fonts, you should add your theme’s style file and font files to your theme. These shortcodes only replace classes, not the fonts themselves.

use font awesome for icon sample:

clear prefix and use prefix in icon and added_icon sample:

♦ Default Button Style

button_theme (string)

Enable if use theme default styles for icon and text


  • true: Uses default theme button style.
  • false : Uses customized button style.


♦ Button Tooltip

enable_tooltip (string)

By enabling this feature, a tooltip box will appear when you hover on “Add to Wishlist” button.

You can also customize this tooltip style.


  • true: Enables button tooltip
  • false : Disables button tooltip


Wishlist Button - Button Tooltip

♦ Tooltip Directions

tooltip_direction (string)

You can set the tooltip positioning using this option.


  • top
  • right
  • bottom
  • left


Wishlist Button - Tooltip Directions

♦ “Add to Wishlist” Text

button_label_add (string)

You can change the text shown as “Add to Wishlist” to anything you desire.


Wishlist Button - Add to Wishlist Text

♦ “View My Wishlist” Text

button_label_view (string)

Here you can change the “view my wishlist” text to your custom text.


♦ “Remove from Wishlist” Text

button_label_remove (string)

You can also change the “Remove from wishlist” text.


♦ “Already in Wishlist” Text

button_label_exists (string)

If the product already exists in the user’s wishlist and clicks the Add to wishlist button again, this text will be displayed. You can leave this box empty if you don’t want a notification box.


♦ “Add to Wishlist” Tooltip

tooltip_label_add (string)

You can change the default tooltip text shown as “Add to Wishlist” to anything you desire.


♦ “View My Wishlist” Tooltip Text

tooltip_label_view (string)

Here you can change the default tooltip text “view my wishlist” to your custom text.


♦ “Remove from Wishlist” Tooltip Text

tooltip_label_remove (string)

You can also change the “Remove from wishlist” tooltip text.


♦ “Already in Wishlist” Tooltip Text


Using this, you can change the “Already in wishlist” tooltip text.


What are your feelings

Join now and save up to 40% when we launch

Get the plugin as soon as we launch + Get a massive discount
+ Save loads of time and money
Get Access Now>>
🔒100% Secure | No SPAM | Opt-out at any time