WordPress plugin intelligence profile

WP My Favourites

Choose your favourite posts, pages, comments, media and reorder them to display anywhere on your website.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.8
Current version1.1.0
WordPress coverageTested up to WordPress 4.8
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update25 Sept 20179y ago
Active installationsNewAdoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP My Favourites version 1.1.0 as active, updated 9y ago and tested up to WordPress 4.8.

Overview

About this plugin

WP My Favourites is a simple plugin which allows you to select the best posts, pages, comments and media from backend and fetch them as and when needed in your website. It also allows you to reorder your favourite as per your wish using Drag and Drop.

Some of the features

  • AJAX-powered backend settings section.
  • Tabular UI for easy management.
  • Tooltips on hover and Help(?) icons in the backend for first time users.
  • Choose your best items simple by clicking the Thumbs Up/Thumbs Down icons.
  • Easily reorder by dragging and dropping the selected posts.
  • No need to click save button etc. Selected items are saved in database as the selects or reorder them.
  • Change the settings as per your need from the settings given in WP My Favourites – Configuration section in backend.

How to use – Backend

  • After activating the plugin you can see WP My Favourites menu item in the dashboard.
  • Under the menu name you can see two sub menus: Favourite posts, Favourite comments, Favourite media.
  • Click on any sub menu. Suppose you clicked on Favourite posts.

)

  • You can change the settings for the listing and selection of favourites by clicking on the Settings section.
  • On top you will see Select any 15 posts by default. This 15 can be changed in the wp-myfavourites/wp-myfavourites.php file.
  • Adjacent to Select any 15 posts in Help(?) icon. Hover it to get some help.
  • The first table shows all the posts and pages. You can also add custom posts be adding the custom post type slug in const WP_MYFAVOURITES_POST_TYPE array in wp-myfavourites/wp-myfavourites.php file.
  • To select a post simple click on the Black Thumbs Up which represents un-selected post. Once you click on the Black Thumbs Up that post will be added to the Favourite post section and the Black Thumbs Up will turn into Blue.
  • You can see your selected posts in the second table. To reorder the posts simple Drag the first cell in the second table and Drop on the desired position.
  • If you want to remove a selected post then simple Click on the Blue Thumbs Up on the first table or click on the Blue Thumbs Down in the second table.
  • The same applies to the Favourite comment and Favourite Media section as well.

How to use – Frontend

Getting listing using shortcodes

1. Get favourite posts with HTML

[show-favourite-posts post_types='post,page' no_of_posts=-1 no_of_chars='20']

Shorcode arguments:

  • post_types: Comma separated list of post types to fetch from selected posts in backend.
  • no_of_posts: Number specifying the total number of posts to fetch from the selected posts.
  • no_of_chars: Number specifying the number of characters to get from the post’s content.

2. Get favourite comments with HTML

[show-favourite-comments no_of_comments=10 no_of_chars=20]

Shorcode arguments:

  • no_of_comments: Number specifying the total number of comments to fetch from the selected comments.
  • no_of_chars: Number specifying the number of characters to get from the comment’s content.

3. Get favourite media with HTML

[show-favourite-media no_of_media=20 image_size=120,120]

Shorcode arguments:

  • no_of_media: Number specifying the total number of media items to fetch from the selected media.
  • image_size: Comma separated width and height respectively of the image. Default is 20,20.

Getting WP_Post and WP_Comment Object

1. Get array favourite posts

>

Method arguments:

  • $post_types: Array of post types to fetch from the selected posts
  • $number_of_posts: Number specifying the total number of posts to fetch from the selected posts.

2. Get array of favourite comments

>

Method arguments:

  • $number_of_comments: Number specifying the total number of comments to fetch from the selected posts.

3. Get array of favourite media

>

Method arguments:

  • $no_of_media: Number specifying the total number of media items to fetch from the selected media.

3. Getting array of selected ids

  • <?php Wp_MyFavourites_Public::wp_mf_get_favourite_ids($type,$count)?>

Method arguments:

  • $type: Accepts ‘posts’ or ‘comments’ or ‘media’ as parameters
  • $count: Number of ids to fetch
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • theme development
  • comments
  • favourites
  • media
  • posts
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.8
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity25 Sept 20179y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.