Admin Slug Column

外掛說明

This plugin adds a column to wp-admin “All Posts” and “All Pages” views displaying the URL path and Slug for each one. This will also show the nested path if a page is a child post of a parent. If a post or page is not published we’ll do our best to determine the url path and display that slightly greyed out for quick reference as it’s technically not an official URL path or Slug yet. This should also work for custom post types of type page or post, and furthermore this should now, as of v1.6, also display Multibyte characters in slugs for non-latin languages too.

I initially built this out of necessity to quickly identify pages by their slug/path as sometimes the titles that clients used did’t match up nicely with the URL slug on the front-end of the site; so here’s a fast way to do that. Nothing fancy, just does what it does.

Do you have a feature you’d like or a bug you’ve found? Feel free to make an issue on the github repo.

安裝方式

  1. Upload the admin-slug-column directory to the /wp-content/plugins/ directory
  2. Activate the Admin Slug Column plugin through the ‘Plugins’ menu in WordPress
  3. Go to Posts or Pages and see the column showing your slug
  4. Choose to hide/show the slug column in “Screen Options” tab up top

使用者評論

2022 年 4 月 14 日
Great little product - thank you. Somehow I had the same name for a post and a page - and it was causing problems. this solved it. I would use it all the time if it handled multi-byte characters as a url is spread over 9 lines.
2019 年 10 月 1 日
It does what it said. Very good plugin...
閱讀全部 26 則使用者評論

參與者及開發者

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

參與者

將〈Admin Slug Column〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.6.0

Release Date – 2022-05-21

  • tested on 6.0-RC4
  • [feature] Multibyte characters are now supported
  • [feature] Now on draft, pending, or scheduled posts/pages instead of the ?page_id= showing we display the URL path.
  • [fix] Made sure child pages displayed the URL path correctly in all instances
  • [411] Regarding the version bump from 0.5 to 1.6. The plugin’s been in production forever, I always joked that nothing is every fully not-beta but that joke isn’t always appreciated SO… it’s a v1 release and .6 major change since inception. It’s only coincidence that 1.6.0 matches with WordPress 6.0 release (didn’t plan that).

0.5.0

Release Date – 2019-06-15

  • [fix] pages now show the full URL path now after the domain.tld, posts still just the slug
  • tested on 5.2.2

0.4.0

Release Date – 2018-10-26

  • [fix] a sorting issue (sadly doesn’t work with parent slug feature (below))
  • [feature] pages now have a root slash and will show the /parent/child slug now
  • added plugin banner and icon for WordPress repo
  • tested to 5.0-beta

0.3.1

Release Date – 2017-11-14

  • tested to 4.9

0.3.0

Release Date – 2017-06-14

  • tested to 4.8.x
  • [feature] makes the slug column sortable in posts/pages screens
  • [fix] swapped out deprecated wp function get_page
  • [security] escape output
  • [security] only load in admin

0.2.2

Release Date – 2015-04-27

  • wp code formatting
  • tested to 4.2

0.2.1

Release Date – 2014-09-04

  • basic cleanup
  • tested to 4.0

0.2

Release Date – 2013-05-07

  • make oop and class

0.1

  • Initial version to github; rough; makes slug columns yay