Staff Page – Alphabetized List

Support Forums for LiveMesh Themes & Plugins Forums Invent Theme Support Staff Page – Alphabetized List

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by Micah Kleid Micah Kleid 4 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31930
    Micah Kleid
    Micah Kleid
    Participant
    Post count: 56

    Hi, is there any way to set the list of instructors on the Staff page as an alphabetized list be default? Right now whenever I add new staff members they appear in chronological order by when they were added, and I know I can go into WordPress and manually change the order, but that is going to become unwieldy when I have over a dozen new staff members to add at one time. You can see our current page at https://remodelersuniversity.com/staff. Thank you!

    #31935
    Veena
    Veena
    Moderator
    Post count: 8167

    For this you need to modify the code a little bit –
    In file loop-staff.php you need to change line no:49 from

    ‘orderby’ => ‘menu_order’,

    to

    'orderby' => 'title',
    

    To prevent the code modifications from future updates pls use child theme.

    #31961
    Micah Kleid
    Micah Kleid
    Participant
    Post count: 56

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Staff Page – Alphabetized List’ is closed to new replies.