Description
Edit Post Link adds a highly customizable and stylized link or button to your posts, pages, and custom post types, allowing logged-in editors and administrators to quickly jump to the edit screen directly from the frontend.
No more hunting for the admin bar or navigating the dashboard. Just click the button on your post and start editing.
Key Features:
- Multiple Styles & Types: Choose between a sleek Button, a modern Circle, or a clean Plain Text link.
- Custom Link Text & Alignment: Customize the button label (defaulting to
Edit) and align it Left, Center, or Right. - Custom Layouts & Visibility: Position the link Above or Below your post content, display it on All Views or Single Posts & Pages Only, and choose to open in a New Tab or the Same Tab.
- Hover Customization: Personalize the hover behavior with color selectors and smooth animations (Lift, Grow, Pulse, Glow, or None).
- Live Settings Preview: Preview your button style, text, alignment, colors, and layout in real-time on the settings page before saving.
- Block Theme & FSE Support: Fully compatible with classic themes as well as modern block themes via the Block Hooks API.
- Accessible, Secure & Lightweight: Built with performance, accessibility (
prefers-reduced-motion, contextualaria-labeldisambiguation,:focus-visiblestates), and WordPress security best practices in mind.
Installation
- Uncompress the download package
- Upload folder including all files and sub directories to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Select your colors in Settings -> Edit Post Link
Screenshots
Changelog
0.4.0
- Add custom Link Text setting (defaults to
Edit). - Add Alignment setting (
Left,Center,Right). - Add Display On scope setting (
All Views (Single & Archives)orSingle Posts & Pages Only). - Fix duplicate Edit link output on singular templates in block themes (FSE) and honor Above/Below Content position in block hooks.
- Fix Live Preview not updating when selecting or clearing colors in the WordPress Iris color picker.
- Show a confirmation notice when settings are saved.
- Prevent outputting empty inline CSS rules when colors are unset.
- Improve accessibility with contextual
aria-labeldisambiguation andprefers-reduced-motionsupport. - Fix PHP 8 reference notice in
unPrefix()and improve output escaping across settings controls. - Declare compatibility and test up to WordPress 7.1.4.
0.3.0.2
- Fix PHP 8.4 deprecation warning in PHP version check.
- Hook translation loading and stylesheet enqueueing to proper WordPress hooks.
- Fix direct file access security issues.
- Clean up unused translation files.
- Declare compatibility and test up to WordPress 7.1.
0.3.0.1
- Add block theme (FSE) support: output the edit link after post content on single templates via the Block Hooks API (WordPress 6.4+), using the same markup as the classic output.
- Show the plugin icon next to the title on the settings page.
- Refresh the WordPress.org plugin directory assets (icon, banner, screenshots).
0.3.0.0
- Add a redesigned settings experience with grouped controls and a live preview panel.
- Add
Open Link Inbehavior (New TaborSame Tab) and keep position controls in the Behavior group. - Add hover customization controls (animation and hover colors), with conditional visibility based on selected link type.
- Add translation-safe UI logic for settings interactions through localized config values.
- Improve security with nonce verification and strict server-side option sanitization/validation.
- Improve accessibility with keyboard focus-visible states and a larger compact circle hit area.
0.2.4.3
- Confirmed compatibility with PHP 8.3 and WordPress 6.8.1. Minimum required PHP version is now 7.4.
0.2.4.1
- Fixing a Fatal Error created when activating the plugin on PHP 8.0.
0.2.4.0
- Add link type options (button and circle).
- Load jQuery only on the plugin settings page.
- Animate the Circle Link with CSS instead of jQuery.
0.2.3.1
- Fix an issue with the pt-BR translations.
0.2.3
- Brings back styles and transition.
- Adds the ability to choose to load styles on the front-end.
0.2.2
- Removed the default styles to let theme style by default
- Removed javascript transition
- Added option to choose either above or below content to show link
0.2.1
- Fixed who can see the button.
0.2
- Fixed jQuery conflict.
0.1
- Initial Revision.




