Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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

    2)

    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

    to

    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

    #34519

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

    #34520

    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: http://themeforest.net/forums/thread/so-you-know-how-to-customize-a-template-and-want-to-make-some-money/24795?page=9

    #34521

    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 http://www.suredigit.com/portofolio

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

    #34522

    Also you need to add

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

    just before

    echo $terms[0].$markup;

    #34523

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

    #34524

    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.