Staff Page – Alphabetized List

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

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by Veena Veena 1 day, 21 hours ago.

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

    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: 8159

    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.

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

You must be logged in to reply to this topic.