-
-
<span style=”color: #666666; font-family: ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px; background-color: #fafafa;”>Hi. It’s possible to have Breadcrumb full?</span>
https://www.maralombardi.it/archives/codeless_portfolio/pirelli-night-urban-art
<span style=”color: #666666; font-family: ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px; background-color: #fafafa;”>for this page: ACTIVITY\ART\URBAN (A)\PIRELLI BY NIGHT and not only HOME\PIRELLI BY NIGHT Thanks a lot.</span>
<span style=”color: #666666; font-family: ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21px; background-color: #fafafa;”>Best regards, Bruno</span>
-
Hi. It’s possible to have breadcrumb full?
http://www.maralombardi.it/archives/codeless_portfolio/pirelli-night-urban-art
example for this page: ACTIVITY / ART / URBAN (A) / PIRELLI BY NIGHT and not only HOME / PIRELLI BY NIGHT
Another question: it’s possible to change the name of “codeless_portfolio”?
Thanks a lot and best regards, Bruno
-
Hello,
Please edit teh file ‘tower/includes/view/page_header.php’
Find the lines:
<?php for($i = count($page_parents) - 1; $i >= 0; $i-- ){ ?> <li><a href="<?php echo esc_url(get_permalink($page_parents[$i])) ?>"><?php echo esc_html(get_the_title($page_parents[$i])) ?> </a></li> <?php } ?> <li class="active"><a href="<?php echo esc_url(get_permalink()) ?>"><?php echo esc_html($title) ?></a></li>
and replace them with:
<?php for($i = count($page_parents) - 1; $i >= 0; $i-- ){ ?> <li><a href="<?php echo esc_url(get_permalink($page_parents[$i])) ?>"><?php echo esc_html(get_the_title($page_parents[$i])) ?> </a></li> <?php } ?> <?php if(get_post_type($id) == 'portfolio'){ $category_detail= get_the_terms($id, 'portfolio_entries');//$post->ID foreach($category_detail as $cd){?> <li ><a href="<?php echo esc_url(get_permalink()) ?>"><?php echo $cd->name; ?></a></li> <?php } }?> <li class="active"><a href="<?php echo esc_url(get_permalink()) ?>"><?php echo esc_html($title) ?></a></li>
This will be displayed: Home / Category name / Portfolio item title. It’s not possible to show the breadcrumbs as you want, because the portfolio item depends on it’s category.
Best regards!
-
You must be logged in to reply to this topic.