Skip Navigation

[Resolved] post type slug with template

This support ticket is created 6 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by matthewW-12 6 years, 7 months ago.

Author
Posts
#652801

I am trying to: get WordPress to use a particular template for a custom post type. So for post type factsheet, single-factsheet works, but only if the slug is also factsheet. I want to change the slug to something other than the post type name, but still be able to use my template. Is this possible?

Link to a page where the issue can be seen:

I expected to see:

Instead, I got:

#652810

I realized that the template name needs to be single-{slug-name}, not single-{post-type-name}