Property | Default | Type | Demo |
---|---|---|---|
theme
Theme:
|
white | string |
white:
lightgray: gray: black: padded: drop: line: github: transparent: youtube: habr: heartcross: plusminus: google: greenred: large: elegant: disk: squarespace: slideshare: baidu: uwhite: ublack: uorange: ublue: ugreen: direct: homeshop: nero: sku: review: likebtn: roundthumb: ok: mid: mini: bootstrap: angular: tick: stack: vertplus: |
lang
Language:
|
auto | string |
en:
ru: af: ar: hy: be: bn: bg: bs: ca: zh_CN: zh_HK: cs: fa: fi: fr: da: nl: de: el: he: hu: id: it: ja: kk: ko: lv: lt: ne: no: pl: pt: pt_BR: ro: sr: sk: sl: es: sv: th: tr: uk: vi: |
white_label
VIP ULTRA Remove LikeBtn branding |
false | bool |
true:
|
rich_snippet
Enable Google Rich Snippets (Learn more). Make sure to specify item information, otherwise Google will not index structured data on your website. |
false | bool | - |
Button Elements |
|||
vert
Vertical Layout |
false | bool |
true:
|
show_like_label
Show like label |
true | bool |
false:
|
show_dislike_label
Show dislike label |
false | bool |
true:
|
like_enabled
Show like button |
true | bool |
false:
|
dislike_enabled
Show dislike button |
true | bool |
false:
|
icon_like_show
Show like icon |
true | bool |
false:
|
icon_dislike_show
Show dislike icon |
true | bool |
false:
|
identifier
Unique string corresponding to the page or element on the page (news ID, for example). If parameter is not defined, page URL is used (URL parameters after '?' are ignored). Maximum length (bytes): 970 |
Current page URL | string | - |
site_id
Specify Site ID in following cases:
|
string | - | |
group_identifier
Identifier of the group of buttons. If several Like Buttons have the same group identifier, visitor is allowed to vote using only one of them. |
string |
|
|
voting_enabled
Allow voting |
true | bool |
false:
|
voting_cancelable
Allow to cancel a vote |
true | bool |
false:
|
voting_both
Allow to like and dislike at the same time |
false | bool |
false:
|
voting_frequency
How often visitor can vote per button. Number in seconds, minimum 1 second. Make sure that its value is larger than IP address vote interval of your website. Visitor can vote again only after reloading the page. |
false | bool |
120:
|
ef_voting
Voting animation
|
string |
grow: |
|
counter_type
Counter type:
|
number | string |
percent:
subtract_dislikes: single_number: |
counter_clickable
Votes counter is clickable |
false | bool |
true:
|
counter_show
Show votes counter |
true | bool |
false:
|
counter_frmt
Counter format:
|
no | string |
km:
|
counter_padding
Counter mask |
string |
0000000:
|
|
counter_zero_show
Show zero value in counter |
false | bool |
true:
|
counter_count
Animate number counting |
false | bool |
true:
|
popup_disabled
VIP ULTRA Disable popup |
false | bool |
true:
|
popup_dislike
Show popup on disliking |
false | bool |
true:
|
popup_position
Popup position |
top | string |
right:
bottom: left: |
popup_style
Popup style |
light | string |
dark:
|
popup_width
Popup width |
176 | string |
300:
|
popup_hide_on_outside_click
Hide popup when clicking outside |
true | bool |
false:
|
popup_on_load
Show popup on button load |
false | bool |
true:
|
popup_html
PRO VIP ULTRA Custom HTML to insert into the popup |
string | ||
popup_donate
VIP ULTRA Donate buttons to display in the popup |
string |
|
|
popup_content_order
Order of the content in the popup |
popup_share, popup_donate, popup_html | string |
popup_share,popup_donate,popup_html
|
share_enabled
PLUS PRO VIP ULTRA Show share buttons in the popup. Share buttons are visible by default, upgrade your website to hide them. Use popup_disabled option to enable/disable popup. |
true | bool |
false:
|
addthis_service_codes
PRO VIP ULTRA AddThis service codes separated by comma maximum of 8 to display in the popup. |
string |
google_plusone_share, facebook, twitter:
|
|
share_size
Share buttons size
|
medium | string |
small:
medium: large: |
addthis_pubid
PRO VIP ULTRA AddThis Profile ID. Allows to collect sharing statistics and view it on AddThis analytics page. |
ra-511b51aa3d843ec4 | string | - |
item_url
URL used to share liked item in social networks and to display the rating in Google Rich Snippets |
Current page URL | string | - |
item_title
Item title used for sharing the item in social networks and to display the rating in Google Rich Snippets (FAQ) |
string | - | |
item_description
Item description used for sharing the item in social networks and to display the rating in Google Rich Snippets (FAQ) |
string | - | |
item_image
Item image used for sharing the item in social networks and to display the rating in Google Rich Snippets (FAQ) |
string | - | |
item_date
Item date used to display the rating in Google Rich Snippets. The date and time the item was published, in ISO 8601 format: 2024-12-21T08:00:00+08:00 |
string | - | |
lazy_load
Lazy load - if button is outside viewport it is loaded when user scrolls to it |
false | bool |
true:
|
loader_show
Show loader while button is loading |
false | bool |
true:
|
loader_image
Loader image URL. If empty, default image is used |
string |
/i/ajax-loader.gif?v=41:
|
|
tooltip_enabled
Show tooltips |
true | bool |
false:
|
tooltip_like_show_always
Always show Like button tooltip |
false | bool |
true:
|
tooltip_dislike_show_always
Always show Dislike button tooltip |
false | bool |
true:
|
domain_from_parent
Use domain of the parent window. Use this option if you are loading the Like Dutton in the iframe from other website and you want it to store likes for your website. |
true | bool | - |
event_handler
JavaScript callback function serving as an event handler. The provided function receives the event object as its single argument. The event object has the following properties: type – indicates which event was dispatched:
settings – button settings wrapper – button DOM-element |
string |
|
|
Texts |
|||
Property | Default | Type | Demo |
rtl
Right-to-left (RTL) |
false | bool |
true:
|
i18n_like
Like button text |
Like | string | - |
i18n_dislike
Dislike button text |
Dislike | string | - |
i18n_after_like
Like button text after liking |
Like | string | - |
i18n_after_dislike
Dislike button text after disliking |
Like | string | - |
i18n_like_tooltip
Like button tooltip |
I like this | string | - |
i18n_dislike_tooltip
Dislike button tooltip |
I dislike this | string | - |
i18n_unlike_tooltip
Like button tooltip after liking |
Unlike | string | - |
i18n_undislike_tooltip
Dislike button tooltip after disliking |
Undislike | string | - |
i18n_share_text
Text before share buttons in the popup |
Would you like to share? | string | - |
i18n_popup_close
Popup close button text |
Close | string | - |
i18n_popup_text
Popup text when sharing is disabled |
Glad you liked it! | string | - |
i18n_popup_donate
Text before donate buttons in the popup |
Show gratitude in the form of a donation | string | - |
Custom Theme |
|||
Property | Default | Type | Demo |
btn_size
Button Size |
22 | integer | - |
icon_l
Like Icon |
thmb5-u | string | - |
icon_d
Dislike Icon |
thmb5-d | string | - |
icon_l_url
Like Icon URL |
string | - | |
icon_d_url
Dislike Icon URL |
string | - | |
icon_l_url_v
Like icon URL after voting |
string | - | |
icon_d_url_v
Dislike icon URL after voting |
string | - | |
icon_size
Icon Size |
14 | integer | - |
icon_l_c
Like Icon Color |
#777777 | string | - |
icon_d_c
Dislike Icon Color |
#777777 | string | - |
icon_l_c_v
Like icon color after voting |
#fbae05 | string | - |
icon_d_c_v
Dislike icon color after voting |
#fbae05 | string | - |
label_c
Label Color |
#555555 | string | - |
label_c_v
Label color after voting |
#3b3b3b | string | - |
counter_l_c
Likes Counter Color |
#000000 | string | - |
counter_d_c
Dislikes Counter Color |
#000000 | string | - |
bg_c
Background Color |
#fafafa | string | - |
bg_c_v
Background After Voting |
#fafafa | string | - |
brdr_c
Border Color |
#c6c6c6 | string | - |
f_size
Font Size |
12 | integer | - |
f_family
Font Family |
Arial | string | - |
label_fs
Label Font Style |
b | string | - |
counter_fs
Counter Font Style |
r | string | - |