User Post Collections

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:

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
0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录