WordPress.org

Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#48370 new feature request

Add "next/previous" links to Edit Post screen

Reported by: Hein35 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: 2nd-opinion
Focuses: ui, administration Cc:
PR Number:

Description

Maybe a good idea for blogs or shops to have some sort of "next/previous" links inside the edit post page so it's easier to navigate through posts, pages and products without leaving the edit page.

At the moment it's a bit un-logical since when i am on page 5 and i open a post i want to edit then after i have updated it i want to edit the next one or the previous one in the list. Only way possible is to click on all posts but then your back to page 1. You can do a go back through the browser back tab but that's not the proper way to work.

Change History (3)

#1 follow-up: @joyously
4 weeks ago

Hi and welcome!
The Next/Previous and pagination links are all only available when there has been a query returning multiple posts or pages. But the edit page is standalone and only one page, which can be entered from several different places (admin or front end). There is no context of what is next or previous.
For your ease of use, you might want to use multiple windows or tabs, one for the list and one for the edit page.

#2 @SergeyBiryukov
4 weeks ago

  • Component changed from Administration to Posts, Post Types
  • Focuses performance removed
  • Summary changed from Woocommerce or wordpress product/post/page edit pagination to Add "next/previous" links to Edit Post screen

#3 in reply to: ↑ 1 @knutsp
4 weeks ago

  • Keywords 2nd-opinion added

Replying to joyously:

The Next/Previous and pagination links are all only available when there has been a query returning multiple posts or pages.

I'm not sure this is correct. The only thing needed is a default and/or inherited "order by" or set. Posts on the front (all posts page) may have a next/previous link, pointing to whichever post as being adjacent in the post_date "order by", or in same category set.

Such "order by", different from default, for an editor can be set as a query string and must survive an update by POST. For any editable object. This is quite major change and I doubt it's something most users need.

For users, there is a very convenient "<- Back to users" link appearing after an update. This brings back the same table, position and ordering as before entering user edit screen. A link like that may be introduced on post editing, too.

The task of going back to the list table after editing a post is not easy, as you must go back two "pages" and then refresh. A direct link to that screen could be very useful. This was implemented for users once, and I don't know why it was not implemented for posts/pages.

That said, editing the content a lot of posts/pages in a row is kind of an edge case, though, given he powerful multi edit functions for all attributes, state and author.

Such serial text/images content editing may, however, be more needed for custom post types, maybe like products and so on. In that case, maybe plugin territory after all.

Note: See TracTickets for help on using tickets.