PluginProbe
Slash Edit: Admin Shortcuts to Edit Posts and Pages Faster / trunk
Slash Edit: Admin Shortcuts to Edit Posts and Pages Faster vtrunk
trunk 1.0.0 1.1.0 1.1.1 1.2.0 1.3.0 1.3.2
slash-edit / readme.txt

readme.txt in Slash Edit: Admin Shortcuts to Edit Posts and Pages Faster trunk, at readme.txt

272 lines 9.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === Slash Edit: Admin Shortcuts to Edit Posts and Pages Faster ===
2 Contributors: ronalfy
3 Tags: shortcuts, edit, edit post, edit page, quick-edit
4 Requires at least: 6.5
5 Tested up to: 7.0
6 Stable tag: 1.3.2
7 License: GPLv2 or later
8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
9 Donate link: https://mediaron.com/give/
10
11 Save time by editing posts, pages, users, and more with a simple `/edit` URL shortcut. This is a fast admin shortcut for WordPress admin editing.
12
13 == Description ==
14
15 Slash Edit saves you time by adding a simple admin shortcut to WordPress that lets you edit posts and pages quickly by adding `/edit` to almost any URL.
16
17 Instead of navigating through wp-admin or relying on the admin bar, just append `/edit` and go straight to the edit screen.
18
19 > https://yoursite.com/about/edit
20
21 This makes it easy to:
22
23 * Edit posts quickly
24 * Edit pages quickly
25 * Use a reliable quick edit shortcut
26 * Access a clean admin shortcut to edit content
27 * Securely share admin edit links with clients
28
29 https://www.youtube.com/watch?v=8LKFK5-FokE
30
31 == A True WordPress Shortcut for Editing - /edit ==
32
33 Slash Edit is built for speed. Whether you're a developer, editor, or site owner, it gives you a consistent shortcut to edit posts and pages without relying on the admin bar.
34
35 * No more searching through the dashboard
36 * No more long admin URLs
37 * Just a fast and predictable edit shortcut that is there when you need it
38
39 == Replace Complex Admin URLs ==
40
41 Stop sharing links like:
42
43 > `https://yourdomain.com/wp-admin/post.php?post=123&action=edit`
44
45 Instead, send a clean edit page shortcut:
46
47 > `https://yourdomain.com/about/edit`
48
49 Perfect for clients and teams who need a simple way to quick edit content or for email senders who mangle URLs.
50
51 == What You Can Edit ==
52
53 Slash Edit works across your entire site:
54
55 * Posts and pages
56 * Custom post types
57 * Users
58 * Categories and tags
59 * Taxonomies
60 * Author archives
61 * Front page (if assigned)
62 * Blog page (if assigned)
63
64 If you are not logged in, you will be prompted to log in and then redirected to the correct edit screen.
65
66 == Why Use This Edit Shortcut? ==
67
68 * You want to edit posts and pages quickly
69 * You need a reliable admin shortcut without the admin bar
70 * You want to send clients a simple edit page link
71 * You prefer a fast quick edit workflow
72
73 == Slash Edit is Perfect for WordPress Plugin and Theme Demos ==
74
75 When a WordPress Playground or demo site is generated, you don't always know the final ID or URL of an item. With Slash Edit installed, give them a relative link such as:
76
77 `/about/edit`
78
79 If you have theme demos you can **take your users right to the customizer or Full Site Editor** with a shortcut: `/theme/edit`
80
81
82 == Examples of Slash Edit in Use ==
83
84 **Content Editing**
85
86 * Homepage: `https://yourdomain.com/edit`
87 * Page: `https://yourdomain.com/about/edit`
88 * Post: `https://yourdomain.com/blog/your-blog-post/edit`
89 * Custom Post Type: `https://yourdomain.com/resources/my-resource/edit`
90 * Deeply Nested Post Type (example: lessons): `https://yourdomain.com/courses/new-course/lessons/new-lesson/edit`
91 * WooCommerce: `https://yourdomain.com/product/product-123/edit
92
93 **Post Types Archives**
94
95 * Custom Post Type (example: articles): `https://yourdomain.com/articles/edit`
96 * WooCommerce Products: `https://yourdomain.com/product/edit` or `https://yourdomain.com/shop/edit`
97 * Easy Digital Downloads: `https://yourdomain.com/downloads/edit`
98
99 **Users**
100
101 * Edit author profile: `https://yourdomain.com/author/myuser/edit`
102 * Users list:
103 * `https://yourdomain.com/users/edit`
104 * `https://yourdomain.com/author/edit`
105 * `https://yourdomain.com/authors/edit`
106
107 **Taxonomies**
108
109 * Category: `https://yourdomain.com/category/category-one/edit`
110 * Tag: `https://yourdomain.com/tag/new-tag/edit`
111 * Custom Taxonomy: `https://yourdomain.com/topics/hosting/edit`
112 * Nested Taxonomy Within Post Type: `https://yourdomain.com/how-tos/topics/hosting/edit`
113
114 **Theme Editing**
115
116 * Full Site Editor / Customizer: `https://yourdomain.com/theme/edit`
117
118 **Multisite**
119
120 * Go to a Site's edit screen: `https://mymultisite.com/site/edit`
121 * Go to all sites in the network admin: `https://mymultisite.com/sites/edit`
122
123 **Example: Changing the Endpoint**
124
125 Changes `/edit` to `/editar`. Make sure to flush permalinks after any endpoint changes.
126
127 `
128 <?php
129 add_filter( 'slash_edit_endpoint', function( $endpoint ) ) {
130 return 'editar';
131 }
132 `
133
134 == Security ==
135
136 Only users with Editor capabilities (or higher) can access edit screens.
137
138 Developers can customize access using filters:
139
140 * `slash_edit_capability_check`
141 * `slash_edit_can_edit`
142
143 == Developer Friendly ==
144
145 * Filter the `/edit` endpoint if needed
146 * Extend redirect behavior
147 * Lightweight and no settings required
148
149 == Installation ==
150
151 1. Just unzip and upload the "slash-edit" folder to your '/wp-content/plugins/' directory
152 2. Activate the plugin through the 'Plugins' menu in WordPress
153
154 == Frequently Asked Questions ==
155
156 = How do I use the plugin? =
157 Navigate to any post, page, or archive and add `/edit` to the end of the URL.
158
159 Example (editing a page):
160
161 `https://example.com/about/edit`
162
163 Example (editing the homepage):
164
165 `https://example.com/edit`
166
167 Example (editing a user):
168
169 `https://example.com/author/myuser/edit`
170
171
172 = Do I need pretty permalinks enabled? =
173 Yes. Slash Edit requires pretty permalinks to work. Please flush permalinks if any `/edit` URLs 404 when they shouldn't.
174
175 = Who can access edit links? =
176 Only users with Editor permissions or higher by default. For security, final edit URLs aren't revealed until a permissions check through wp-admin.
177
178 The way it works is:
179
180 1. The `/edit` rule is captured and parsed.
181 2. One-time token is generated, saved as a transient.
182 3. Token is passed via the WordPress admin, which checks the token and user's permissions.
183 4. If a user has the right permissions, the user is redirected to the appropriate admin area.
184
185 Developers can override this using the provided filters.
186
187 = What happens if I am not logged in? =
188 You will be redirected to the login screen and then back to the correct edit page.
189
190 = Does this work with custom post types and taxonomies? =
191 Yes. Slash Edit supports custom post types, taxonomies, and most archives.
192
193 = What happens on archive pages? =
194 Most CPT archives should redirect you to the post type's list view in the admin.
195
196 All term and author archives work.
197
198 Blog archives redirect to Settings > Reading.
199
200 Special archives like WooCommerce allow for `/product/edit` or `/shop/edit`.
201
202 = Can I change `/edit` to something else? =
203 Yes. You can use the provided filter `slash_edit_endpoint` and then flush permalinks.
204
205 **Example: Creating a Custom Endpoint**
206
207 Changes `/edit` to `/editar`. Make sure to flush permalinks after any endpoint changes.
208
209 `
210 <?php
211 add_filter( 'slash_edit_endpoint', function( $endpoint ) ) {
212 return 'editar';
213 }
214 `
215
216 = Are there any settings? =
217 No. The plugin works out of the box with no configuration required.
218
219 = Does this plugin work with WordPress Multisite? =
220 Yes, this plugin works wonderfully with Multisite.
221
222 = What happens if a /edit URL 404's? =
223
224 Try flushing permalinks and/or setting pretty permalinks if they are not already enabled.
225
226 == Screenshots ==
227
228 1. Slash Edit when editing a post on the front-end.
229
230 == Changelog ==
231
232 = 1.3.2 =
233 * Updated 2026-04-16
234 * New: Added `/site/edit` and `/sites/edit` for Multisite installs for accessing the sites screen easily.
235 * Fix: Nested and custom taxonomies with terms weren't editable.
236 * Fix: Nested post types (post types within post types) weren't editable.
237
238 = 1.3.0 =
239 * Updated 2026-04-08
240 * New: Added `/authors/edit`, `/users/edit`, and `/author/edit` for accessing the users' screen in the admin.
241 * New: Added `/theme/edit` for accessing the Full Site Editor for block themes, otherwise the customizer.
242 * New: Added singular slugs to post type archive editing, so a post type with archive `shops` and singular `product` will both have `/edit` endpoints and go to the same product list view.
243 * New: Added more examples to the readme.
244
245 = 1.2.0 =
246 * Updated 2025-12-06
247 * 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.
248 * New feature: Allow terms and child terms to be editable.
249 * New feature: Adding `/edit` to a blog archive redirects to Settings->Reading.
250 * New feature: Editing a post type archive will redirect to post list screen for the archive.
251 * Misc: Code cleanup throughout, updating to WPCS and passing Plugin Check.
252
253 = 1.1.1 =
254 * Updated 2015-08-20 - Ensuring WordPress 4.3 compatibility
255 * Updated 2015-04-19 - Ensuring WordPress 4.2 compatibility
256 * Updated 2014-12-11 - Ensuring WordPress 4.1 compatibility
257 * Released 2014-11-13
258 * Fixing endpoint when page is created with same slug as the endpoint
259
260 = 1.1.0 =
261 * Released 2014-11-13
262 * Added "/edit" to the front of the site (e.g., www.domain.com/edit) if you have a page set as your front page.
263 * Added a `slash_edit_url` filter to determine where to redirect a user when "/edit" is present (props <a href="https://profiles.wordpress.org/bjornjohansen/">Bjørn J.</a>)
264
265 = 1.0.0 =
266 * Released 2014-10-19
267 * Initial Release
268
269 == Upgrade Notice ==
270
271 = 1.3.2 =
272 Added a few multisite shortcuts. Fixed taxonomy terms from custom taxonomies not being editable. Fixed nested post types not being editable.