
內容簡介
HeartThis 是一個 WordPress 外掛,它會新增一個最小化的「愛心」按鈕,讓訪客留言並告訴你他們真正喜歡你的內容,使用方法與 Twitter 上的心形按鈕或 Facebook 上的「讚」功能相似。
使用者按下愛心按鈕後,他們的投票會被計算並顯示為一個愛心。HeartThis 有一個內建的熱門文章小工具,可以按擁有的愛心數量排序文章。你也可以根據存檔的心數資料,自由地在自己的自訂佈景主題和外掛中使用。
HeartThis 可以自動顯示愛心在任何文章類型的底部,這可以從 WordPress 管理後台的選項畫面中選擇。如果你想進一步控制你的愛心顯示在哪裡和如何顯示,你可以使用 [heart_this] 簡碼或模板標籤 heart_this_hearts() 來在你的內容或佈景主題中顯示它們。
貢獻
如果你希望提交代碼修補或以任何其他方式做出貢獻,請在 GitHub 上 fork 這個外掛。https://github.com/wpsitecare/heart-this
外掛標籤
開發者團隊
原文外掛簡介
HeartThis adds a minimalistic “heart” button to let your visitors tell you when they really enjoy your content. It works similar to the way hearts on Twitter or Likes on Facebook work.
When a user clicks the heart button, their vote is counted and displayed as a single heart. HeartThis comes with a built-in popular posts widget that sorts posts based on the number of hearts they have. You can also use the saved “hearts” information in your own custom themes and plugins however you like.
HeartThis has the ability to automatically display hearts at the bottom of any post type, which can be selected from the options screen inside the WordPress admin dashboard. If you’d like more control over where and how your hearts display, you can also use the [heart_this] shortcode or heart_this_hearts() template tag to display them inside your content or theme.
Contributing
If you’d like to submit code patches or contribute in any other way, please fork the plugin on GitHub. https://github.com/wpsitecare/heart-this
