Breadcrumb with Portfolio Category

  • Resolved
    Posted in: Highend WP Theme  
  • Customer
    figuregroundarchitects
    March 18, 2015 at 2:21 pm #32372

    Hi,

    I am trying to include the portfolio category as part of the breadcrumb trail. I followed a previous support post and added the follwoing code to the breadcrumb.php and I also tried it within single-portfolio.php

    //portfolio posts
    if ( get_post_type() == __(‘portfolio’, ‘hbthemes’ )) {
    echo $before . get_the_title() . $after;
    }

    However this doesn’t change anything. It still only shows: Home > Portfolio item
    What I want it to show is: Home > Portfolio category > Portfolio Item

    Alternatively if the breadcrumb can be pulled from the menu structure even better. Then the link will go back to a specific Portfolio Category Page that I have created.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.