Staff/Faculty Links

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by Micah Kleid Micah Kleid 1 month, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31645
    Micah Kleid
    Micah Kleid
    Participant
    Post count: 52

    Our instructors are not really considered staff or faculty, but certainly more so staff than faculty. When creating a profile for an instructor, I do so under Staff Profiles. However, once the profile is created, the URL for that person includes the term “faculty” (http://dev.remodelersuniversity.com/faculty/craig-deimler). Is there any way to change “faculty” to “staff,” especially since http://dev.remodelersuniversity.com/faculty does not exist but http://dev.remodelersuniversity.com/staff does? Thank you.

    #31662
    Veena
    Veena
    Moderator
    Post count: 8142

    You need to modify file framework/presentation/custom-post-types.php line no:319 from –

    
                'rewrite' => array( 'slug' => 'faculty' ),
    

    to

    
               'rewrite' => array( 'slug' => 'staff' ),
    

    And you will need to visit Settings->Permalinks once for the slug change to take effect.

    #31667
    Micah Kleid
    Micah Kleid
    Participant
    Post count: 52

    Awesome, that worked, thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.