這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Slash Edit

外掛說明

Edit posts, pages, or custom post types by adding a “/edit” to the end of the URL. If you are not logged in, you will be prompted to log in in order to edit the item.

Send clients pretty URLs to the admin instead of a ton of query variables!

The “/edit” functionality also works on author and taxonomy archives, and if you have a page assigned as your front page of your site.

This is useful if:

  • You are not logged in, and want an easy shortcut to edit an item.
  • You hate the admin bar and have disabled it, but still want an easy shortcut to edit an item.
  • You have clients. Send them a pretty URL with “/edit” on the end.

螢幕擷圖

  • Slash Edit when editing a post on the front-end.

安裝方式

  1. Just unzip and upload the “slash-edit” folder to your ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

How do I use the plugin?

Just browse to the post, page, or custom post type, and add “/edit” to the end (e.g., http://domain.com/posts/edit).

You’ll need pretty permalinks enabled, which pretty much everyone already does.

Will you allow quick editing of categories and other items later?

It’s already in there 😀

What about attachment pages?

That one I couldn’t figure out. Patches welcome.

Where are the options?

No options 🙂

English is not my first language. Can I change the “/edit” into something else?

Yep, just throw this code in a Site-specific plugin.

Just keep in mind that whatever you choose to override with must be alphanumeric characters. Something like edición will be parsed as edicion.

If you choose to use this filter, you’ll need to update your permalinks or deactivate and reactivate the Slash Edit plugin.

使用者評論

2021 年 7 月 19 日
Simple to use and does the job perfectly, saves me so much time. Thank you.
2016 年 9 月 3 日
Proof that sometimes the simplest things can make a profound difference. It’s making its way into every Wordpress install I touch. Thank you!
閱讀全部 8 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.1.1

  • Updated 2015-08-20 – Ensuring WordPress 4.3 compatibility
  • Updated 2015-04-19 – Ensuring WordPress 4.2 compatibility
  • Updated 2014-12-11 – Ensuring WordPress 4.1 compatibility
  • Released 2014-11-13
  • Fixing endpoint when page is created with same slug as the endpoint

1.1.0

  • Released 2014-11-13
  • Added “/edit” to the front of the site (e.g., www.domain.com/edit) if you have a page set as your front page.
  • Added a slash_edit_url filter to determine where to redirect a user when “/edit” is present (props Bjørn J.)

1.0.0

  • Released 2014-10-19
  • Initial Release