Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #1243

    Hello all,

    I’ll get right to the point.

    1) On a single portfolio item page the Breadcrumb is as follows :

    HOMEPAGE > Portfolio Item’s Tag/Category -> Portfolio Item Name

    How can I change it to:

    HOMEPAGE > Portfolio page* -> Portfolio Item’s Tag/Category -> Portfolio Item Name


    a)When someone is viewing a single portfolio item and clicks on the Portfolio’s Item’s Tag/Category he is linked to a page with all the items under that tag. How can we change the Heading from “Archive for XXX” to “Projects for XXX”

    b) In the same situation, how can I change the breadcrumb from

    HOMEPAGE > Tag/Category


    HOMEPAGE > Portfolio Page* > Tag/Category

    * Portfolio Page is the page when you see all the portfolio items and can be sorted through the JS script.

    Thank you very much in advance


    I’d like to know about this as well. I think we have to make a modification in kclass_breadcrumb.php.


    I had a short look at it and I think it’s not an easy modification. Iso is right you need to modify kclass_breadcrumb.php. It’s more difficult as it looks like because you need to get the title of the portfolio page first, write it down into a global variable and output it afterwards with the title of your portfolio entry and/or category in the right breadcrumb function (there are several functions). I don’t have time (atm) to take care about it (and it’s not something the support staff can take care of) but maybe (no promises) I have some spare time to look into it.

    You can hire someone here though:


    I managed to solve part 1) of my question. You have to edit kclass_breadcrumb.php (as iso suggested) and enter the following code:

    echo 'Products<span class="arrow">»</span>';

    in the is_tax() function, just before the return statement.

    I know that its hardcoded but I’m sure you guys can modify the code to properly use the shortags and variables to make it dynamic. You can see a working demo at our site

    Still investigating part 2). I’ll keep you posted if I make any progress.


    Also you need to add

    echo 'Products<span class="arrow">»</span>';

    just before

    echo $terms[0].$markup;


    BBcode messes up with my post so where you see ‘Products<span’… its actual a full URL


    But that’s exactly the tricky part :) Because your loading post entries while you’re on the portfolio page you’ve several titles (posts and pages) If you want to get the title of the page you just need a global variable.

    PS: You can also put code in between backtick ( ` ) characters.

    The Dude

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Altering the breadcrumb and heading’ is closed to new replies.