Change Slug and Templates
-
Hello-
I’d like to change the slug of my achievement types and their single-post templates. For the first, I’m a bit stumped. It seems that when you create an achievement type it is a new custom post type. So, I believe the way it would work is to tap into the rewrite arguments. Something like this:
'rewrite' => $rewrite, .... $rewrite = array( 'slug' => 'tasks', 'with_front' => false,
But two things here: 1) I don’t know how badgeOS labels its new custom post types and 2) I don’t know how to tap into custom post types made by other plugins, only my own.
As for the template, can I just create a single-tasks.php and it will load?
Thanks for any help you can provide,
~Kyle~
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Change Slug and Templates’ is closed to new replies.