sort course progress widget

Home Forums Legacy Support Support queries How-to & Troubleshooting sort course progress widget

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #101723
    chinolz
    Spectator
    how to sort the course progress widget alphabetically?
    #101786
    MrVibe
    Keymaster
    I am assuming that you're referring to the Dashboard - Course Progress widget. Unfortunately, there are no controls available for this. This is the first such request, so here are the options :
    1. We can add this in our Widget in the theme updates.
    2. I can give you a small code snippet which would enable this.
      #1 : Let me know. #2 : Add this snippet :   add_filter('wplms_dashboard_course_progerss',function($args){ $args['orderby'] = 'name'; return $args; });
    #101823
    chinolz
    Spectator
    script added, yes can you add this in the theme update. Thanks!
    #101855
    chinolz
    Spectator
    This reply has been marked as private.
    #102081
    H.K. Latiyan
    Participant
    I checked your website, the code seems to be working, refer: http://screencast-o-matic.com/watch/cbeYXU6C2V As you can see in the video first the numeric value, i.e 8 and then all the names starting with A is there and so on. Please try clearing the cache.
    #102100
    chinolz
    Spectator
    i see its sorting permalinks name not course titles thx
    #102310
    H.K. Latiyan
    Participant
    In this we do not execute our custom query we use wordpress query and the result of the wordpress query is shown here.
    #116992
    verbomedia
    Participant
    How can I order by the percentage of the course progress?
    #117045
    H.K. Latiyan
    Participant
    @verbomedia: Please create your own topics for your issues. --------------- Sorry this is not available as of now to sort it via course progress.
Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘sort course progress widget’ is closed to new replies.