Περιγραφή
Posts Like Dislike is the Free WordPress Plugin to enable Like and Dislike Icons for default WordPress Posts or any other post types. Choose Thumbs Up or Thumbs Down, Smiley or Frown, Right or Wrong icons or your own custom like dislike icons, choice is yours.
Posts Like Dislike increases the interaction with the WordPress posts/post types by enabling likes and dislikes buttons along with the count.
Posts Like Dislike Features
- Status
- Enable or Disable Posts Like Dislike for posts/page or any other post types
- Like Dislike Position
- After Post
- Before Post
- Like Dislike Display
- Display Both Like and Dislike
- Display Like Only
- Display Dislike Only
- Like Dislike Restriction
- Cookie Restriction
- IP Restriction
- No Restriction
- Like Dislike Order
- Like Dislike
- Dislike Like
- 4 Pre Available Icon Templates
- Thumbs Up Thumbs Down
- Heart or Heart Beat
- Right or Wrong
- Smiley or Frown
- Custom Like Dislike Icon Upload feature
- Icon Color Configuration
- Count Color Configuration
Shortcode
[posts_like_dislike id=post_id]
Please replace post_id with the id of the post or remove id parameter for considering the post id as the id of global $post object
Custom Function
<?php echo do_shortcode('[posts_like_dislike id=post_id]');?>
Please replace post_id with the id of the post or remove id parameter for considering the post id as the id of global $post object
If you are using in your single.php template file then you can use below code
Στιγμιότυπα
Εγκατάσταση
- Upload the plugin files to the
/wp-content/plugins/posts-like-dislike
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Posts Like Dislike settings page inside the Posts Menu to configure the plugin
Συχνές Ερωτήσεις
-
What does this plugin do ?
-
This plugin provides the ability to add the like and dislike buttons for WordPress native posts.
-
I have enabled the plugin but like and dislike icons are not being displayed. What may be the reason ?
-
Our plugin uses the_content filter to append like and dislike icons . So if your active theme’s posts template doesn’t use the_content filter to display posts content then our plugin won’t be able to display like and dislike icons.
-
Is there any hooks available to extend the plugin ?
-
Our plugin does contains many actions and filters which are described inside the Help Section
-
I want to display in the post detail template. Do you have a custom function?
-
We do have a shortcode [posts_like_dislike] which can also be used as custom function through
<?php echo do_shortcode('[posts_like_dislike]');?>
-
Can I disable fontawesome?
-
Yes you can disable the fontawesome as well from the display settings and also you can use your own icons by using custom icon option in the display settings
-
Can I undo like and dislike after already liking or disliking?
-
Yes you can undo like or dislike by clicking the like or dislike. You can also give the different icon color for already liked or disliked icon from the display settings.
Κριτικές
Συνεισφέροντες & Προγραμματιστές
“Posts Like Dislike” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Posts Like Dislike” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
1.1.5
- Fix: Ommitted like dislike icon being appended in RSS content
1.1.4
- Fixed user ip related issue
1.1.3
- Fixed a security issue
1.1.2
- Fixed security issue
1.1.1
- Fixed security issue
1.1.0
- Added undo feature for like and dislike action
- Added already liked disliked icon color option
1.0.9
- Fixed few undefined index warnings
- Added fontawesome loading disable in the frontend option
1.0.8
- WP 6.0 compatibility checked
1.0.6
- WP 5.7 compatibility checked
1.0.5
- Fixed login restriction mode issue
- Fixed ajax load issue
- Fixed some security issues
1.0.4
- WP 5.6 compatibility checked
1.0.3
- Added Post Like Dislike Count Info Metabox
- Added an option to display 0 by default
- Added alt tag in the custom image
- Removed default post type select
- Added [posts_like_dislike] shortcode
1.0.2
- WP 5.4 compatibility checked
1.0.1
- Added custom post type support
- Updated the backend settings save mechanism
- Added array sanitization functions
1.0.0
- Initial plugin commit to wordpress.org repository