• Resolved chuck27p

    (@chuck27p)


    How do I get the slug of a new CPT I created? If I click on CODE I see this cptui_register_my_cpts_photos. Is that it? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    The slug is going to be the first field listed when creating/editing either a post type’s settings, or a taxonomy’s settings.

    At the same time, you’re almost right. If you’re looking at cptui_register_my_cpts_photos, the slug would be the part after the cptui_register_my_cpts_. In your example case “photos”.

    Thread Starter chuck27p

    (@chuck27p)

    Eureka! Worked perfect, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.