Staff Page – Alphabetized List

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31930
    Micah KleidMicah Kleid
    Participant

    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
    VeenaVeena
    Moderator

    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 KleidMicah Kleid
    Participant

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Staff Page – Alphabetized List’ is closed to new replies.