This topic has 4 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
Hello,
The link to the Portfolio page is http://some.domain.com/portfolio/, and the breadcrumb is “Home / Portfolio” (both correct).
However, the link to the project page is http://some.domain.com/etheme_portfolio/project-name/ but it should be http://some.domain.com/portfolio/project-name/ instead. How could I correct the link?
Also, the breadcrumb in the project page is “Home / Projects / Project Name” but is should actually be “Portfolio” instead of “Projects” (since Project actually links to http://some.domain.com/portfolio/). How could I correct the breadcrumb?
Thanks,
Victor
Hello,
To change “Projects” text in breadcrumbs you need edit the file wp-content/themes/idstore/code/portfolio.php (line 13).
If you want to change etheme_portfolio slug you need to edit idstore/code/portfolio.php, find the line 28:
$args = array(
and add the following code to the list (after line 40 for example) :
'rewrite' => array('slug' => 'portfolio')
Thank you.
Regards,
Eva Kemp.
Hello Eva,
I was hopping that the text “Projects” can be easily changed/translated using the .po and .mo files (as most of the other theme texts).
I changed the files as you instructed me, and here is the outcome:
– the “Projects” text is now changed to “Portfolio”
– all the project pages are now “Page not found” (even though the link looks fine: http://some.domain.com/portfolio/project-name/)
Another questions though: changing these theme core files is upgrade safe? Or do I have to keep tracking of all the files I modify/fix in order to change them on each subsequent upgrade?
Please advise,
Victor
Hello,
You need resave Permalinks settings to fix the error.
You need keep the files safe and reupload them after each theme update.
Sorry for inconveniences.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up