slug column post page

Display Slug Column in Post/Page WordPress Dashboard

There are some cases that you need to show the slug URL of each blog post or page while viewing their titles in WordPress dashboard.

I encounter this when I have to update each slug to a more SEO friendly URL. Below is the code I pasted onĀ functions.php of my active template.

It will add a new column and you can simply edit each slug on Quick Edit if needed.