WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: favorites (Used by 3,028 domains)

Favorites

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.

Usage

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)
DomainExposuresHeadersLast Checked
m*k*s*o*d*o*k*n*i*c.com (WP 4.6.27) F Jul 31, 2026
o*i*i*s*f*r*s.com F Jul 31, 2026
f*c*m*u*c*s*.com (WP 6.9.1) F Jul 31, 2026
m*k*h*d*i*g*u*i*.com F Jul 31, 2026
m*r*n*a*d*e*c*n*o*.c*m.br F Jul 31, 2026
d*u*i*l*n*.info (WP 7.0.2) F Jul 31, 2026
d*u*i*h*b*k*.net (WP 7.0.2) F Jul 31, 2026
t*e*a*s*n*e*s.com (WP 7.0.2) F Jul 31, 2026
a*e*a*e*e*s.com (WP 6.8.6) F Jul 31, 2026
h*p*i*e*s*n*o*e.tw (WP 7.0.2) F Jul 31, 2026
t*e*a*e*d*e*.com (WP 7.0.2) C Jul 31, 2026
a*e*e*a*i*a.com (WP 6.8.6) F Jul 31, 2026
t*e*l*i*h.com (WP 7.0.2) D Jul 31, 2026
t*e*f*i*i*l*r*m*h*n*e*.com F Jul 31, 2026
i*o*o*p*l*t*e.com (WP 7.0.2) C Jul 31, 2026
a*a*n*w*.com (WP 6.8.6) F Jul 31, 2026
i*h*t*i.com (WP 6.1.10) F Jul 31, 2026
m*r*n*m*b*l*i*t*r*e*.com F Jul 31, 2026
c*s*t*s*b*r*c*.com F Jul 31, 2026
t*e*e*e*r*h*c*o*l.com F Jul 31, 2026
n*e*.world (WP 7.0.2) F Jul 31, 2026
b*a*m*n*a*t*p*d*.com (WP 7.0.2) F Jul 31, 2026
t*e*e*w*r*i*g*p*c*.com (WP 7.0.2) F Jul 31, 2026
t*e*e*b*l*c*a*h.com F Jul 31, 2026
e*e*h*n*p*a*t*r*o*r*.com F Jul 31, 2026
m*d*a*d*w*i*e*s.com F Jul 31, 2026
t*e*u*r*y*i*e*.com (WP 7.0.2) F Jul 31, 2026
m*n*a*m*l*.com F Jul 31, 2026
n*h*n*r.com F Jul 31, 2026
n*h*n*m*t*u*e*a.com F Jul 31, 2026
m*c*o*o*t*a*.com A Jul 31, 2026
l*g*e*o*e.jp (WP 6.9.4) B Jul 31, 2026
e*e*u*n*m*.com (WP 7.0.2) F Jul 31, 2026
n*f*w*b*a*a*o*.com (WP 6.6) D Jul 31, 2026
m*c*i*e*o.com F Jul 31, 2026
d*i*e*t*f*.com F Jul 31, 2026
d*i*e*i*t*.com (WP 7.0.2) F Jul 30, 2026
l*n*o*u*d*e*.fun F Jul 30, 2026
d*r*m*s*m*n*c*a.com F Jul 30, 2026
w*r*e*b*j*i*a*.nl (WP 7.0.2) D Jul 30, 2026
f*r*s*y*s*i*m*.com F Jul 30, 2026
i*m*o*n*r*s*d*.com (WP 6.6.2) F Jul 30, 2026
c*v*n*t*n*u*s*r*.com (WP 7.0.2) F Jul 30, 2026
s*l*o*w*i*e*a*e*.com (WP 7.0.2) F Jul 30, 2026
a*t*e*t*c*i*a*e*o*l*n*.com C Jul 30, 2026
s*l*i*m*k*s*e*s*.com F Jul 30, 2026
t*e*o*a*o*e*d*g*s*.com F Jul 30, 2026
t*e*i*e*a*y*i*g*o*.com F Jul 30, 2026
f*r*i*r*c*n*.com (WP 7.0.2) F Jul 30, 2026
u*l*u*s*g*n*u*-*e*r*e*v*c*.com C Jul 30, 2026
a*c*r*.c*.jp F Jul 30, 2026
m*k*i*m*r*l*b*n*.c*.uk D Jul 30, 2026
u*g*n*e*m*d*.com F Jul 30, 2026
m*t*o*c*o*i*g.com F Jul 30, 2026
r*n*a*s.org (WP 7.0.2) F Jul 30, 2026
t*e*a*l*m*n*t*.io (WP 7.0.2) F Jul 30, 2026
d*e*s*f*i.com (WP 7.0.2) F Jul 30, 2026
b*r*t*b*r*e*t.org F Jul 30, 2026
h*a*t*a*d*e*h.eu (WP 6.3.1) F Jul 30, 2026
i*m*o*k*n*m.de (WP 7.0.2) F Jul 30, 2026
p*i*o*l*s.bg (WP 7.0.2) F Jul 30, 2026
f*r*a*u*-*e*.com F Jul 30, 2026
u*b*n*e*t*r*o.com (WP 7.0.2) F Jul 30, 2026
c*r*i*p*g*s*i*a*e*.com C Jul 30, 2026
l*g*m*r*s*o*e.com F Jul 30, 2026
m*s*v*k*h*i.com (WP 6.1.10) F Jul 30, 2026
n*r*s*e*r*a*b*i*-*u*h*v*n.de C Jul 30, 2026
u*a*a*i*.com D Jul 30, 2026
s*l*e*l*n*n*t*.com F Jul 30, 2026
n*f.dk C Jul 30, 2026
u*t*w*l*p*d*a*t.com (WP 4.8.25) F Jul 30, 2026
f*r*v*r*o*d*y.com (WP 7.0.2) F Jul 30, 2026
n*x*s*a*h*s*l*s.com F Jul 30, 2026
t*e*n*p*r*d*o*m.com F Jul 30, 2026
a*d*t*r*u*.com F Jul 30, 2026
d*c*a*a*a*e.com (WP 5.8.13) F Jul 30, 2026
p*r*o*t*o*.ru F Jul 30, 2026
h*g*i*m*b*l*e*.com (WP 7.0.2) F Jul 30, 2026
h*a*i*s*d*r.com C Jul 30, 2026
t*u*i*m*-*e*i*e*o*t*p*o*b*e*e*.com (WP 7.0.2) F Jul 30, 2026
s*i*a*e.com F Jul 30, 2026
a*d*o*t*n*.com (WP 6.6.2) F Jul 30, 2026
t*e*m*g*n*t*o*r*a*m.com D Jul 30, 2026
m*o*i*.cn (WP 6.7.1) F Jul 30, 2026
w*n*e*n*r*e.com (WP 7.0.2) F Jul 30, 2026
s*i*t*a*l*s.com (WP 7.0.2) F Jul 30, 2026
i*a*k*.at (WP 7.0.2) F Jul 30, 2026
r*e*n.de F Jul 30, 2026
t*e*c*b*x.com F Jul 30, 2026
s*i*m*l*.com A Jul 30, 2026
l*n*c*s*o*e.com F Jul 30, 2026
a*b*r*i*e*n*i*u*s.com F Jul 29, 2026
s*f*t.es B Jul 29, 2026
e*c*l*n*e*i*c*e*e*t*r*.com A Jul 29, 2026
o*u*s.jp (WP 7.0.2) F Jul 29, 2026
h*s*s*a*e*s*f*a.com (WP 5.2.2) F Jul 29, 2026
m*r*t*a*3*.com (WP 7.0.2) F Jul 29, 2026
k*e*h*n*t*e*c*e*.de (WP 7.0.2) F Jul 29, 2026
m*r*n*m*t*l.com F Jul 29, 2026
v*p*o*e*i*g.com (WP 6.5.8) F Jul 29, 2026

Top 50 Plugins

Plugin Count
elementor 1,773,066
contact-form-7 1,754,699
elementor-pro 1,053,398
woocommerce 816,868
revslider 609,950
jetpack 456,151
js_composer 420,819
wp-rocket 341,566
essential-addons-for-elementor-lite 265,266
complianz-gdpr 257,980
gravityforms 257,686
google-site-kit 232,621
cookie-law-info 228,902
instagram-feed 225,266
sitepress-multilingual-cms 210,874
header-footer-elementor 207,407
google-analytics-for-wordpress 206,188
bluehost-wordpress-plugin 192,588
elementskit-lite 180,622
gutenberg 167,311
cookie-notice 149,235
litespeed-cache 143,547
gtranslate 125,193
wpforms-lite 124,272
the-events-calendar 122,579
astra-sites 113,631
gutenberg-core 113,508
popup-maker 110,000
woocommerce-payments 109,709
tablepress 102,202
honeypot 97,891
astra-addon 93,947
wp-smushit 91,090
duracelltomi-google-tag-manager 90,451
coblocks 89,789
layerslider 89,525
all-in-one-seo-pack 89,300
bb-plugin 87,066
akismet 85,166
premium-addons-for-elementor 84,433
ml-slider 83,034
cleantalk-spam-protect 82,813
mailchimp-for-wp 82,012
megamenu 80,374
woocommerce-gateway-stripe 79,700
jet-engine 77,827
fusion-builder 77,281
ewww-image-optimizer 76,638
wp-pagenavi 76,523
smart-slider-3 76,327

Top 50 Themes

Theme Count
hello-elementor 621,543
Divi 497,327
astra 415,116
flatsome 137,795
Avada 121,363
generatepress 114,678
oceanwp 80,569
pub 79,286
kadence 78,818
enfold 68,928
salient 65,362
twentyseventeen 54,403
bb-theme 53,484
betheme 52,451
twentytwentyfour 52,191
blocksy 51,007
cocoon-master 49,241
dt-the7 45,528
twentytwentyfive 44,925
woodmart 42,693
h4 39,561
neve 38,220
Avada-Child-Theme 36,954
gox 36,252
bridge 31,437
twentytwentyone 30,343
lightning 29,939
twentytwenty 28,835
swell 27,982
bricks 26,516
Impreza 26,104
Newspaper 24,234
twentytwentythree 22,139
epik-redesign 19,181
twentytwentytwo 18,831
uncode 18,592
twentysixteen 17,623
pro 17,621
sydney 16,585
storefront 16,374
Total 14,410
hello-theme-child-master 14,004
factory-templates-4 13,730
themify-ultra 12,971
extendable 12,866
hestia 12,599
yootheme 12,547
yith-wonder 12,223
porto 11,980
twentyfifteen 11,835