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

Plugin: favorites (Used by 3,970 domains)

Favorites

πŸ‘€ Kyle Phillips πŸ“¦ v2.3.6 πŸ”— Plugin Homepage

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
w*s*l*k*f*a.com βœ… β€” 2025-11-11 11:22:09
w*s*l*f*y*t*e*a*d*m*n.com βœ… β€” 2025-11-11 11:22:09
w*s*e*n*o*i*e.com βœ… β€” 2025-11-11 11:20:28
w*s*e*k*i*e*.com βœ… β€” 2025-11-11 11:19:16
w*s*e*k*i*e.com βœ… β€” 2025-11-11 11:19:16
w*s*e*k*o*n*a*n*.com βœ… β€” 2025-11-11 11:19:16
w*r*5.com βœ… β€” 2025-11-11 11:13:47
w*r*n*i*e*r*n*.com βœ… β€” 2025-11-11 11:13:26
w*n*y*h*u*e*.com βœ… β€” 2025-11-11 11:11:36
w*b*o*r*c*s.com βœ… β€” 2025-11-11 10:49:07
w*b*i*e*e*i*n*e*.com βœ… β€” 2025-11-11 10:47:22
w*b*i*e*e*i*n*i*g*t*n.com βœ… β€” 2025-11-11 10:47:22
w*b*i*e*e*i*n*a*a*o*u*.com βœ… β€” 2025-11-11 10:47:22
w*b*i*e*e*i*n*r*c*v*l*e.com βœ… β€” 2025-11-11 10:47:00
w*b*e*t*r*a*.com βœ… β€” 2025-11-11 10:44:43
w*b*e*i*n*e*.com βœ… β€” 2025-11-11 10:41:25
w*b*e*i*n*f*e*l*n*e*.com βœ… β€” 2025-11-11 10:40:42
w*b*a*t*r*t*.com βœ… β€” 2025-11-11 10:40:04
w*b*t*j*k*.com βœ… β€” 2025-11-11 10:38:22
w*b*m*n*.com βœ… β€” 2025-11-11 10:38:22
w*a*e*o*d*.com βœ… β€” 2025-11-11 10:35:07
w*a*e*o*c*n.com βœ… β€” 2025-11-11 10:34:47
w*a*t*b*n*i*g.com βœ… β€” 2025-11-11 10:32:19
w*a*l*o*e*r*m*o*e*h*r*.com βœ… β€” 2025-11-11 10:31:57
w*s*g*.com βœ… β€” 2025-11-11 10:31:14
w*c*-*r*b*c*.com βœ… β€” 2025-11-11 10:29:20
w*h*a*i*.com βœ… β€” 2025-11-11 10:28:37
w*y*r*c*.com βœ… β€” 2025-11-11 10:27:32
w*y*e*o*n*y*o*r*s*.com βœ… β€” 2025-11-11 10:26:24
w*t*e*t*o*.com βœ… β€” 2025-11-11 10:22:38
w*t*r*i*e*n*o*a*i*n*.com βœ… β€” 2025-11-11 10:21:31
w*t*r*a*a*t*e.com βœ… β€” 2025-11-11 10:21:31
w*t*r*o*o*u*h*r*t*.com βœ… β€” 2025-11-11 10:19:51
w*t*r*r*n*i*a*y.com βœ… β€” 2025-11-11 10:18:38
w*t*r*r*n*a*y.com βœ… β€” 2025-11-11 10:18:38
w*t*r*o*o*-*r*.com βœ… β€” 2025-11-11 10:17:22
w*t*h*p*e*e*a.com βœ… β€” 2025-11-11 10:16:31
w*t*h*a*e*o*k.com βœ… β€” 2025-11-11 10:15:44
w*t*h*z.com βœ… β€” 2025-11-11 10:15:20
w*r*i*e*m.com βœ… β€” 2025-11-11 10:05:50
w*p*v*h*n*e*.com βœ… β€” 2025-11-11 10:05:50
w*n*-*a*u.com βœ… β€” 2025-11-11 10:04:23
w*n*o*a*a.com βœ… β€” 2025-11-11 10:04:23
w*n*n*a*-*e*c*.com βœ… β€” 2025-11-11 10:01:38
w*l*i*a*.com βœ… β€” 2025-11-11 09:58:48
w*l*i*g*i*w*u*e*.com βœ… β€” 2025-11-11 09:57:01
w*l*e*s*i*e*.com βœ… β€” 2025-11-11 09:56:40
w*l*e*j*n*s*u*h*r*p*y*e*e.com βœ… β€” 2025-11-11 09:56:19
w*l*a*o*t*v*n*s.com βœ… β€” 2025-11-11 09:55:57
w*k*u*g*a*e*u*.com βœ… β€” 2025-11-11 09:54:12
w*k*n*a*k*r*c*r*s.com βœ… β€” 2025-11-11 09:53:29
w*d*.com βœ… β€” 2025-11-11 09:48:56
w*-*c*i*a.com βœ… β€” 2025-11-11 09:47:30
w*-*.com βœ… β€” 2025-11-11 09:47:30
w*i*b*x.com βœ… β€” 2025-11-11 09:46:12
v*a*t*u*.com βœ… β€” 2025-11-11 09:44:50
v*r*p*i*g.com βœ… β€” 2025-11-11 09:42:04
v*r*i*e*k*.com βœ… β€” 2025-11-11 08:02:58
v*r*s*o*t*.com βœ… β€” 2025-11-11 08:00:42
v*r*n*c*l*w*n*o*.com βœ… β€” 2025-11-11 08:00:23
v*r*i*g*r.com βœ… β€” 2025-11-11 07:58:33
v*n*e*t*n*s.com βœ… β€” 2025-11-11 07:53:22
v*n*u*e*a*p*t*.com βœ… β€” 2025-11-11 07:52:39
v*n*b*g*s*j*l*e*.com βœ… β€” 2025-11-11 07:47:57
v*l*s*r*e*a*a*e*p*o.com βœ… β€” 2025-11-11 07:44:54
v*g*n*e*l*e*s*o*c*.com βœ… β€” 2025-11-11 07:41:33
v*g*n*v*b*s.com βœ… β€” 2025-11-11 07:41:13
v*e*o.com βœ… β€” 2025-11-11 07:40:14
v*d*o*a*k.com βœ… β€” 2025-11-11 07:39:54
v*v*u.com βœ… β€” 2025-11-11 07:34:42
v*v*l*.com βœ… β€” 2025-11-11 07:34:42
v*s*e*b*t*e*s*s*.com βœ… β€” 2025-11-11 07:32:40
v*s*e*b*t*e*p*j.com βœ… β€” 2025-11-11 07:32:40
v*s*e*b*t*e*o*t.com βœ… β€” 2025-11-11 07:32:40
v*p*n*a*s*c*a*e*l*n*i*j*r*.com βœ… β€” 2025-11-11 07:27:58
v*n*t*a*l*n.com βœ… β€” 2025-11-11 07:26:13
v*n*t*c*r*e*i.com βœ… β€” 2025-11-11 07:24:49
v*n*o*u*r*.com βœ… β€” 2025-11-11 07:22:06
v*n*o*v*r*e*l*s*a*e*p*a*e*.com βœ… β€” 2025-11-11 07:21:26
v*n*o*v*r*i*i*i*n.com βœ… β€” 2025-11-11 07:21:03
v*m*i*e*c*d*m*b*t*s.com βœ… β€” 2025-11-11 07:19:34
v*m*.com βœ… β€” 2025-11-11 07:19:13
v*l*a*a*s*.com βœ… β€” 2025-11-11 07:17:07
v*l*d*l*n*.com βœ… β€” 2025-11-11 07:14:15
v*l*r*s.com βœ… β€” 2025-11-11 07:12:32
v*l*i*e*e*c*a*e*s*a*a*t*e*t*.com βœ… β€” 2025-11-11 07:10:16
v*j*g*i*g*.com βœ… β€” 2025-11-11 07:08:57
v*i*o*w*r*.com βœ… β€” 2025-11-11 07:08:57
v*i*t*a*b*i*d*n*.com βœ… β€” 2025-11-11 07:08:36
v*c*t*o*r*n*a*s*f*m*.com βœ… β€” 2025-11-11 07:05:43
v*c*t*o*b*a*h*o*s*s.com βœ… β€” 2025-11-11 07:04:55
v*c*n*l*n*b*r*a*n*.com βœ… β€” 2025-11-11 07:04:55
v*a*p*o*e*l*n*e*s.com βœ… β€” 2025-11-11 07:04:13
u*u*k*n*r*l.com βœ… β€” 2025-11-11 07:01:48
u*u*c*n*r*l.com βœ… β€” 2025-11-11 07:01:48
u*a*a*e*o*t*e*t*t*.com βœ… β€” 2025-11-11 07:01:28
u*o*o*.com βœ… β€” 2025-11-11 07:00:49
u*-*n*w*r.com βœ… β€” 2025-11-11 07:00:26
u*e*l*c*o*s*.com βœ… β€” 2025-11-11 06:56:51
u*a*a*a.com βœ… β€” 2025-11-11 06:56:07

Top 50 Plugins

Plugin Count
elementor 2,296,020
contact-form-7 2,112,077
elementor-pro 1,301,171
woocommerce 1,070,876
revslider 781,706
js_composer 518,037
jetpack 482,316
wp-rocket 381,369
essential-addons-for-elementor-lite 349,387
header-footer-elementor 291,450
gravityforms 284,103
gutenberg-core 272,914
elementskit-lite 271,276
instagram-feed 268,809
complianz-gdpr 265,852
google-analytics-for-wordpress 265,230
google-site-kit 259,072
cookie-law-info 257,387
sitepress-multilingual-cms 233,298
bluehost-wordpress-plugin 218,977
wpforms-lite 199,893
astra-sites 192,059
litespeed-cache 176,653
gutenberg 160,754
gtranslate 155,830
cookie-notice 151,715
coblocks 146,372
the-events-calendar 136,756
popup-maker 128,842
astra-addon 114,404
bb-plugin 113,855
premium-addons-for-elementor 111,878
LayerSlider 111,644
tablepress 110,511
wp-smushit 110,210
mailchimp-for-wp 109,003
duracelltomi-google-tag-manager 101,084
cleantalk-spam-protect 97,693
creame-whatsapp-me 97,207
woocommerce-gateway-stripe 97,148
akismet 96,811
honeypot 96,681
woocommerce-payments 95,836
megamenu 93,649
pro-elements 92,375
smart-slider-3 92,146
fusion-builder 91,637
custom-fonts 91,230
click-to-chat-for-whatsapp 90,345
pixelyoursite 89,088

Top 50 Themes

Theme Count
hello-elementor 749,021
Divi 619,957
astra 591,577
pub 183,940
generatepress 141,028
Avada 140,230
flatsome 140,135
h4 106,308
oceanwp 102,921
kadence 92,273
enfold 80,783
salient 77,863
bb-theme 71,767
twentytwentyfour 69,986
blocksy 66,299
cocoon-master 65,434
twentytwentyfive 63,491
twentyseventeen 63,269
betheme 62,812
dt-the7 52,398
woodmart 48,531
neve 45,836
twentytwentyone 39,697
bridge 38,979
Avada-Child-Theme 38,038
gox 35,732
swell 34,805
twentytwenty 34,767
lightning 34,356
twentytwentythree 32,116
bricks 28,436
Impreza 28,338
Newspaper 25,729
twentytwentytwo 25,275
epik-redesign 22,537
pro 21,126
storefront 21,025
extendable 20,913
uncode 20,832
twentysixteen 20,585
sydney 19,106
yith-wonder 18,999
themify-ultra 17,749
Total 17,025
twentyfifteen 15,697
porto 15,268
hestia 15,066
yootheme 14,187
twentynineteen 14,182
thrive-theme 14,115