Categories
Package/plugin/module WordPress

Admin Post Navigation v1.1.1

I’d like to announce the official release of the updated Admin Post Navigation plugin (v1.1.1) for WordPress.

Adds links to the next and previous posts when editing a post in the WordPress admin.

This is a minor update from the v1.1 release, making note of WP 2.9+ compatibility, adding code documentation, and updating the copyright date. (See below for information on the more substantial v1.1 release which wasn’t previously released on this site.)

For more details, instructions, screenshots, and the download link, visit the plugin’s official homepage at :
coffee2code.com/wp-plugins/admin-post-navigation.

Comments welcome on this post for this version of the plugin. Comments will be closed once this release has been superseded by another.

Read more for a detailed ChangeLog of the release.

Detailed ChangeLog

These are the detailed changes, which may or may not make sense to you depending on your familiarity with the previous features and internals of the plugin.

  • Add PHPDoc documentation
  • Note compatibility with WP 2.9+
  • Update copyright date
  • Update readme.txt (including adding Changelog)

v1.1 was also previously released on the WordPress Plugin Repository but not announced here. That release did:

  • Add offset and limit arguments to query()
  • Only get ID and post_title fields in query, not *
  • Change the previous/next post query to ensure it only gets posts the user can edit
  • Note compatibility with WP 2.8+

6 replies on “Admin Post Navigation v1.1.1”

This is great! I’d really like this feature for the page editing area. Any plans to do this in the future? Was searching and searching and couldn’t find one for pages, only posts.

Great plugin. Is there a way to configure it so that when you hit next it jumps only through “Draft” posts? I am using WP as a CMS and need to click throug Draft posts, edit them, then post them. This feature would help things move faster.

This is a very good plugin, but it didn’t work for me. The order of entries was wrong. I was able to figure out why, though – it’s the ORDER BY post_date. That can break the post order if a post with a bigger ID has an earlier date. When I changed that bit to ORDER BY ID, everything works as I’d expect it to.

@Jill: v1.6 of the plugin introduced the ability to navigate between pages (and other post types).

@geoff: v1.5 introduced the ability to limit navigation for certain post statuses (of which ‘draft’ is one). If you only want if for drafts, you could use this in your theme’s functions.php file:

add_filter( 'c2c_admin_post_navigation_post_statuses', 'change_apn_post_status' );
function change_apn_post_status( $post_statuses ) {
  return array( 'draft' );
}

@Mikko: v1.5 of the plugin sorts by ID rather than post_date.