Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

Featured Users

Beschrijving

While working on a custom WordPress theme we needed the ability to feature users and authors. So we created this ‘Featured users’ plugin which allows the administrator to easily star (feature) users. Then using a custom query in the theme, shortcode or widget; featured users can be displayed by only retrieving users with the custom user meta jsfeatured_user. The plugin does not make any changes to your current theme it only does the following:

  • Adds a featured column in the Users panel of the WordPress Admin.
  • When a user is featured the plugin adds or updates the custom field ‘jsfeatured_user’ and sets the value to yes.
  • Provides custom widget that echoes out shortcode.
  • Provides custom shortcode that echoes ul list of featured users.
  • Includes theme functions and filters for developers.

Feel free to use and include in your WordPress Installs, please think of us if you need a custom theme or plugin developed! Use documented code examples on the settings page to modify the expected output.

How to

After activating and after updating the plugin’s settings go to wp-admin > Users > All Users and feature a few users. To use the ‘Featured Users’ plugin edit a page and add the ‘Featured Users’ shortcode or update a sidebar and add the ‘Featured Users’ widget.

Shortcode Paramaters

[rd-featured-users role=”administrator,author” avatar=”yes” max=”100″]

  • role = A comma-separated list of roles of the users you want to include in the query. Note the settings page can override this. The default is all roles again unless the settings page specifies which to allow.
  • avatar = Options are yes or no, specify whether to show or not show the users’ avatar image. The default is no.
  • max = The maximum number of users to display.

Filters

WordPress filters allow a ‘developer’ to modify aspects of the ‘Featured Users’ plugin without editing the core plugin. If you are not familiar with filters please read this before continuing.

  1. ‘featured-users-args’, https://codex.wordpress.org/Class_Reference/WP_User_Query
  2. ‘featured-users-css’, url to css file
  3. ‘featured-users-JS’, url to js file
  4. ‘featured-user-shortcode-row’, user row in shortcode and widget
  5. ‘featured-user-shortcode-return’, shortcode and widget content

Support

For custom WordPress plugin and theme development requests email us at info@reactivedevelopment.net or go to https://www.reactivedevelopment.net/. If you have questions or requests for this plugin go to https://wordpress.org/support/plugin/featured-users-wordpress-plugin or for quick and paid support go to https://www.reactivedevelopment.net/contact/project-mind/?plugin=featured-users to message us.

Schermafdrukken

  • screenshot-1.jpg
  • screenshot-2.jpg
  • screenshot-3.jpg
  • screenshot-4.jpg

Installatie

  1. Visit ‘Plugins > Add New’
  2. Search for ‘Featured Users’
  3. Click on ‘Install Now’
  4. Activate the Featured Users plugin.
  5. Go to ‘Settings > Featured Users’ and modify.

FAQ

Let us know what questions you have!

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Featured Users” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

Vertaal “Featured Users” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

2.1

Release Date: 2019/01/14

  • Updated settings page content, see inc/settings.php. Updated readmes as well.

2.0

Release Date: 2018/12/31

  • Finished 2.0 development, testing and documentation.

1.6

Release Date: 2018/12/17

  • Added new functions rd_is_user_featured() and rd_featured_users()

1.5

Release Date: 2018/12/17

  • Re-developed by, Jeremy Selph http://www.reactivedevelopment.net/

1.0

  • Released to WordPress.

0.1

  • initial plugin development by, Jeremy Selph http://www.reactivedevelopment.net/