Linux 软件免费装
Banner图

Favorites

开发者 kylephillips
更新时间 2024年12月14日 02:30
捐献地址: 去捐款
PHP版本: 5.4 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

multisite bookmark bookmarks like likes wishlist favorite favorites wish list favourite favourites

下载

1.0.2 1.0.3 1.0.4 1.0.5 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 1.2.2 2.0.1 2.0.2 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.3.0 2.3.1 2.3.2 1.2.3 1.1.0 2.3.4 1.0 1.0.1 2.1.0 2.3.3

详情介绍:

Why Favorites? Favorites is designed for end users and theme developers. It provides an easy-to-use API for adding favorite button functionality to any post type. The plugin can provide a way to save favorites, likes, bookmarks, or any other similar types of data with its customizable button text. Visit favoriteposts.com for a full list of available template functions and shortcodes. Features Use with Any Post Type - Enable or disable favorite functionality per post type while automatically adding a favorite button before and/or after the content. Or, use the included functions to display the button anywhere in your template. Available for All Users – Don't want to hide functionality behind a login? Favorites includes an option to save anonymous users' favorites by either Session or Cookie. Logged-In users' favorites are also saved as user meta Designed for Developers - Favorites works great out-of-the-box for beginners, but a full set of template functions unlocks just about any sort of custom functionality developers may need. Favorites outputs the minimum amount of markup needed, putting the style and control in your hands. GDPR As of version 2.2, a setting is provided to help comply with GDPR standards. To enable this setting, visit Settings > Favorites > Users, and check the field under "User Cookie Consent." When this setting is enabled, the content saved under the setting displays in a modal window, and the user must agree to the terms you provide before favorite cookies can be saved. Note: There is no language provided by default. This should be supplied by a qualified attorney or legal entity. Once the user has approved or denied cookies, that is saved in the "simplefavorites" cookie along with the timestamp of approval or denial. If the site is part of a multi-site installation, the setting will carry through to all sites. If your site already has a cookie compliance solution in place, there are two document-level jQuery events that may be triggered in order to approve or deny cookies in the background. To approve the use of cookies, trigger the event "favorites-user-consent-approved". To deny the use of cookies, trigger the event "favorites-user-consent-denied". Multisite Compatible - As of version 1.1.0, Favorites is multisite compatible. User favorites are saved on a site/blog basis, and may be retrieved and displayed across sites. For more information visit favoriteposts.com. Important: Favorites requires WordPress version 3.8 or higher, and PHP version 5.4 or higher.

安装:

  1. Upload the favorites plugin directory to the wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Visit the plugin settings to configure display options
  4. Use the template functions, display settings, or shortcodes to display the favorite button, favorite counts, and/or user favorites.

屏幕截图:

  • Enable for anonymous users and save in the session or a browser cookie. Logged-in users' favorites are saved in a custom user meta field.
  • Optionally add a modal authentication gate for unauthenticated users
  • Enable and display per post type, or use the functions/shortcodes to manually add to templates.
  • Customize the button markup to fit your theme
  • Or use a predefined button type and customize colors to fit your site's style.
  • Every option is customizable, including the loading state for favorite buttons.
  • Customize favorite lists

升级注意事项:

1.2.0
  • Important: If page cache is enabled on your site, clear the cache immediately after updating.
  • Many enhancements and developer/theme features have been added. If page cache is enabled on your site, it may be beneficial to reset the cache. Some generated HTML elements are now output with data attributes that enable dynamic updates. If the cached HTML does not have these data attributes, errors may occur.
1.1.3
  • Option added to hide loading indication on page load. By default, loading indication is turned off. To turn loading indication on, visit settings > favorites > display, and select the checkbox labeld "include loading indicator image on page load"
1.1.1
  • Optional filters added to favorite list functionality. Visit the documentation page for more information.
1.1.0
  • Favorites is now multisite compatible. See documentation for added template function and shortcode parameters.
1.0 Initial release

常见问题:

Does this worked on cached pages?

Yes, although the buttons may display the incorrect state momentarily. Button states are updated via an AJAX call after page load in order to accommodate cached pages. This may be noticeable on slower servers.

Is this plugin compatible with Multisite?

As of version 1.1.0, Favorites is compatible with multisite installations. By default, all shortcodes and template functions will pull data from the site being viewed. Specific site IDs may be passed as parameters for more control. See the documentation for more information.

更新日志:

2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.0 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.0.2 2.0.1 1.2.4 1.2.3 1.2.2 1.2.1 1.2.0 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0