Multiple Custom Post Type Admin Tables on One Page (2 posts)

  1. edrdesign
    Posted 3 years ago #

    Is it possible to display multiple CPT admin tables on one page? I'm talking about the kind of full functionality you get(edit, quickedit, delete, etc.) within a single admin page? I don't want to use WP_List_Table unless absolutely necessary.

  2. bcworkz
    Posted 3 years ago #

    I'm not sure you can, but it does seem plausible.

    You would need to create your own variant of the edit.php page and alter the admin menu to go there instead of the usual page. Perhaps the most difficult part to address is the screen ID. Each table would need it's own screen ID in order for WP_Posts_List_Table to work correctly. Score one for not using WP_Posts_List_Table.

    If you want to not use WP_Posts_List_Table, you could recreate a similar table on your own, but that sounds much more painful than working with WP_Posts_List_Table, even with the screen ID issue.

Topic Closed

This topic has been closed to new replies.

About this Topic