Change taxonomy name?

Support Area Forums Foxy Change taxonomy name?

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question:
  • Author
    Posts
  • #7760
    cheltenhammedia
    Participant

    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

    #7761
    Bill Robbins
    Participant

    Anthony,

    You can change that. Here’s how:

    1. Go to the appearance section in your WordPress control panel and select “edit” to open up the theme editor.
    2. From the list of files on your right, choose “post-staff-type.php”
    3. Look for this line:
      
      'rewrite' => array( 'slug' => 'staff-group', 'with_front' => false )
      
    4. 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.
    5. Save your changes.
    6. Next go to the “Settings” section in your control panel and select “Permalinks.”
    7. Click save to clear out the old staff-type name.
    8. 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

    #7762
    cheltenhammedia
    Participant

    Cheers bill, it worked a dream.

    many thanks once again.

    Anthony

    #7763
    Bill Robbins
    Participant

    Fantastic.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change taxonomy name?’ is closed to new replies.