WordPress.org

Ready to get started?Download WordPress

Forums

Change the display order of Custom Post Type (2 posts)

  1. Albert Banks
    Member
    Posted 4 years ago #

    I've setup a custom post type and customized the columns and column contents displayed in the admin of WP.

    Is there any way to change the display order of this new post type? Currently WP displays them by ID, but that is not relevant for my context. Nor is publish added.

    I really want to display them alphabetically by name. Is there any way to do this?

  2. vtxyzzy
    Member
    Posted 4 years ago #

    You can use the orderby='title' parameter in the query arguments. See the Codex article here.

Topic Closed

This topic has been closed to new replies.

About this Topic