Home > CMS Tutorial > WordPress > How to create a collection in WordPress

How to create a collection in WordPress

爱喝马黛茶的安东尼
Release: 2019-07-20 14:07:06
Original
3829 people have browsed it

wordpress plug-in Favorites is a simple and easy-to-use wordpress article collection plug-in that allows visitors or registered users to collect their favorite articles on the website and display them on the personal collection list page. The plug-in supports all types of articles, including articles, Page, media or custom post type. In addition, the Favorites plug-in also supports wordpress multi-site mode data calling, and reserves many functions and interfaces to facilitate secondary development.

How to create a collection in WordPress

Plug-in installation:

#1. Search for the keyword "favorites" in the website background - plug-ins - install plug-ins. Install online (or go to WP official website to download and install)

2. After successful installation, enable the plug-in in Plug-in - Installed Plug-in. The plug-in will automatically insert a favorite button at the end of the article content, as shown below: ( The default button is ugly, you can beautify it yourself)

How to create a collection in WordPress

Plug-in settings:

1. After the plug-in is enabled, you can modify the plug-in Settings, enter the background-Settings-Favorites.

2. General is the general setting. See the picture below for setting instructions:

How to create a collection in WordPress

3. Users is the favorite user setting:

How to create a collection in WordPress

Related recommendations: "WordPress Tutorial"

4. Display & Post Types can set supported article types, button styles, button advertisements, etc.:

How to create a collection in WordPress

How to create a collection in WordPress

How to create a collection in WordPress

##Calling settings:

After the user collects the article, It is necessary to provide a page to display the user's favorite article list. This page is added through the background-page function and called through the shortcode provided by the plug-in.

1. In the background - page - create a new page

2. Enter "Personal Favorites" as the title, add the shortcode [user_favorites] in the content input box, and publish the page

Other shortcodes:

Favorite button: [favorite_button]

Number of favorites: [favorite_count]

Number of user favorites: [user_favorite_count ]

Clear collection button: [clear_favorites_button]

Article collection user: [post_favorites]

The above is the detailed content of How to create a collection in WordPress. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template