Site icon Hip-Hop Website Design and Development

How to after saving or publishing a post redirect back to the original page

When viewing a list of posts on the admin page wp-admin/edit.php I click on edit. I then finish editing the post, click on save or publish and expect to be returned to the original admin listing page I started on.

The same with when I’m viewing the front end of a post and click the edit link in the admin toolbar. After I finish editing the post I want to be returned to the original screen I was on.

To me this seems like this is the most predictable behavior and I’m surprised WordPress does not act like this out the box.

This behavior should be consistent with all custom post types.