前言介紹
- 這款 WordPress 外掛「User Post Collections」是 2022-08-09 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2024-11-17,距離現在已有 168 天。
- 外掛最低要求 WordPress 4.9.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.0 以上。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
tauri77 |
外掛標籤
user lists | Post Collections | woocommerce wishlist |
內容簡介
此外掛會在 WordPress REST API 中加入自訂端點,並提供一個客戶端,可在彈出式對話框中顯示操作使用者清單。
預設清單類型
此外掛提供 6 種類型的清單:
* 簡單清單:根據添加的項目進行排序的簡單清單。
* 編號清單:具有編號項目的清單。您可以編輯顯示項目的順序。
* 投票:您可以詢問他人的意見。
* 購物車:添加項目到虛擬購物車中的清單(僅適用於 Woocommerce)。
* 最愛清單:此類型的清單對用戶始終存在,即用戶不會創建它們,只需添加項目即可。
* 書籤:與最愛等效。
可以停用所有清單類型。
如果您是開發人員,正在製作主題,您可以註冊自己的清單類型。
功能
可配置可以建立清單的角色(對每種清單類型)。
可配置可加入清單的文章類型(對每個清單類型)。
清單的標題和描述可編輯(在每種清單類型中配置)
清單項目可附上評論(在每種清單類型中可配置)
清單可以是私人或公開的(在每種清單類型中的可配置選項)
每個清單的最大項目數(在每個清單類型中可配置)
公共清單的分享按鈕
原文外掛簡介
This plugin allows users to create lists of different types (simple, numbered, cart and poll) and share them.
The items of these lists are the posts of the types to configure (Ex: post, page, product, other CPT, etc).
Create classic lists like Favorites, Bookmarks, Wish List. Or poll lists like “Which one should I buy?”, or shopping cart lists of every month, etc.
It is flexible and extensible.
The plugin adds custom endpoints to the wordpress REST API and includes a client that will display operations on user lists in a modal.
Default lists types
The plugin comes with 6 types of lists:
* Simple: Simple list sorted according to their items added.
* Numbered: List with your numbered items. You can edit the order in which the items will be displayed.
* Poll: You can ask others for their opinion.
* Shopping Cart: List to add items to a virtual cart ( only on Woocommerce ).
* Favorites This type of list conceptually always exists for users, that is, the user does not create them but simply adds items.
* Bookmarks Equivalent to favorites.
All list types can be disabled.
If you are a developer, and you are making a theme you can register your own list types.
Features
Roles that can create lists is configurable (for each type of list).
Post type that can be added to lists is configurable (per list type).
Title and description of the lists can be editable (configurable in each type of list)
List items can be saved with a comment (configurable in each type of list)
The lists can be private or public (configurable options in each type of list)
Max items per list (configurable in each type of list)
Share buttons for public lists
Collections Archive
The plugin adds a new page to the site where all the collections of the users are shown. This page can be disabled/enabled on the plugin settings.
This page is also used as the basis for displaying each list, but disabling the archive page from the plugin settings does not disable the pages of each collection..
Archive URL example: https://domain.com/user-post-collection/
Collection URL example: https://domain.com/user-post-collection/list-x-by-tauri/
Shortcode
You can use the shortcode [user_posts_collections] to show the lists. Example:
[user_posts_collections type="vote" tpl-items="cards" exclude="32,45"]
[user_posts_collections author="23" tpl-items="list"]
[user_posts_collections limit="5" pagination="1" tpl-cols="4,4,4,3,2,1"]
[user_posts_collections author-name="tauri" orderby="title" order="ASC" limit=10 pagination=1]
[user_posts_collections include="23,31,412"]
Shortcode options
type: simple|numbered|vote|favorites|bookmarks|cart
author-name: Author username
author: Author ID
include: Lists ID to include (comma separated)
exclude: Lists ID to exclude (comma separated)
orderby: ID|views|vote_counter|count|created|modified|title
order: ASC|DESC
limit: Max lists to show
pagination: Show pagination. Set to 1 for enabled. Default: 0
id: Set unique string. Only letters, numbers and “-“. Used for pagination.
tpl-items: (card|list) List type
tpl-cols: Number of columns, comma separated: xxl,xl,lg,md,sm,xs (for card list type) Default: 4,4,4,3,2,1
tpl-cols-(xs|sm|md|lg|xl|xxl): (1|2|3|4|5) Number of columns (for card list type)
tpl-thumbs: Default thumbnails layout. Set to “off” to not show
tpl-thumbs-(xs|sm|md|lg|xl|xxl): (0|2×2|2×3|3×2|4×1|[1-4]x[1-4]) Thumbnails layout
tpl-desc: (on|off) Show description. Set to “off” to hide description
tpl-user: (on|off) Show author. Set to “off” to hide user
tpl-meta: (on|off) Show meta. Set to “off” to hide meta
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「User Post Collections」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.9.0 | 0.9.1 | trunk | 0.8.27 | 0.8.28 | 0.8.29 | 0.8.30 | 0.8.31 | 0.8.32 |
延伸相關外掛(你可能也想知道)
WP-Waitlist 》在任何文章中加入一個或多個「列表」。你的網站註冊用戶可以加入或離開此列表。列表可以用於任何目的(例如活動 RSVP、進行投票或調查等),並且可以輕鬆地添...。