Admin Post Navigation

Wordpress Plugin
Download latest - 2.1



Download Stats

Today 173
Yesterday 216
Last Week 1,061
All Time 99,119
Banner 772x250

Releases (15 )

Version Release Date Change Log
2.1 2018-04-18

Recommended update: added screen option for users to customize post navigation order for each post type, fixed bug where navigation didn't appear for posts with apostrophe in title, updated unit test bootstrap file, noted compatibility is now WP 4.7-4.9+, and updated copyright date (2018)

2.0 2016-04-14

Recommended update: added RTL support, moved CSS & JS into enqueueable files, enabled navigation for media files, adjustments to utilize language packs, minor unit test tweaks, noted compatibility through WP 4.4+, and updated copyright date

1.9.2 2015-08-19

Bugfix: fix to display navigation links in WordPress 4.3; noted compatibility through WP 4.3+

1.9.1 2015-07-09

Minor bugfix: fix to more reliably ensure the navigation links appear in certain situations; fix incorrect example code for excluding post statuses; noted compatibility through WP 4.2+

1.9 2015-03-15

Feature update: fix to only apply navigation to first h2 on page; added filters to facilitate customizing link text; added unit tests; noted compatibility through WP 4.1+; added plugin icon

1.8 2013-12-29

Minor update: hid screen options checkbox when JS is enabled since metabox is hidden; improved metabox spacing; noted compatibility through WP 3.8+

1.7.2 2012-12-15
  • Add check to prevent execution of code if file is directly accessed
  • Note compatibility through WP 3.5+
  • Update copyright date (2013)
  • Move screenshots into repo's assets directory
1.7.1 2012-06-09
  • Use string instead of variable to specify translation textdomain
  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Add banner image for plugin page
  • Remove ending PHP close tag
  • Minor documentation tweaks
  • Note compatibility through WP 3.4+
1.7 2011-12-16
  • Add support for localization
  • Change to use post type label instead of post type name, when possible, in link title attribute
  • Change to use larr and rarr characters to denote direction of navigation
  • Enhanced styling of navigation links
  • Hook 'admin_enqueue_scripts' action instead of 'admin_head' to output CSS
  • Hook 'load-post.php' to add actions for the post.php page rather than using $pagenow
  • Add version() to return plugin version
  • Add register_post_page_hooks()
  • Remove admin_init() and hook 'do_meta_boxes' in register_post_page_hooks() instead
  • Update screenshots for WP 3.3
  • Note compatibility through WP 3.3+
  • Drop compatibility with versions of WP older than 3.0
  • Update screenshots for WP 3.3
  • Add link to plugin directory page to readme.txt
  • Minor code reformatting
  • Minor readme.txt reformatting
  • Update copyright date (2012)
1.6.1 2011-07-18
  • Use ucfirst() instead of strtoupper() to capitalize post type name for metabox title
  • Note compatibility through WP 3.2+
  • Minor code formatting changes (spacing)
  • Add FAQ section to readme.txt
  • Fix plugin homepage and author links in description in readme.txt
1.6 2011-02-24
  • Add support for navigation in other post types
    • Add filter 'c2c_admin_post_navigation_post_types' for customizing valid post_types for search
    • Enable navigation for all post types by default
    • Allow per-post_type sort order for navigation by adding $post_type argument when applying filters for 'c2c_admin_post_navigation_orderby'
    • Pass additional arguments ($post_type and $post) to functions hooking 'c2c_admin_post_navigation_post_statuses'
  • Ensure post navigation only appears on posts of the appropriate post_status
  • For hierarchical post types, order by 'post_title', otherwise order by 'ID' (filterable)
  • Move application of filters from admin_init() into new do_meta_box(), which is hooking 'do_meta_box' action, so they only fire when actually being used
  • Output JavaScript via 'admin_print_footer_scripts' action rather than 'admin_footer'
  • Rename class from 'AdminPostNavigation' to 'c2c_AdminPostNavigation'
  • Switch from object instantiation to direct class invocation
  • Explicitly declare all functions public static and class variables private static
  • Documentation tweaks
  • Note compatibility through WP 3.1+
  • Update copyright date (2011)
1.5 2010-08-18
  • Change post search ORDER BY from 'post_date' to 'ID'
  • Add filter 'c2c_admin_post_navigation_orderby' for customizing search ORDER BY field
  • Add filter 'c2c_admin_post_navigation_post_statuses' for customizing valid post_statuses for search
  • Deprecate (but still support) 'admin_post_nav' filter
  • Add filter 'c2c_admin_post_navigation_display' filter as replacement to 'admin_post_nav' filter to allow modifying output
  • Retrieve post title via get_the_title() rather than directly from object
  • Also strip tags from the title prior to use in tag attribute
  • Don't navigate to auto-saves
  • Check for is_admin() before defining class rather than during constructor
  • esc_sql() on SQL strings that have potentially been filtered
  • Use esc_attr() instead of attribute_escape()
  • Store plugin instance in global variable, $c2c_admin_post_navigation, to allow for external manipulation
  • Fix localization of the two strings
  • Instantiate object within primary class_exists() check
  • Note compatibility with WP 3.0+
  • Drop compatibility with version of WP older than 2.8
  • Minor code reformatting (spacing)
  • Remove docs from top of plugin file (all that and more are in readme.txt)
  • Remove trailing whitespace in header docs
  • Add Upgrade Notice and Filters sections to readme.txt
  • Add package info to top of plugin file
1.1.1 2010-01-05
  • Add PHPDoc documentation
  • Note compatibility with WP 2.9+
  • Update copyright date
  • Update readme.txt (including adding Changelog)
1.1 2009-06-15
1.0 2009-06-15