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