If you want your students to always see their courses in the course order you set up, instead of seeing their most recently-viewed course at the top, you can make some changes to your theme code.
How the Student Dashboard Orders Courses
By default, the course cards on the Student Dashboard are arranged in reverse order by last accessed. That means if you have your course cards arranged sequentially (1, 2, 3, 4), and the student watches number 4 first, that course will move to the front and the sequence will show 4, 1, 2, 3 next time they go back to their dashboard.
If you would like the courses to always be arranged in the same order that you have within your Courses page (see Reorder Your Courses), you can remove one portion of code within your Theme code.
Note: The code edit below only applies to indvidually listed courses on the page. This code modification will not work for courses that are part of a bundle.
Removing the Last Viewed Sort
To edit your code, go to your Theme editor and:
- Open the Sections folder
- Locate and open the student_dashboard file on the left hand side
- In the code on the right, find and delete '| sort: 'last_accessed' | reverse', as shown here:
With the sort function removed, the courses will appear in the order you've arranged in your Courses page. As you build out new courses, so long as they are arranged in the way that you prefer, they will translate as such in the Student Dashboard as well.
More on Code Customizations
We do not generally provide support for code customizations.
If you are looking for any further assistance with custom code, we have some other common code customization instructions here. We also have some wonderful freelance web developers on our Thinkific Experts page who you can reach out to if you need! There's also the Thinkific Store on Fiverr, for smaller, quicker jobs.