-
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 ItemAlternatively 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.
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,510
- Aegaeus WP Theme 1,616
- Requests and Feedback 133