iamanishroy / pagelike

A simple like button for your likeable website ✌✌

Home Page:https://pagelike.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PageLike

An opensource Web widget that allows you to quickly and easily add a like button to your very liked website.

Example

Plugin Reference

Simply include the JavaScript <script> tag and CSS <link> tag in the <head> tag to seamlessly integrate this into your website.

Script Tag

<script defer src="https://unpkg.com/pagelike-plugin@1.2.92/dist/js/index.js"></script>

Custom Attributes

Attribute Default Value Description
data-pl-custom true true enables using custom attributes
data-pl-button-location TR TL | TR | BL | BR defines the location of the button
data-pl-z-index 1 Number defines custom z-index for button
data-pl-level path path | host host: every page within that domain will have same counter; path: every page will have a separate counter

Link Tag

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pagelike-plugin@1.2.92/dist/css/styles.css" />

That's all!! You are now ready to start receiving likes on your page.

License

MIT

Contributing

Contributions are always welcome!

Please adhere to this project's code of conduct.

Roadmap

  • Add react plugin
  • Handle view count

About

A simple like button for your likeable website ✌✌

https://pagelike.js.org

License:MIT License


Languages

Language:JavaScript 64.6%Language:SCSS 27.1%Language:HTML 8.4%