I did use the Salient portfolio slug customisation function, and changed that part :
mywebsite.com/portfolio/nameoftheproject into mywebsite.com/works/nameoftheproject
But the reason why I wrote you was that I want to change that default url bit that appears when you call for a portfolio category page (containing a list of all projects linked to that category) :
mywebsite.com/project-type/nameofthecategory
I would like to put my own words there instead of "project-type", because my website is in french, and for SEO reasons.
Hello ;
I am using Salient portfolio posts.
I'm getting urls like : https://mywebsite.com/project-type/whatever/
... when I'd like to have at least the "project-type" url part translated into french. But it can't be done through theme translation.
How can I change it ?
Thanks a lot
SopH.
Hi SopH,
That part is not translatable but you can change it to whatever you want at salient \ portfolio - functionality - custom slug.
Maybe you could change it to something that would not really need to be translated.
Cheers.
Hello Andrew ;
Thank you for your answer.
I did use the Salient portfolio slug customisation function, and changed that part :
mywebsite.com/portfolio/nameoftheproject into mywebsite.com/works/nameoftheproject
But the reason why I wrote you was that I want to change that default url bit that appears when you call for a portfolio category page (containing a list of all projects linked to that category) :
mywebsite.com/project-type/nameofthecategory
I would like to put my own words there instead of "project-type", because my website is in french, and for SEO reasons.
Do you have an idea about how to do that ?
Thanks again
SopH.
Hi SopH,
Apologies for the late reply.
About changing that project-type part of portfolio category URLs, you can do that from the following file:
salient\functions.php line 3205
Make sure the word you use there is one one and if there are two like project type then use a hyphen for the space like project-type.
Hope this helps.