Rename "Features" to "Services"

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25279
    prestige
    Member

    The template by default comes shipped with a section for “Features” but my business case makes it more usable to called this “Services”. There are three instances where I’m most interested in changing this:

    1) the url of “features” page so it changes from domain.com/features/ to domain.com/services/
    2) the url of individual “feature” pages so they change from domain.com/feature/personal-training/ to domain.com/service/personal-training
    3) the wordpress admin menu label from “Features” to “Services”

    Thank you for your guidance!

    #25286
    Veena
    Moderator

    For this you need to modify framework/presentation/custom-post-type.php function mo_register_features_post_type .

    Modify line no:144 and 145 to

     
     'name' => 'Services',
      'singular_name' => 'Service',
    

    ie, replace features to Services

    And change line no:164 to

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

    Also you can change the permalink in the features edit page itself
    Pls see the attached screenshot .

    #25289
    Veena
    Moderator

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘FitPro Theme Support’ is closed to new topics and replies.