Course Page Category Switch

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13147
    Bfields4bfields4
    Member

    All of the courses have 2 categories. Why does it say Broker Pre-License, Online for some and then switch to Online, Post Licensure for others. Am I able to manually list with category is listed first. I want all the courses to list if it is online or in-classroom first. Please Help. Thanks

    Attachments:
    #13209
    VeenaVeena
    Moderator

    You can reorder the course category explicitly with a slight code change in the file loop-courses.php line no:34

     $query_args = array(
                        'post_type' => 'course',
                        'posts_per_page' => 8,
                        'paged' => $paged
                    );
    

    to

    $query_args = array(
                        'post_type' => 'course',
                        'posts_per_page' => 8,
                        'paged' => $paged,
                        'orderby' => 'title',
                        'order' => 'ASC'
                    );
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.