How do I create a customised table list of a custom post type (in the admin area)?

I have created a custom post type, it has five (yes, really) taxonomies. It is designed to be used exclusively by the pl

I have created a custom post type, it has five (yes, really) taxonomies. It is designed to be used exclusively by the plugin and not displayed to end-users. If this was a regular post, we would have the "all posts" view in the admin area. I need something like that for my custom type (but without edit options and other changes) mostly for use by site owner and super admin.

I am aware of the possibility of extending WP_List_Table but I am unsure if this is the best approach.

What is the "correct" way to show this table of information, have it only link to an admin view of the item (non-editable - that's most important - no editing should happen) and generally customise the heck out of the table? (For example, I want to show the count of taxonomy entries across all five as a sortable column, show icons for various potential/optional metadata, and display a few other bits of meta-data).

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745272348a4619825.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信