Custom Field in Post-Type Slug

Ok so i have a website i'm working on, all is very much fine with every aspect, except with the slug for one post type i've created.

Basically i have 4 post types.

These are perfect as they are:-



The problem comes with the 4th one "Episode"

Rather than it being the default:-

I need it to be:-

I have set up a custom field for the user to select a show, so that's all taken care of but putting this into the slug is a whole different story. Any help on this would be greatly appreciated

I've searched all over the internet but to no avail and most posts are severely outdated.

Thank you

  • Tyler Postle
    • CGO

    Hey there Matt,

    Hope you're doing well today!

    Do you mind granting support access so we can take a closer look at how your custom post type is setup? :slight_smile:

    You can grant support access via admin dashboard - WPMU DEV > Support > Support Access > Grant Access.

    Post back here when access is granted.

    Look forward to hearing back!

    All the best,

    PS. You could also check out this plugin in the meantime too:

  • Tyler Postle
    • CGO

    Hey Matthew,

    Apologies for the delay here!

    Thanks for your patience.

    I've been testing this out on my install and I'm not sure this will be possible. As you are wanting to place dynamic slugs into the url right? By including the show name into the single episode page link? These are completely separate post types right? Perhaps I'm misunderstanding, but you won't be able to add in the related show_name of the other content type into your new episode content type.

    Sorry to ask but if you can re-grant access then I can take another look, and even ask one of our developers opinion too if needed.

    Look forward to hearing back on this!


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.