We are excited to introduce you to our brand new website! - www.thememasters.club
December 17, 2014

How to change custom post type slugs

A default service page link look like this;


and a default team member link look like this;


As you can see there are some static words in the links. If you want to change these words;

1) Go to Plugins->Editor

2) Select “Vets Features” plugin

3) Open “service_cpt.php” file


4) Find the following code;

'rewrite' => array( 'slug' => 'vetsservices', 'with_front' => false ),

5) Change only “vetsservices” word with any other word (use only latin characters) like on the following;

'rewrite' => array( 'slug' => 'ourservices', 'with_front' => false ),

6) Click Update File button

7) Do the same thing for “ourteam_cpt.php” file (Don’t use the same word, each slug must be unique)


8) Finally go to Settings->Permalinks and click “Save Changes” button without changing anything.