A simple widget (and shortcode) that displays Pluralsight courses by author.
This plugin adds a list of Pluralsight courses by author (by tag coming soon) as either a widget or a shortcode. The widget includes controls to determine what fields to include (first name, last name and date published), where to display the Pluralsight logo (above or below the course list) and how many courses to list.
The shortcode allows you to control all the same options with shortcode parameters.
Note: When using either the shortcode or the widget, you must specify an author name.
This shortcode will display no courses at all:
[ps-course-list]
Author
This shortcode will display all courses by Chris Reynolds:
[ps-course-list author=chris-reynolds]
Note: Author name must match the author ID on Pluralsight.com.
Fields
If no fields
value is passed to the shortcode, only the course titles will display. However, if you'd like to display first name, last name and release date, you could do this:
[ps-course-list author=chris-reynolds fields="FirstName,LastName,ReleaseDate"]
Note: When using multiple field values, values must be separated by commas with no spaces.
Limit
If you only wanted to list a few courses, you could do that like this:
[ps-course-list author=chris-reynolds limit=3]
This parameter accepts any numeric value.
Logo Position
You can display the Pluralsight Logo above or below the course list like this:
[ps-course-list author=chris-reynolds logo=below]
The default logo position is above. Using logo=below
will override this to display the logo below the list of courses.
Coming soon! =
Planned features are:
The Pluralsight Widget on the Widgets page
The widget in action!
An example shortcode usage
That shortcode in use