Edit Post Link

外掛說明

A plugin to insert a stylized link to edit posts and pages

New in 0.3.0.0:
– Link types: Button, Circle, and Plain Text
– Behavior controls: position (Above/Below) and open target (New Tab/Same Tab)
– Hover customization: animation presets and hover color options
– Live preview in settings that updates as options change
– Better translations support for option-driven UI behavior
– Security and accessibility hardening (validated settings, focus styles, larger circle hit area)
– Block (FSE) themes: on single templates the edit link is also output after the post content using the Block Hooks API (WordPress 6.4+). The Above/Below position setting applies to classic the_content / the_excerpt output; block themes use the hooked placement after post content.

螢幕擷圖

  • Settings page configured to don’t load the plugin styles.
  • The Edit button uses theme’s link styles in this case.
  • Settings page configured to load the plugin styles.
  • A button will be displayed using the colors set on the plugin’s settings page.

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Edit Link

安裝方式

  • 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

使用者評論

2020 年 10 月 29 日
UPDATE: Now that I’m using it, I see that the Edit page (the target of the Edit button) doesn’t render properly. The Edit tool bar is mostly cut off. This plugin lets you add an edit button at the top or bottom of any post or page. The button is visible anytime you’re logged into your WP site. You can style the button to be as noticeable or as subtle as you like. Much handier than having to open the posts edit page any time you need to edit.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Edit Post Link〉的開發相關工作。

參與者

〈Edit Post Link〉外掛目前已有 3 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Edit Post Link〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.3.0.0

  • Add a redesigned settings experience with grouped controls and a live preview panel.
  • Add Open Link In behavior (New Tab or Same 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.
  • Retain block theme support: Block Hooks output after post content on single templates, using the same link markup as the classic editor output.

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.2

  • Added compatibility with block themes (Full Site Editing) using the Block Hooks API (WordPress 6.4+). The edit link appears after post content in both classic and block themes.

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.