Menu

How do I edit the order of the course cards in the Student Dashboard?

Currently the course cards on the Student Dashboard are arranged in reverse order by last accessed. That means if you have your course cards arranged 1, 2, 3, 4 and the student watches #4 first - that one will move to the front so it will show 4, 1, 2, 3 next time they go back to their dashboard. 

To change this, you can go into your Theme file and go to the Student Dashboard Page in the Site Pages folder (for Theme versions 2.0 and higher).

In the code on the right, find the line with 'sort: 'last_accessed' | reverse'

image

You can change the variable after 'sort:' to the following:


  • last_accessed
  • name
  • created_at
  • position


You can also remove '| reverse' to change the ordering. For example, 'name' without 'reverse' will have courses starting with 'A' first.


Login to post a comment