Skip to main content
  1. Home
  2. Knowledge Base
  3. eLearning Magic Toolkit - Save and Recall Variables (User Profile)
  4. Create A Score Leaderboard Using Any Stored Numeric Variable On A WordPress Post/Page (Using A Shortcode)

Create A Score Leaderboard Using Any Stored Numeric Variable On A WordPress Post/Page (Using A Shortcode)

Displaying A Stored Variable On A WordPress Post/Page (Using A Shortcode)

One of the other great features of the eLearning Magic Toolkit is the ability to quickly create a score leaderboard onto any post or page on your WordPress site using a numeric variable value.

All that is required is the title of the variable as stored in the Edit User screen (e.g. SL01_VARNAME) in order to enter into the following shortcode:

Shortcode for creating a leaderboard

Variable Magic Leaderboard for Articulate StorylineTo display a score leaderboard on any WordPress post or page, use the following shortcode:

[ sl_leaderboard variable="VARIABLENAME" ]

Replace the VARIABLENAME text in the example above with the name of the variable as is stored in the Edit User profile screen of WordPress (e.g. SL01_Score).

The ordering of the table will be automatically sorted with the highest numeric value being displayed at the top of the table.

Table table rows and columns themselves can be targetted with additional CSS in order to style your table exactly as you wish. The default table heading color is Royal Blue.

Read the rest of our Knowledge Base pages to make the most of eLearning Magic Toolkit.

Was this article helpful?

Related Articles

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.