Air Reactions #8 in Social & Sharing
A developer-friendly WordPress-plugin for adding customizable reactions (likes, hearts, dislikes, shrugs or whatever you feel like) to your content.
by Digitoimisto Dude Oy, Niku Hietanen · github.com/digitoimistodude/air-reactions
★ 24stars
4forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/digitoimistodude/air-reactions/archive/refs/heads/master.zipFrom the readme
Air Reactions
A developer-friendly WordPress-plugin for adding customizable reactions (likes, hearts, dislikes, shrugs or whatever you feel like) to your content.
Usage
Basic usage
Use shortcode [air-reactions] in your content or call hook airreactionsdisplay on your template file
It will echo the reaction container with default buttons where called. You can specify the reaction types using 'airreactionstypes' filter.
Advanced usage
Available parameters are:
Example:
This will return the markup for reacting the post id '5' with only hearts
Same as a shortcode (echoing is always disabled in shortcode):
Usage in comments
Prefix comment id with comment- to enable reaction for a comment
Hooks
Load default styles
Set false to not load reaction styles from plugin, if you are going to write them in your theme
Default: true
Set allowed post types
Liking is allowed only on these post types.
Default: [ 'post', 'page', 'comment' ]
Allow only registered users to react
If this is set to true, only logged in users can react. On default mode where everyone can react, use localstorage and FingerprintJS to set browser fingerprints to reaction events and save t
Read the full README on GitHub →