O'Reilly logo

WordPress Plugin Development Cookbook by Yannick Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Displaying additional columns in the custom post list page

After customizing the post editor to give content creators a tailored environment to create and edit custom post type entries, this recipe turns its efforts towards the Book Reviews management page where all entries for this type are listed. By default, custom post type listings are quite simple, only showing the title, publication date, and number of comments for each item. To make it easier to identify, sort, and find data in this management page, WordPress offers a number of customization capabilities, starting with the ability to change the columns that are displayed.

This recipe shows how to add and remove columns in the post management page, as well as make sorting in new columns ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required