WordPress.org

Ready to get started?Download WordPress

Forums

How to set CPT list in Admin to always be sorted by title (1 post)

  1. flint_and_tinder
    Member
    Posted 2 years ago #

    I have a CPT called 'People' with 200+ entries. Quite often I need to edit these and find it easiest to do it alphabetically. The problem is the CPTs by default always display by the date they were added in the WP admin area. So I whenever I edit and entry and go back into the full 'People' CPT list, I have to re-sort it alphabetically by clicking on the title tab to find the next entry to edit.

    Whilst this isn't major, it is incredibly irritating. Therefore does anyone know of what code I can add to the functions file in order to get wordpress to always display the people CPT in the ADMIN with orderby=title and order=asc already set?

    Many thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic