The Multi-lists Counter Shortcodes offer versatile options to personalize the appearance of the Multi-list counter on your WordPress site. Employ these shortcodes to fine-tune the counter’s presentation, text, and functionality according to your preferences.
Shortcode: #
[wlfmc_multi_list_counter]
This shortcode loads the content of the “lists-counter.php” template from the plugin’s “templates” folder, seamlessly integrating the Multi-list counter into your website.
Shortcode Attributes:
♦ Show Icon Counter
show_icon (string)
Controls the display of the Multi-list counter icon.
Options:
true
: Show the Multi-list counter icon.false
: Hide the Multi-list counter icon.
Example: [wlfmc_multi_list_counter show_icon="false"]
♦ Title Display
show_title (string)
Display the titles of the lists.
Options:
true
: Display titles.false
: Hide titles.
Example: [wlfmc_multi_list_counter show_title="true"]
♦ Custom Title Text
title_text (string)
Customize the title of the lists.
Example: [wlfmc_multi_list_counter title_text="Your Custom Title"]
♦ Multi-lists button link
show_button (string)
Enables or disables the Multi-lists button link in the mini Multi-lists.
Options:
true
: Enable Multi-lists button link.false
: Disable Multi-lists button link.
Example: [wlfmc_multi_list_counter show_button="false"]
♦ Show Product List on Hover
show_list_on_hover (string)
Enables or disables the option to show the Multi-lists on mouse hover over the counter.
Options:
true
: Show the Multi-lists on hover.false
: Don’t show the Multi-lists on hover.
Example: [wlfmc_multi_list_counter show_list_on_hover="false"]
♦ Show Multi-lists Counter Text
show_text (string)
Enables or disables the feature to display custom text beside the Multi-list counter icon.
Options:
true
: Enables custom Multi-list counter text.false
: Disables Multi-list counter text.
Example: [wlfmc_multi_list_counter show_text="false"]
♦ Show Lists in Mini-List
show_lists (string)
Allows you to show or hide Mini Multi-lists.
Options:
true
: Shows Multi-lists in mini Multi-lists.false
: Hides Multi-lists in mini Multi-lists.
Example: [wlfmc_multi_list_counter show_lists="false"]
♦ Show Lists as Dropdown
dropdown_lists (string)
Choose to display Multi-lists as a dropdown or a visible list in the Mini Multi-lists.
Options:
true
: Show as dropdown (on hover or click).false
: Show as a visible list.
Example: [wlfmc_multi_list_counter dropdown_lists="false"]
♦ Multi-lists Counter Text
counter_text (string)
Type your desired text for displaying beside your Multi-lists counter icon.
The default text is: “Lists”.
Example: [wlfmc_multi_list_counter counter_text="Lists"]
♦ Mini-list Button Text
button_text (string)
Edit your custom text for the mini-list button.
The default text is “View my Lists”.
Example: [wlfmc_multi_list_counter button_text="View My Lists"]
♦ Mini-list Link Position
lists_link_position (string)
Choose the position of the “View My Lists” button in the mini-list dropdown, whether it displays before or after lists.
after
: After lists.before
: Before lists.
Example: [wlfmc_multi_list_counter lists_link_position="after"]
♦ Maximum Lists in Mini-List
per_page (int)
Type the maximum number of lists to display in the mini-lists.
Example: [wlfmc_multi_list_counter per_page="20"]
♦ Empty Multi-lists Content
empty_list_content (string)
You can customize the text related to an empty multi-lists content.
Example: [wlfmc_multi_list_counter empty_list_content="You Don't Have Any Lists"]
♦ Empty Counter Icon
empty_icon (string)
Choose your empty Multi-list icon. Options include default icons or insert your custom SVG icon.
- multi-list-1
- multi-list-1-o
- multi-list-2
- multi-list-2-o
- multi-list-3
- multi-list-3-o
- multi-list-4
- multi-list-4-o
- multi-list-5
- multi-list-5-o
- multi-list-6
- multi-list-6-o
- multi-list-7
- multi-list-7-o
- multi-list-8
- multi-list-8-o
- multi-list-9
- multi-list-9-o
- multi-list-10
- multi-list-10-o
- multi-list-11-light
- multi-list-11-regular
- multi-list-12-light
- multi-list-12-regular
- multi-list-13-light
- multi-list-13-regular
- multi-list-14-light
- multi-list-14-regular
- custom
Example: [wlfmc_multi_list_counter empty_icon="multi-list-4-o"]
♦ Counter Icon with Made Lists
has_item_icon (string)
Choose your counter icon with added items.
Options include default added icons or insert your custom SVG icon.
- multi-list-1-o
- multi-list-2-o
- multi-list-3-o
- multi-list-4-o
- multi-list-5-o
- multi-list-6-o
- multi-list-7-o
- multi-list-8-o
- multi-list-9-o
- multi-list-10-o
- multi-list-11-regular
- multi-list-12-regular
- multi-list-13-regular
- multi-list-14-regular
- custom
Example: [wlfmc_multi_list_counter has_item_icon="multi-list-3-o"]
♦ Icon Font
icon_prefix_class (string)
If you want to choose another icon font for your Multi-list counter icons, change its prefix using this option.
To use other fonts, 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:
[wlfmc_multi_list_counter icon_prefix_class="fas fa-"]
clear prefix and use prefix in empty_icon and has_item_icon sample:
[wlfmc_multi_list_counter icon_prefix_class=" " empty_icon="fas fa-heart"]