From the course: WordPress: Custom Post Types and Taxonomies

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Creating custom post type labels

Creating custom post type labels - WordPress Tutorial

From the course: WordPress: Custom Post Types and Taxonomies

Start my 1-month free trial

Creating custom post type labels

- [Instructor] If we go to CPTUI add/edit post types and then click the edit post types tab, we'll be able to edit our business type. While we configure the basic settings, we have lots of flexibility for what the user sees in the admin. Under additional labels, there are lots of fields, thankfully with descriptions and examples for everywhere our post type could show up and needs to be labeled. Let's walk through some of these settings. There are a lot. Luckily, if we don't define a label, WordPress is smart enough to use either the singular or plural label based on the context. But in certain areas, or for certain post types, it might make sense to be a little more specific. In this instance, we can generally use the singular or plural label everywhere. A helpful exercise would be to insert businesses or business into the example to see if it makes sense, and if it doesn't, we should change it. So, for view item, view business, or view items, view businesses, makes perfect sense…

Contents