[WordPress] 外掛分享: My Favorites

WordPress 外掛 My Favorites 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「My Favorites」是 2021-01-19 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2024-10-19,距離現在已有 197 天。
  • 外掛最低要求 WordPress 4.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.4.0 以上。
  • 有 13 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

takashimatsuyama |

外掛標籤

likes | favorites | accessibility | favorite posts |

內容簡介

這款外掛可以讓使用者儲存喜愛的文章並列出清單。
這款外掛很簡單,只要安裝後使用簡碼,即可儲存使用者喜愛的文章並在任何地方顯示清單。
已登入使用者的資料儲存在使用者 meta 中,其他使用者的資料則儲存在網路儲存(Web Storage)中。

使用方法

簡碼: [ccc_my_favorite_select_button post_id="" style=""]
簡碼: [ccc_my_favorite_list_menu slug="" text="" style=""]
簡碼: [ccc_my_favorite_list_results class="" style=""]

有簡碼的頁面可以使用清單視圖 ([ccc_my_favorite_list_results])。

「載入更多」是以「posts_per_page」來顯示。
當使用者的喜愛文章數量超過「posts_per_page」時顯示它。

簡碼: [ccc_my_favorite_list_results posts_per_page="10"] 預設為一百篇。

您可以顯示文章的「摘要」。
這個值是摘要的字元長度。
如果不需要,可以使用「no excerpt」 或「0」。

簡碼: [ccc_my_favorite_list_results excerpt="30"]

如果需要,您可以更改清單視圖的程式碼。

簡碼: [ccc_my_favorite_list_custom_template style=""]

有簡碼的頁面可以使用自訂清單視圖 ([ccc_my_favorite_list_custom_template])。
將您清單視圖的函數 (function ccc_my_favorite_list_custom_template( $my_favorite_post_id ) { }) 添加至 您的佈景主題/functions.php
$my_favorite_post_id 是陣列。
style=”none” 可以取消清單的預設 CSS 樣式。

詳細的使用說明正在準備中。

了解更多

這款外掛在 GitHub 上開發

原文外掛簡介

Save user’s favorite posts and list them.
This plugin is simple. You can save the user’s favorite posts just a install and display them anywhere you want with just a shortcode.
The logged-in user’s data is saved in the user meta. Other user’s data is saved to Web Storage (localStorage).
Usage

Shortcode: [ccc_my_favorite_select_button post_id="" style=""]
Shortcode: [ccc_my_favorite_list_menu slug="" text="" style=""]
Shortcode: [ccc_my_favorite_list_results class="" style=""]

For pages with a shortcode for list view ([ccc_my_favorite_list_results]).
“Load More” is displayed with “posts_per_page”.
It will be displayed when the user has more favorite posts than “posts_per_page”.

Shortcode: [ccc_my_favorite_list_results posts_per_page="10"] default is 100 posts.

You can display the post’s “excerpt”.
This value is the char length.
If not needed, use “no excerpt” or “0”.

Shortcode: [ccc_my_favorite_list_results excerpt="30"]

If you want, you can change the code for list view yourself.

Shortcode: [ccc_my_favorite_list_custom_template style=""]

For pages with a shortcode for custom list view ([ccc_my_favorite_list_custom_template]).
Add the function (function ccc_my_favorite_list_custom_template( $my_favorite_post_id ) { }) for your list view to your-theme/functions.php.
$my_favorite_post_id is array.
style=”none” excludes the default CSS for the list.
Detailed usage is under preparation.
Discover More
This plugin is developed on GitHub

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「My Favorites」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.2.1 |

延伸相關外掛(你可能也想知道)

  • Favorites 》取得函式: get_favorites_button($post_id, $site_id), 列印函式: the_favorites_button($post_id, $site_id), 短代碼: [favorite_button post_id="" site...。
  • Like This 》這是一個簡單的外掛程式,啟發自 Facebook 的「讚」功能,允許訪客在不想留言的情況下,按下「我喜歡」的按鈕來表達他們的喜好。。
  • WP Voting Contest Lite 》這是一個易於使用的投票比賽 WordPress 外掛程式。只需要讓使用者在比賽中投票照片或圖像即可。, 安裝和啟用這個外掛程式,將在每張參賽者圖像下方放置一個投...。
  • GamiPress – WP Ulike integration 》通過功能強大的遊戲化外掛程式GamiPress,讓您的WP Ulike互動更加有趣!, 此外掛會自動連接GamiPress和WP Ulike,添加新的活動事件。, 新事件, , 喜歡任何內...。
  • Tribulant Gallery Voting 》這個 WordPress 外掛將讓使用者可以投票/喜歡照片或圖片。, 安裝並啟用此外掛將在每個使用 短碼的 WordPress 圖片/相片集中的每張照片下方放置一個...。
  • Lotos Likes 》將「讚」的功能加入您的文章和頁面中。透過小工具顯示最受歡迎的文章。。
  • CS Likes Counter 》Counter 外掛能讓您計算使用者對文章的讚和倒讚數。, 計算功能是使用 AJAX。, 為防止作弊,每個 IP 地址每 10 分鐘才能投票一次。, 使用方法, 只需要在 singl...。
  • Activity Reactions For Buddypress 》這個外掛可以幫助您在任何活動更新上使用類似 Facebook 的“七種情感”反應。與單調和老掉牙的“喜歡”活動更新的方式說再見,使用革命性的情感,例如——喜歡、愛...。
  • WP likes 》WP Likes 讓訪客可以直接在您的文章上按「喜歡」,無需登入帳號。, 可簡單地自訂以適用於各種不同的情境。, 您可以在側邊欄小工具或獨立頁面上顯示訪客最喜愛...。
  • Post And Page Reactions 》此外掛可以讓您在任何文章或頁面上使用類似 Facebook 7 種不同的情感回應。除了「讚」之外,還有「愛心」、「感謝」、「哈哈」、「哇」、「傷心」和「生氣」...。
  • Woo Helper 》這個外掛可輕鬆地擴展 WooCommerce 的功能。使用者可以在 WooCommerce 商店中喜歡商品,外掛還提供支援系統和許多其他功能。在您的 WooCommerce 商店中的所有...。
  • P2 Likes 》P2 Likes 將 Facebook 的功能引入你的 P2 網站中,你的使用者現在可以透過點擊「讚」的按鈕來表達對討論串的興趣。。
  • WP Post Likes 》想要添加一個簡單高效的文章按讚按鈕嗎?, 這個外掛提供 wp_post_likes() 模板標籤,可以生成一個簡單高效的按讚按鈕。請查看安裝指南在你的佈景主題中使用。...。
  • Upvotr 》一個 WordPress 外掛,可讓使用者簡單地對文章物件進行投票。。
  • Simple custom post likes 》此外掛會附加一個自訂按鈕,使用者可以在前端點擊讚賞任何類型的文章。, 每個使用者/ IP 位址僅允許一次讚賞。, 使用者點擊同一按鈕即可取消讚賞。, 此外掛是...。

文章
Filter
Apply Filters
Mastodon