Favorites
Favorites for any post type. Easily add favoriting/liking, wishlists, or any other similar functionality using the developer-friendly API.
Solide Wahl
Favorites is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10K+ sites, is rated 4.6/5 and was last updated 3 months ago, and scores 67/100 on our health check.
- Bewährt im Maßstab auf 10k + aktiven Standorten
- Loved by users — 4.6/5 from 133 reviews
- Getestet mit dem neuesten WordPress (7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Favorites stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| Bookmark | #9 |
| favorite | #1 |
| favorites | #1 |
| like | #51 |
| likes | #29 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4.6 from 133 reviews
About Favorites
From the official readme · v2.3.8Beschreibung
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 hookandfilter.com for a full list of available template functions and shortcodes.
Merkmale
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.
DSGVO
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 hookandfilter.com.
Important: Favorites requires WordPress version 3.8 or higher, and PHP version 5.4 or higher.
Verwendung
Favorite Button
The favorite button can be added automatically to the content by enabling specific post types in the plugin settings. It may also be added to template files or through the content editor using the included functions or shortcodes. The post id may be left blank in all cases if inside the loop. The site id parameter is optional, for use in multisite installations (defaults to current site).
- Get function:
get_favorites_button($post_id, $site_id) - Print function:
the_favorites_button($post_id, $site_id) - Shortcode:
[favorite_button post_id="" site_id=""]
Favorite Count (by Post)
Total favorites for each post are saved as a simple integer. If a user unfavorites a post, this count is updated. Anonymous users’ favorites count towards the total by default, but may be disabled via the plugin settings. The post id may be left blank in all cases if inside the loop.
- Get function:
get_favorites_count($post_id) - Print function:
the_favorites_count($post_id) - Shortcode:
[favorite_count post_id=""]
Favorite Count (by User)
Displays the total number of favorites a user has favorited. Template functions accept the same filters parameter as the user favorites functions.
- Get function:
get_user_favorites_count($user_id, $site_id, $filters) - Print function:
the_user_favorites_count($user_id, $site_id, $filters) - Shortcode:
[user_favorites user_id="" site_id="" post_types=""]
User Favorites
User favorites are stored as an array of post ids. Logged-in users’ favorites are stored as a custom user meta field, while anonymous users’ favorites are stored in either the session or browser cookie (configurable in the plugin settings). If the user id parameter is omitted, the favorites default to the current user. The site id parameter is optional, for use in multisite installations (defaults to current site).
- Get function (returns array of IDs):
get_user_favorites($user_id, $site_id) - Get function (returns html list):
get_user_favorites_list($user_id, $site_id, $include_links, $filters, $include_button, $include_thumbnails = false, $thumbnail_size = 'thumbnail', $include_excerpt = false) - Print function (prints an html list):
the_user_favorites_list($user_id, $site_id, $include_links, $filters, $include_button, $include_thumbnails = false, $thumbnail_size = 'thumbnail', $include_excerpt = false) - Shortcode (prints an html list, with the option of omitting links): `[user_favorites user_id=”” include_links=”true” site_id=”” include_buttons=”false” post_types=”post” include_thumbnails=”false” thumbnail_size=”thumbnail” include_excerpt=”false”]
List Users Who Have Favorited a Post
Display a list of users who have favorited a specific post. If the user id parameter is omitted, the favorites default to the current user. The site id parameter is optional, for use in multisite installations (defaults to current site). The get function returns an array of user objects.
- Get function (returns array of User Objects):
get_users_who_favorited_post($post_id, $site_id) - Print function (prints an html list):
the_users_who_favorited_post($post_id = null, $site_id = null, $separator = 'list', $include_anonymous = true, $anonymous_label = 'Anonymous Users', $anonymous_label_single = 'Anonymous User') - Shortcode (prints an html list): `[post_favorites post_id=”” site_id=”” separator=”list” include_anonymous=”true” anonymous_label=”Anonymous Users” anonymous_label_single=”Anonymous User”]
Clear Favorites Button
Displays a button that allows users to clear all of their favorites.
- Get function:
get_clear_favorites_button($site_id, $text) - Print function:
the_clear_favorites_button($site_id, $text) - Shortcode: `[clear_favorites_button site_id=”” text=”Clear Favorites”]
Favorite Count (Across all Posts)
Displays the total number of favorites for a given site.
- Get function:
get_total_favorites_count($site_id) - Print function:
the_total_favorites_count($site_id)
Installation
- Upload the favorites plugin directory to the wp-content/plugins/ directory
- Aktivieren Sie das Plugin über das Plugin-Menü in WordPress
- Visit the plugin settings to configure display options
- Use the template functions, display settings, or shortcodes to display the favorite button, favorite counts, and/or user favorites.
Änderungsprotokoll
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.
2.3.7
- Security Updates
- Translation updates
2.3.6
- Adds filter to customize the “Clear Favorites” button text (favorites/clear_favorites_text)
- Adds filter to customize the “No Favorites” text in a list (favorites/no_favorites_text)
2.3.5
- Security update
2.3.4
- Tested with WordPress v6.4
- Fixes various PHP errors
- Security update
2.3.3
- Security update.
2.3.2
- Security update.
Screenshots
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Favorites alternatives
All Bookmark plugins →Fragen und Antworten
Favorites: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Favorites free?
Yes. Favorites is free to download and use from the official WordPress.org plugin directory.
Is Favorites safe to use in 2026?
Favorites is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10K+ sites, is rated 4.6/5 and was last updated 3 months ago, and scores 67/100 on our health check.
How many websites use Favorites?
Favorites is active on 10K+ WordPress websites and has been downloaded 322,701 times since it launched in March 2015. It was downloaded 2,961 times in the last 30 days.
Does Favorites work with WordPress 7.1?
Yes. The developer has tested Favorites up to WordPress 7.1.5, the latest release. It requires WordPress 3.8 or newer.
What PHP version does Favorites need?
Favorites requires PHP 5.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Favorites last updated?
The latest version, 2.3.8, was released on August 21, 2026 (3 months ago).
Who makes Favorites?
Favorites is developed and maintained by Hook & Filter.
What are the best alternatives to Favorites?
The most popular alternatives to Favorites are Uptolike Social Share Butto… (3K+ installs), CBX Bookmark & Favorite (1K+ installs) and Bookmark Card (700+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
