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

Plugin: favorites (Used by 3,022 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
e*l*b*i*-*h*p.ch F Jul 20, 2026
h*p*g*i*e*i*e*.o*g.au F Jul 20, 2026
t*s*k*t*m*n.com (WP 7.0.2) F Jul 20, 2026
m*s*i*n*o*a*.org F Jul 20, 2026
v*s*t*f*a*y.ie F Jul 20, 2026
d*l*e*r*a*e*t*t*.com B Jul 20, 2026
p*r*o*e*a*a*e*y.com F Jul 20, 2026
f*s*c*o.com (WP 6.6.4) F Jul 20, 2026
a*i*e.fr F Jul 20, 2026
a*y*d*j*b.jp F Jul 20, 2026
f*s*l*t*k*o*a.com (WP 5.8.3) F Jul 20, 2026
b*e*r*c*.de F Jul 20, 2026
i*a*r*.com (WP 6.5.8) F Jul 20, 2026
s*o*t*p*l.com F Jul 20, 2026
a*p*c*i*e*.com F Jul 20, 2026
t*z*e*e*.com (WP 7.0.2) F Jul 20, 2026
u*g*v*o*e.net F Jul 20, 2026
s*o*t*h*a*s*a*e*.com F Jul 20, 2026
t*v*b*r*a.com B Jul 20, 2026
t*v*u*t*i*i*d*a.com B Jul 20, 2026
t*v*u*t*i*.com B Jul 20, 2026
a*e*t*r*a*-*e*r.de (WP 7.0.2) F Jul 20, 2026
f*s*i*a*d*l*e*c*e*z*r*m*.it F Jul 20, 2026
r*d*o*i*y.lt (WP 7.0.2) F Jul 20, 2026
s*v*.lt (WP 7.0.2) F Jul 20, 2026
k*r*l*v*r*i*t.com (WP 7.0.2) F Jul 20, 2026
v*r*i*i*j*.fi (WP 6.9.5) D Jul 20, 2026
o*o*a*p.com F Jul 20, 2026
s*o*t*-*y*-*i*a*u*n*v*.com F Jul 20, 2026
a*g*h.org (WP 7.0) F Jul 20, 2026
p*r*a*i*t*r.com (WP 6.9.5) D Jul 20, 2026
s*o*t*u*a*.com (WP 7.0) F Jul 20, 2026
m*n*o*d*y.es (WP 7.0) F Jul 20, 2026
s*w*a*s.c*.uk (WP 6.7.4) F Jul 20, 2026
s*v*i*f*i*e*p*y*d*m*n*b*l*a*d.fr (WP 7.0.2) F Jul 20, 2026
k*u*.ca F Jul 20, 2026
m*m*o*s*s.net F Jul 19, 2026
k*i*i*j*w*l*e*y.c*m.au F Jul 19, 2026
n*j*e*o*r*h*v*.com F Jul 19, 2026
r*a*o*s*o*e*h*e*f*l.world (WP 7.0.2) F Jul 19, 2026
s*a*e*f*a*e*t.nl (WP 6.9.5) F Jul 19, 2026
h*i*u*i*n*v*t*o*.com F Jul 19, 2026
d*i*-*l*e*k*f*l*.com F Jul 19, 2026
f*n*a*s*c*o*o*i*t.org (WP 6.9.5) F Jul 19, 2026
p*r*-*n*-*c*d*m*.com F Jul 19, 2026
m*o*g*e*a.eu (WP 7.0.2) F Jul 19, 2026
l*a*a*e*t*u*a*t.jp F Jul 19, 2026
u*e*e*e*o*l*.com (WP 7.0.2) F Jul 19, 2026
a*w*r*h.c*.za F Jul 19, 2026
o*e*v*n*e*.com F Jul 19, 2026
s*o*s*r*a*d*c*.com (WP 7.0.2) F Jul 19, 2026
o*e*s*a*e*i*e*c*.com (WP 7.0) F Jul 19, 2026
s*p*a*d*c*i*r*r*.org F Jul 19, 2026
o*r*d*o*y.pl F Jul 19, 2026
t*r*e*b*s*n*s*.com (WP 7.0.2) F Jul 19, 2026
o*e*p*y*e*.com F Jul 19, 2026
k*o*k*n*o.com (WP 6.9.1) F Jul 19, 2026
a*m*1*.fans F Jul 19, 2026
o*e*m*s*j*s.com (WP 7.0.2) B Jul 19, 2026
f*r*i*a*.com F Jul 19, 2026
o*e*l*a*p*o.com F Jul 19, 2026
m*l*y*n*v*l.com (WP 7.0.2) F Jul 19, 2026
s*g*e*s.art (WP 7.0.2) F Jul 19, 2026
g*e.o*g.il (WP 6.5.2) F Jul 19, 2026
a*l*o*j*r*d*k.se F Jul 19, 2026
o*e*c*e*t*v*c*o*d.com F Jul 19, 2026
t*r*s*o*i*d*d*e*l.com (WP 7.0.2) F Jul 19, 2026
b*o*z*4*o*.com (WP 6.9.4) F Jul 19, 2026
i*a*i*a*t*.digital (WP 7.0.2) F Jul 19, 2026
p*e*a*m*.com (WP 6.8) F Jul 19, 2026
e*u*d*.ch (WP 6.0) F Jul 19, 2026
a*u*f*o*.ch F Jul 19, 2026
a*i*a.org F Jul 19, 2026
j*r*e*d*n*e.ca (WP 6.3.8) D Jul 19, 2026
g*y*o*n*i*s.net (WP 6.8.3) F Jul 19, 2026
f*n*y*o*a*s.com (WP 7.0) F Jul 19, 2026
t*u*d*t*.cz (WP 6.9.4) F Jul 19, 2026
b*o*d*a*t*l*n*a*e*c*.com (WP 7.0.2) F Jul 19, 2026
s*i*a*p*d*a.com F Jul 19, 2026
k*y*t*n*p*p*i*s.com F Jul 19, 2026
k*m*t*s*.com F Jul 19, 2026
k*y*t*a*s.com (WP 7.0.2) F Jul 19, 2026
f*o*w*r*-*l*g.de (WP 7.0.2) F Jul 19, 2026
p*o*r*e*e*p*b*i*u*s.fr D Jul 19, 2026
r*v*e*a*6*m*o.com (WP 6.9.5) F Jul 19, 2026
o*l*n*b*r*n*o*e*.nl (WP 6.9.4) C Jul 19, 2026
a*i*c*o*p*m.com (WP 6.9.4) F Jul 19, 2026
t*e*e*e*r*h*c*o*l.life F Jul 19, 2026
o*a*f*r*h*e*m.de (WP 7.0.2) F Jul 19, 2026
d*c*r*t*v*w*l*p*n*l*.com F Jul 19, 2026
b*i*i*h*u*i*a*c*i*e.com (WP 4.9.26) F Jul 19, 2026
g*o*n*e*e*p*r*n*e.c*m.au F Jul 19, 2026
m*i*u*n*e.com F Jul 19, 2026
b*r*i*-*e*h*o*o*i*s.de (WP 6.9.4) F Jul 19, 2026
r*v*r*i*y*i*a*e*.com (WP 7.0.2) D Jul 19, 2026
h*y*t*i.com F Jul 19, 2026
s*e*l*o*i*s.com (WP 7.0.2) F Jul 19, 2026
m*i*l*u*s*o*f*r*n*i*r*.com C Jul 19, 2026
o*o*h*-*a*.com F Jul 19, 2026
j*b*n*s*i*i*a*a.org (WP 7.0.2) F Jul 19, 2026

Top 50 Plugins

Plugin Count
elementor 1,770,670
contact-form-7 1,752,430
elementor-pro 1,052,476
woocommerce 816,098
revslider 609,110
jetpack 455,281
js_composer 420,184
wp-rocket 341,921
essential-addons-for-elementor-lite 264,914
complianz-gdpr 257,462
gravityforms 257,435
google-site-kit 232,555
cookie-law-info 228,544
instagram-feed 224,942
sitepress-multilingual-cms 210,671
header-footer-elementor 206,836
google-analytics-for-wordpress 205,959
bluehost-wordpress-plugin 192,462
elementskit-lite 180,242
gutenberg 167,162
cookie-notice 148,974
litespeed-cache 143,534
gtranslate 124,906
wpforms-lite 123,932
the-events-calendar 122,493
astra-sites 113,329
popup-maker 109,786
woocommerce-payments 109,450
gutenberg-core 106,504
tablepress 102,169
honeypot 97,746
astra-addon 93,790
wp-smushit 90,919
duracelltomi-google-tag-manager 90,369
layerslider 89,411
all-in-one-seo-pack 89,154
coblocks 87,767
bb-plugin 87,000
akismet 85,051
premium-addons-for-elementor 84,446
ml-slider 83,072
cleantalk-spam-protect 82,690
mailchimp-for-wp 81,877
megamenu 80,262
woocommerce-gateway-stripe 79,553
jet-engine 77,858
fusion-builder 77,168
ewww-image-optimizer 76,597
wp-pagenavi 76,492
smart-slider-3 76,197

Top 50 Themes

Theme Count
hello-elementor 621,008
Divi 496,644
astra 414,290
flatsome 137,871
Avada 121,202
generatepress 115,012
oceanwp 80,398
kadence 78,936
pub 74,605
enfold 68,814
salient 65,240
twentyseventeen 54,376
bb-theme 53,465
betheme 52,425
twentytwentyfour 52,233
blocksy 50,857
cocoon-master 49,213
dt-the7 45,470
twentytwentyfive 44,929
woodmart 42,965
neve 38,166
h4 37,144
Avada-Child-Theme 36,929
gox 36,231
bridge 31,369
twentytwentyone 30,344
lightning 29,931
twentytwenty 28,789
swell 27,967
bricks 26,477
Impreza 26,084
Newspaper 24,190
twentytwentythree 22,123
epik-redesign 19,169
twentytwentytwo 18,776
uncode 18,532
pro 17,631
twentysixteen 17,610
sydney 16,563
storefront 16,339
Total 14,409
hello-theme-child-master 14,016
factory-templates-4 13,732
themify-ultra 12,964
extendable 12,794
hestia 12,599
yootheme 12,534
yith-wonder 12,153
porto 11,942
twentyfifteen 11,851