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?
Theme version: 3.7 WooCommerce version: 2.3.5
Content is visible for topic creator and support staff only.
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')
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?