WordPress.org

Make WordPress Core

Opened 22 months ago

Closed 7 months ago

#25432 closed enhancement (duplicate)

Making a custom admin UI for browsing posts is hard

Reported by: ericlewis Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8
Component: Posts, Post Types Keywords: needs-patch
Focuses: administration Cc:

Description

If you want to use a custom UI for browsing posts instead of using the core default WP_List_Table UI, the options you have are hacky at best.

There is no short-circuit hook in wp-admin/edit.php, nay, not even a single hook within the main 'div.wrap' to afford developers to output their markup. This seems like it might be the most straight-forward, familiar option, a la the short-circuit filters in shortcodes.

List Table Factory is not pluggable (#18449), which might've been a hacky option to stuff markup into a custom WP_List_Table object.

We do have the 'load-edit.php' hook, in which we can sniff the $_REQUEST, and stuff a copy of the entirety of wp-admin/edit.php into. This is our first option that could work, but woah that's hacky.

Change History (5)

comment:1 @klihelp22 months ago

One example for this could be a thumbnails (boxes) view of the posts instead of lines (rows) views.

comment:2 @jrbeilke20 months ago

  • Cc jrbeilke@… added

comment:3 @nacin18 months ago

  • Component changed from Administration to Posts, Post Types
  • Focuses administration added

comment:4 @wonderboymusic13 months ago

  • Keywords dev-feedback removed
  • Milestone changed from Awaiting Review to Future Release

comment:5 @wonderboymusic7 months ago

  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from new to closed

#29881 has code and stuff

Note: See TracTickets for help on using tickets.