Image
Image

Slash Edit

설명

Quickly edit posts, pages, custom post types, users, archives, and terms (tags and categories) 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. Please note that only those with Editor privileges and above can quick-edit content.

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

https://domain.com/about/edit instead of https://domain.com/wp-admin/post.php?post=5&action=edit

The “/edit” functionality also works on author, taxonomy archives, post type archives, and if you have a page assigned as your front page of your site. If you try to edit from a blog archive, you’ll be taken to Settings->Reading.

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.

As a security precaution, only users with Editor privileges or above can edit items.

스크린샷

  • Image
    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. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.

FAQ

How do I use the plugin?

Just browse to the posts, pages, post types, users, archives, and terms 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.

Who can edit items?

Only Editors and above. This can be overridden by filters slash_edit_capability_check and slash_edit_can_edit.

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

You’re able to edit any term or category item by adding /edit to the end.

What about attachment pages?

That one I couldn’t figure out. Most themes disable this. 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.

후기

Image
2021년 7월 19일
Simple to use and does the job perfectly, saves me so much time. Thank you.
Image
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.2.0

  • Updated 2025-12-06
  • Security fix: Adding /edit can expose IDs that are otherwise private. Update for a better login workflow. As a security precaution, only those with Editor privileges and above can quickly edit items.
  • New feature: Allow terms and child terms to be editable.
  • New feature: Adding /edit to a blog archive redirects to Settings->Reading.
  • New feature: Editing a post type archive will redirect to post list screen for the archive.
  • Misc: Code cleanup throughout, updating to WPCS and passing Plugin Check.

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
  • 초기 릴리즈