Home › Forums › WoodMart support forum › Portfolio slug change
Portfolio slug change
- This topic has 10 replies, 2 voices, and was last updated 4 years, 6 months ago by Elise Noromit.
-
AuthorPosts
-
June 18, 2020 at 1:03 pm #204580
brandcatmediaParticipantI’d like to change our portfolio URLS from website.com/portfolio/item to something like website.com/testimonial/item. Is this possible? can we do it without changing in core file?
June 18, 2020 at 2:03 pm #204600
Elise NoromitMemberHello,
There is no one certain place where we can change the slug. In any case, try to change this: find the file wp-content/plugins/woodmart-core/post-types.php find this function register_portfolio() and change as shown on the screen http://prntscr.com/px8nvc
Best Regards
June 22, 2020 at 1:40 pm #205398
brandcatmediaParticipantHello Team,
I have successfully changed the slug as per said but I am facing 2 issues.
1. The permalink is showing me as testimonial but my breadcrumb is still showing me portfolio
https://www.heenakochhar.com/testimonial/
https://www.heenakochhar.com/testimonial/test-3/2. Below its showing related project, either I want to hide it or change it to testimonial only
June 22, 2020 at 3:33 pm #205440
Elise NoromitMemberHello,
There is no one certain place where we can change the slug. In any case, try to change this: find the file wp-content/plugins/woodmart-core/post-types.php find this function register_portfolio() and change as shown on the screen http://prntscr.com/px8nvc
Best Regards
June 23, 2020 at 4:42 am #205544
brandcatmediaParticipantHello Team,
I have successfully changed the slug as per said by you but I am facing issue in breadcrumb.
The permalink is showing me as testimonial but my breadcrumb is still showing me portfolio.
Please check the Screenshot attached.June 23, 2020 at 4:45 am #205545
brandcatmediaParticipantCheck the attached screenshot
Attachments:
You must be logged in to view attached files.June 23, 2020 at 8:41 am #205617
Elise NoromitMemberHello,
Have you changed the title of the page which is set as the Portfolio?
Try to change it and check. Breadcrumbs show the page title, so you should change it.
Best Regards
June 23, 2020 at 12:29 pm #205716
brandcatmediaParticipantHello,
I know that breadcrumb show the page title and my page title is testimonial only but still its showing as Portfolio.
June 23, 2020 at 1:52 pm #205759
Elise NoromitMemberHello,
You need to edit this file: woodmart\inc\template-tags.php find this function:
function woodmart_breadcrumbs()
Best Regard
June 24, 2020 at 4:39 am #205912
brandcatmediaParticipantcan you please help what to change in the file and where?
June 24, 2020 at 12:59 pm #206087
Elise NoromitMemberHello,
We have tested: you should change the tile of the pate http://prntscr.com/t5morz and http://prntscr.com/t5mojj
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register