WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. edrdesign
    Member
    Posted 11 months 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
    Member
    Posted 11 months 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.

Reply

You must log in to post.

About this Topic