Roberto Sanchez
2014-06-20 14:05:12 UTC
I want to set a page slug that applies to pages with a specific template.
For example, say I have a template named Case Study in case-study.php. When
I add a new Case Study page and assign to it the Case Study template, I
want the permalink of the page to now include case-study in the slug, like
this: http://example.com/case-study/q1-2014.
I would appreciate any tips on how to get this done. Thanks.
For example, say I have a template named Case Study in case-study.php. When
I add a new Case Study page and assign to it the Case Study template, I
want the permalink of the page to now include case-study in the slug, like
this: http://example.com/case-study/q1-2014.
I would appreciate any tips on how to get this done. Thanks.