=== Mxwlsoft Editor Post Navigator ===
Contributors: mxwlsoft
Tags: post navigation, editor, quick edit, adjacent post, gutenberg
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.3
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds previous/next post navigation links to the post editor toolbar for quick switching without returning to the list.

== Description ==

**Stop losing your editing flow.**
Mxwlsoft Editor Post Navigator puts previous and next post navigation buttons right inside your Gutenberg editor toolbar—so you can switch between posts without ever going back to the post list.

### What you can do with it:
- **Jump directly** from one post to the next (or previous) while editing.
- **Save time** by eliminating the need to constantly return to the admin list screen.
- **Stay focused** on your content, with navigation that feels like a natural part of the editor.
- **Works with all standard post statuses** published, draft, pending, etc.

### Why you'll love it:
- **Zero clutter** – buttons appear only when editing an existing post, and they blend perfectly with the toolbar.
- **Mobile-friendly** – on smaller screens, the button text disappears to save space, leaving just the arrow icons.
- **Quick to use** – just click to go to the previous or next post, and keep writing.

Whether you're working on a series of articles, reviewing drafts, or just moving through your content, this plugin makes post navigation effortless.

== Installation ==

1. Upload the `mxwlsoft-editor-post-navigator` folder to `/wp-content/plugins/` directory, or search for "Mxwlsoft Editor Post Navigator" in the WordPress admin plugin installer.
2. Activate Mxwlsoft Editor Post Navigator via the 'Plugins' menu.
3. Open any post for editing—you will see the previous/next buttons in the top-right toolbar.

== Frequently Asked Questions ==

= Why don't I see the navigation buttons? =

Please ensure:
- You are editing an existing post (the buttons do not appear on new, unsaved posts).
- Your WordPress version is at least 6.9, and PHP version is at least 8.3.
- You are using the Gutenberg (block) editor; the classic editor is not supported.
- No other plugins or themes are interfering with the toolbar DOM.

= How is the navigation order determined? =

Adjacent posts are sorted by **post date** and **ID**, matching the default order in the admin post list. If multiple posts share the same date, they are further sorted by ID.

= Does it support custom post types? =

Yes, it supports custom post types.

= Why is the post title truncated? =

To keep the toolbar clean, the plugin only displays the first few characters of the title (approximately 20 characters in English), while the title itself is displayed as completely as possible.
Tip: You can hover your mouse over the title to view the full title content.

== Changelog ==

= 1.0.1 =
* Optimize the button post title style to display it as completely as possible and reduce truncation.

= 1.0.0 =
* Initial release.
* Added previous/next navigation to the Gutenberg editor toolbar.
