[wp-hackers] Page slug for page template
hendronix at gmail.com
Fri Jun 20 14:37:09 UTC 2014
Difficult situation since you're trying to get your slug to include a
directory followed by the post slug. I'm stumped.
On Fri, Jun 20, 2014 at 10:12 AM, Nikola Nikolov <nikolov.tmw at gmail.com>
> Not a complete answer on the original question, but I'd just suggest that
> you use a Custom Post Type
> <http://codex.wordpress.org/Function_Reference/register_post_type> for the
> job. There you can set the rewrite slug option to "case-study" and that
> will make any posts from that post type have the correct permalink.
> On Fri, Jun 20, 2014 at 5:05 PM, Roberto Sanchez <
> roberto at digitalbrands.com>
> > 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.
> > 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,
> > this: http://example.com/case-study/q1-2014.
> > I would appreciate any tips on how to get this done. Thanks.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
*Eric A. HendrixUSA, MSG(R)*hendronix at gmail.com
*"Non Timebo Mala"*
More information about the wp-hackers