{"id":396199,"date":"2024-03-23T08:00:00","date_gmt":"2024-03-23T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/like-dislike-posts-products\/"},"modified":"2025-10-27T00:32:00","modified_gmt":"2025-10-27T00:32:00","slug":"like-dislike-posts-products","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/like-dislike-posts-products\/","title":{"rendered":"Like Dislike, Star Ratings, Favorites &#038; Post Views &#038; Share \u2013 Posts, Comments, Products"},"content":{"rendered":"<p><strong>Like Dislike, Star Ratings, Favorites & Post Views & Share \u2013 Posts, Comments, Products<\/strong> is a lightweight, user-friendly plugin that lets users engage with posts, comments, and WooCommerce products using <strong>Like<\/strong>, <strong>Dislike<\/strong>, <strong>Star Rating<\/strong>, <strong>Post View Tracking<\/strong>, and <strong>Favorites<\/strong> (wishlist-like system).<\/p>\n<p>Built with performance in mind, the plugin uses AJAX for seamless interaction and offers customization for labels, icon colors, display positions, view counters, tooltips, and more.<\/p>\n<blockquote>\n<p>\u26a0\ufe0f <strong>Note:<\/strong> The product star rating system in this plugin is a <strong>custom-built functionality using its own database table<\/strong>, not the default WooCommerce or WordPress rating\/comments meta. This ensures better performance and independent control over ratings.<\/p>\n<\/blockquote>\n<h3>\ud83c\udfaf Key Features<\/h3>\n<h4>\ud83d\udd25 New Admin columns functionality (Added in 2.3)<\/h4>\n<ul>\n<li>Admin columns (Likes, Dislikes, Ratings, Reads) now display only for selected post types.<\/li>\n<li>Ratings column shows average rating instead of sum (e.g., 3.5\/5).<\/li>\n<li>Comment Likes\/Dislikes columns can be enabled via backend option.<\/li>\n<li>Fully supports WooCommerce products with proper column alignment.<\/li>\n<li>Read count tracking added per post\/product.<\/li>\n<li>Default values displayed when no data exists; ratings rounded to 1 decimal.<\/li>\n<\/ul>\n<h4>\ud83d\udd25 Update Design (Added in 2.2)<\/h4>\n<ul>\n<li>Update uninstall file code and remove tables and options data when uninstall<\/li>\n<li>Fixed ratings structure<\/li>\n<\/ul>\n<h4>\ud83d\udd25 Progress \/ Ratio Bars (Added in 2.1)<\/h4>\n<ul>\n<li>Added <strong>Like\/Dislike ratio bars<\/strong> for posts and comments.<\/li>\n<li>Added <strong>Rating ratio bar<\/strong> for star ratings.<\/li>\n<li>Ratio bars visually show the percentage difference between likes\/dislikes and rating scores.<\/li>\n<li>Smoothly updates instantly when user interacts (AJAX powered).<\/li>\n<li>Fully responsive and inherits theme styles for smooth integration.<\/li>\n<li>Added admin settings for ratio bar options<\/li>\n<\/ul>\n<h4>\ud83d\udd17 Update Admin UI (Added in 2.0)<\/h4>\n<ul>\n<li>Admin settings now include a dedicated Social Share tab in the plugin settings page.<\/li>\n<li>Added custom text field to display a label before the share icon (e.g., \u201cShare this post:\u201d).<\/li>\n<li>Improved admin UI for better usability and tab navigation.<\/li>\n<li>Bug fixes and minor improvements for like\/dislike and ratings system.<\/li>\n<\/ul>\n<h4>\ud83d\udd17 Social Share Buttons (Added in 1.9)<\/h4>\n<ul>\n<li>Add share icon automatically after post\/product content.<\/li>\n<li>Modern popup showing popular share platforms (Facebook, X\/Twitter, LinkedIn, WhatsApp, Telegram, Pinterest, Reddit, Tumblr, Email, Copy Link).<\/li>\n<li>Admin setting to select which post types display the share button.<\/li>\n<li>Uses Font Awesome\/Dashicons for platform icons.<\/li>\n<li>Works responsively on all devices.<\/li>\n<\/ul>\n<h4>\u2764\ufe0f Add to Favorites (Added in 1.8)<\/h4>\n<ul>\n<li>New: Added <strong>Shortcode:<\/strong> <code>[ldppp_user_history]<\/code> to display logged-in user\u2019s interaction history.<\/li>\n<li>New: Display user\u2019s Likes and Dislikes with post type labels (Post, Product, Page, or CPT).<\/li>\n<li>New: Show Ratings history with post\/product title, rating value, and post type.<\/li>\n<li>New: Show Comment Votes history including comment excerpt, related post link, post type, and user\u2019s action (Like\/Dislike).<\/li>\n<li>Display a <strong>heart icon<\/strong> at the end of post content.<\/li>\n<li>Users can <strong>add\/remove posts to\/from favorites<\/strong> with one click.<\/li>\n<li>Supports <strong>all custom post types (CPTs)<\/strong>.<\/li>\n<li>Admin settings to:\n<ul>\n<li>Enable\/Disable Favorites feature.<\/li>\n<li>Select which post types display Favorites.<\/li>\n<li>Customize label text for Favorites.<\/li>\n<li>Set active and inactive heart icon colors.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Shortcode:<\/strong> <code>[ldppp_user_favorites]<\/code>\n<ul>\n<li>Display a logged-in user\u2019s favorites list on any page or section.<\/li>\n<\/ul>\n<\/li>\n<li>Tooltip support for Favorites icon.<\/li>\n<\/ul>\n<h4>\ud83d\udc4d Like \/ \ud83d\udc4e Dislike Buttons<\/h4>\n<ul>\n<li>Interactive Like and Dislike buttons for posts, comments, and products.<\/li>\n<li><strong>Choose how counts are displayed<\/strong> \u2013 Numbers or Percentages.<\/li>\n<li>Customize labels and icon colors.<\/li>\n<li>Optionally hide counts for Likes and Dislikes.<\/li>\n<li>Dynamic option to select which post types display Like\/Dislike.<\/li>\n<li>Restrict voting to logged-in users only (optional).<\/li>\n<\/ul>\n<h4>\u2b50 Star Ratings System<\/h4>\n<ul>\n<li>Display 1\u20135 star rating on posts and WooCommerce products.<\/li>\n<li>Custom product rating system using its own database table.<\/li>\n<li>Option to hide star ratings on post detail pages.<\/li>\n<li>Show average rating instantly with AJAX.<\/li>\n<li>Restrict ratings to logged-in users (optional).<\/li>\n<\/ul>\n<h4>\ud83d\udc41\ufe0f Post View \/ Read Tracking<\/h4>\n<ul>\n<li>Enable post view\/read counter with anti-spam options.<\/li>\n<li>Prevent multiple counts from the same IP.<\/li>\n<li>Configure how much content (%) must be read before counting.<\/li>\n<li>Configure how much time (seconds) must be spent before counting.<\/li>\n<li>Choose how to display views \u2013 as icons or text.<\/li>\n<li>Meta box inside post\/product edit screen shows:\n<ul>\n<li>Likes  <\/li>\n<li>Dislikes  <\/li>\n<li>Views  <\/li>\n<li>Ratings  <\/li>\n<li>Favorites  <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>\u26a1 AJAX-Powered Interaction<\/h4>\n<ul>\n<li>All actions (like\/dislike\/star\/view\/favorites) run without page reload.<\/li>\n<li>Real-time updates for user feedback.<\/li>\n<\/ul>\n<h4>\ud83d\udee1\ufe0f Anti-Spam & Access Control<\/h4>\n<ul>\n<li>Restrict multiple votes\/views\/favorites via IP, cookies, or user login.<\/li>\n<li>Allow\/disallow guest voting or favorites.<\/li>\n<li>Restrict features to logged-in users (optional).<\/li>\n<\/ul>\n<h4>\ud83c\udfa8 Highly Customizable<\/h4>\n<ul>\n<li>Custom label text for Like\/Dislike buttons (posts, products, comments).<\/li>\n<li>Custom label text for Favorites.<\/li>\n<li>Icon color controls for Like, Dislike, and Favorites (active\/inactive).<\/li>\n<li>Counter display type (Number or Percentage).<\/li>\n<li>Position controls: before\/after content or buttons.<\/li>\n<li>View counter display as <strong>Icon<\/strong> or <strong>Text<\/strong>.<\/li>\n<li>Fully responsive and theme-compatible.<\/li>\n<\/ul>\n<h4>\ud83d\udcac Comments Reactions<\/h4>\n<ul>\n<li>Enable comment Like\/Dislike voting.<\/li>\n<li>Custom label for comment buttons (e.g., \u201cWas this comment helpful?\u201d).<\/li>\n<li>Restrict to logged-in users or allow guests.<\/li>\n<\/ul>\n<h4>\ud83e\uddf0 Developer-Friendly<\/h4>\n<ul>\n<li>Clean, lightweight code.<\/li>\n<li>Includes hooks and filters for developers.<\/li>\n<\/ul>\n<h3>Privacy & Supported Networks<\/h3>\n<p>This plugin itself does not collect or send any personal data to external servers.<br \/>\nAll Likes, Dislikes, Ratings, Favorites, and Post View counts are stored locally in your WordPress database.<\/p>\n<p>The social share buttons included in the plugin redirect users to external platforms. These platforms may collect data according to their own privacy policies. The following external services are used to enable sharing:<\/p>\n<p>  Network<br \/>\n  Share URL<br \/>\n  Privacy Policy<\/p>\n<p>  Facebook<br \/>\n  https:\/\/www.facebook.com\/sharer\/sharer.php<br \/>\n  <a href=\"https:\/\/www.facebook.com\/policy.php\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  Twitter<br \/>\n  https:\/\/twitter.com\/intent\/tweet<br \/>\n  <a href=\"https:\/\/twitter.com\/privacy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  LinkedIn<br \/>\n  https:\/\/www.linkedin.com\/shareArticle<br \/>\n  <a href=\"https:\/\/www.linkedin.com\/legal\/privacy-policy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  Pinterest<br \/>\n  <a data-pin-do=\"embedPin\" href=\"https:\/\/pinterest.com\/pin\/create\/button\/\" rel=\"nofollow ugc\"><\/a><br \/>\n  <a href=\"https:\/\/policy.pinterest.com\/en\/privacy-policy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  WhatsApp<br \/>\n  https:\/\/api.whatsapp.com\/send<br \/>\n  <a href=\"https:\/\/www.whatsapp.com\/legal\/privacy-policy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  Gmail<br \/>\n  https:\/\/mail.google.com\/mail\/<br \/>\n  <a href=\"https:\/\/policies.google.com\/privacy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  Telegram<br \/>\n  https:\/\/t.me\/share\/url<br \/>\n  <a href=\"https:\/\/telegram.org\/privacy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  Reddit<br \/>\n  https:\/\/www.reddit.com\/submit<br \/>\n  <a href=\"https:\/\/www.redditinc.com\/policies\/privacy-policy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  Tumblr<br \/>\n  https:\/\/www.tumblr.com\/widgets\/share\/tool<br \/>\n  <a href=\"https:\/\/www.tumblr.com\/policy\/en\/privacy\" rel=\"nofollow ugc\">Privacy Policy<\/a><\/p>\n<p>  Email<br \/>\n  Uses browser-based default email client<br \/>\n  No external service<\/p>\n<p>  Print<br \/>\n  Opens the print dialog in the user\u2019s browser<br \/>\n  No external service<\/p>\n<p>  Copy<br \/>\n  Copies the current page URL to clipboard<br \/>\n  No external service<\/p>\n<blockquote>\n<p>\u26a0\ufe0f Note: Email, Print, and Copy actions are handled locally in the user\u2019s browser. The plugin never sends this data to any external service.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Add AJAX Like\/Dislike, star ratings, post views, comment reactions, and favorites, share for posts or WooCommerce products to boost engagement.<\/p>\n","protected":false},"author":65,"featured_media":396200,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Like Dislike, Star Ratings, Favorites & Post Views & Share \u2013 Posts, Comments, Products - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Add AJAX Like\/Dislike, star ratings, post views, comment reactions, and favorites, share for posts or WooCommerce products to boost engagement."},"footnotes":""},"categories":[1],"tags":[7353,2544,10001,10485,489],"class_list":["post-396199","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-comment-rating","tag-favorites","tag-like-dislike","tag-post-views","tag-star-rating"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/396199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=396199"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/396199\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/396200"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=396199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=396199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=396199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}