My site is not displaying porfolios but some services. Because of that, I would like to change and personalize the name on the permanent link for http://domainname/portfolio/pagename to http://domainname/pagename.
I see this plugin http://wordpress.org/plugins/custom-post-type-permalinks/. Will it work with Salient?
Try using this plugin instead : https://wordpress.org/plugins/custom-permalinks/ . The snippet you are referring to makes the portfolio writeable which it already is since you can change the slug in Salient Theme Options Panel .
What was the response from the developer? I'm having the same issue where I want to remove /portfolio/ - this will really help with my 301 redirects too....ie I won't need to redirect many of the pages if I set up the same URL! :)
My site is not displaying porfolios but some services. Because of that, I would like to change and personalize the name on the permanent link for http://domainname/portfolio/pagename to http://domainname/pagename.
I see this plugin http://wordpress.org/plugins/custom-post-type-permalinks/.
Will it work with Salient?
Thanks, Jefferson
Hey ,
Yes it should work .
Best.
ThemeNectar Support Team
It didn\'t work, Tahir. The mentioned plugin only allows you to change the slug AFTER portfolio.
When a I publish a new portfolio post it has the portfolio label in my url e.g. http://www.example.com/portfolio/mypost
I want it to be just http://www.example.com/mypost
I found this tip on Google:
just open /wp-content/themes/[your_theme]/lib/functions/theme.php and change it from
\'rewrite\' => true,
to
\'rewrite\' => array(\'slug\' => \'portfolio\',\'with_front\' => false)
Well, I haven\'t found this file. Could you help me?
Thanks for your attention,
Jefferson, Rio de Janeiro, Brazil
Hey Again,
Try using this plugin instead : https://wordpress.org/plugins/custom-permalinks/ . The snippet you are referring to makes the portfolio writeable which it already is since you can change the slug in Salient Theme Options Panel .
Hope this makes sense.
Best.
ThemeNectar Support Team
Thank you for your kindness, Tahir.
Hey Again,
You can change it here : http://prntscr.com/a6vymf .
Best.
ThemeNectar Support Team
Hi Tahir,
I didn\'t know exactly what I should write in that fiels (\"Custom Slug\" for Portfolio). I tried just \"/\" and worked!
Now all my portfolio urls don\' have the /portfolio/ part.
Life can be easy!
Thanks, man!
Best,
Jefferson
Hey Again,
Assigning the ticket to the developer so that he may add in a response.
Best.
ThemeNectar Support Team
What was the response from the developer? I'm having the same issue where I want to remove /portfolio/ - this will really help with my 301 redirects too....ie I won't need to redirect many of the pages if I set up the same URL! :)