Apraksts
Add an applause/like/upvote button to your content. Click counts are stored in your WordPress database. Votes are tracked by hashed IP address.
By default, an applause button is added to the top and bottom of the post content area, which can easily be styled with CSS.
Or use a simple shortcode:
[applause]
Or use a simple shortcode with the following available parameters:
[applause url="https://example.com/" color="purple"]
Or use the direct HTML code:
<div class="applause"><applause-button url="https://example.com/" color="purple"></applause-button></div>
Change the icon color with CSS:
.applause{color:red}
Uzstādīšana
Automatic
- From your WordPress Admin, navigate to: Plugins > Add New
- Search for: Applause
- Install it
- Activate it
Manual
- Download
- Unzip
- Upload to /plugins/ folder
- Activate
BUJ
-
It’s not showing the full like count?
-
If you’re using caching plugin like WP Rocket, go to Settings > WP Rocket > Advanced Rules > Never Cache URL and add
/wp-json/applause/. This ensures the like count API responses are always fresh. Other caching plugins will have a similar setting.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Applause” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Applause” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
0.2
- Replaced third-party API with local database storage
- Simplified to single like/unlike toggle
- Votes tracked by hashed IP address
0.1
- New