HomePage Forums Themeforest PakrCo – Single Property WordPress Theme How to change project slug

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11106
    Avatarzappeddigital
    Support Expired

    Hi how can i change the project slug ?

    dont want project/ want services/ as the slug

    thanks lee

    #11107

    Please add this custom code to the file functions.php ( child-theme):

    add_filter('pakrco_project_slug', 'pakrco_project_slug_custom');
    function pakrco_project_slug_custom(){
    return 'your-slug';
    }

    After adding this code to the functions.php file, please update the permalink to update the slug again

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

You must be logged in to reply to this topic.