Put Courses in Alphabetical Order

Home Forums Legacy Support Support queries How-to & Troubleshooting Put Courses in Alphabetical Order

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25465
    RobDavies
    Spectator
    I'm trying to arrange courses in a category view to be in alphabetical order  and have tried this in child theme functions.php [code] add_filter('wplms_course_filters_course_cat','sort_order_by_name'); function sort_order_by_name($arr){ $arr=array('orderby'=>'name','order'=>'ASC','parent'=>0); return $arr; } [/code] What I'm trying to achieve is an alphabetical order or pages such as http://nilc.co.uk/course-cat/apple/   Thanks  
    #25781
    Anshuman Sahu
    Keymaster
    Sorry this is not possible as of now there is no such filter on the course category page . the filter that you are trying above is for the widget .
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Put Courses in Alphabetical Order’ is closed to new replies.