Settings

Property Default Type Demo
theme

Theme:
  • custom - Custom Theme
  • 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
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:


lang

Language:
  • auto - Language is detected automatically
  • en - English
  • ru - Русский
  • af - Afrikaans
  • ar - العربية
  • hy - Հայերեն
  • bn - বাংলা
  • bg - Български език
  • ca - Català
  • zh_CN - 简体中文
  • cs - Čeština
  • nl - Nederlands
  • fa - فارسی
  • fi - Suomi
  • fr - Français
  • da - Dansk
  • de - Deutsch
  • el - Ελληνικά
  • he - עברית
  • hu - Magyar
  • id - Bahasa Indonesia
  • it - Italiano
  • ja - 日本語
  • kk - Қазақ тілі
  • ko - 한국어
  • lt - Lietuvių kalba
  • ne - नेपाली
  • no - Norsk bokmål
  • pl - Polski
  • pt - Português
  • pt_BR - Português do Brasil
  • ro - Română
  • es - Español
  • sv - Svenska
  • th - ไทย
  • tr - Türkçe
  • uk - Українська мова
  • vi - Tiếng Việt
auto string en:

ru:

af:

ar:

hy:

bn:

bg:

ca:

zh_CN:

cs:

nl:

fa:

fi:

fr:

da:

de:

el:

he:

hu:

id:

it:

ja:

kk:

ko:

lt:

ne:

no:

pl:

pt:

pt_BR:

ro:

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 -
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): 990
Current page URL string -
site_id

Specify Site ID in following cases:
  • Your website has multiple domain names (aliases).
  • Your site is local – located on a local server and is available from your local network only and NOT available from the Internet.
  • Your site is path-based – one of sites located in different subdirectories of one domain and you want to have statistics separate from other sites.
You can find Site ID on your Websites page after adding your website to your account.
  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:
counter_type

Counter type:
  • number
  • percent
  • subtract_dislikes
  • single_number
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 - Without thousands separator (3700)
  • space - Space as thousands separator (3 700)
  • comma - Comma as thousands separator (3,700)
  • period - Period as thousands separator (3.700)
  • apo - Apostrophe as thousands separator (3'700)
  • km - K for thousands (3.7K), M for millions (15.2M)
no string km:
counter_padding

Counter mask
  string 0000000:
counter_zero_show

Show zero value in counter
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
{"purpose":"LikeBtn","payment_systems":[{"system":"PayPal","account":"info@likebtn.com","amount_fractional":"50","amount_integer":"1","currency":"USD"},{"system":"Bitcoin","account":"1BTCorgHwCg6u2YSAWKgS17qUad6kHmtQW"},{"system":"Google Wallet","account":"likebtn.com@gmail.com"},{"system":"Yandex.Money","account":"likebtn.com","amount_fractional":"50","amount_integer":"20"},{"system":"WebMoney","account":"likebtn.com"},{"system":"Qiwi","account":"79301518250","amount_fractional":"50","amount_integer":"20"},{"system":"SmsCoin","account":"116884","language":"english"},{"system":"Zaypay","account":"133387"}]}


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
  • small
  • medium
  • large
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: 2017-01-18T08: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=34:
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.
false 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:
  • "likebtn.loaded"
  • "likebtn.click"
  • "likebtn.like"
  • "likebtn.unlike"
  • "likebtn.dislike"
  • "likebtn.undislike"
settings – button settings
wrapper – button DOM-element
  string
function myHandler(event) {
    if (event.type != "likebtn.loaded") {
        alert(event.type);
    }
}

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 -
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 -


Didn't find what you need? Visit our FAQ