Change taxonomy name?
URL to the page in question:
-
Hi Bill,
Is it possible to change the taxonomy ‘staff-group’ to ‘FAB’ (another name) so that when selecting from the menu the status bar displays the path with FAB in it instead of ‘staff group’ followed by the relevant sub group?
Thanks
Anthony
Anthony,
You can change that. Here’s how:
- Go to the appearance section in your WordPress control panel and select “edit” to open up the theme editor.
- From the list of files on your right, choose “post-staff-type.php”
- Look for this line:
'rewrite' => array( 'slug' => 'staff-group', 'with_front' => false )
- You can change the
staff-group to whatever you’d like. You don’t want to use spaces and it’s generally best to leave it lowercase too.
- Save your changes.
- Next go to the “Settings” section in your control panel and select “Permalinks.”
- Click save to clear out the old staff-type name.
- Once the page refreshes, click save one more time.
That should give you a new “slug” for your staff-type. If you have any trouble, let me know,
Bill
Cheers bill, it worked a dream.
many thanks once again.
Anthony
- The topic ‘Change taxonomy name?’ is closed to new replies.