Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Tower WP – Breadcrumb

Tower WP - Breadcrumb
    • 9 years ago brnEnvato
      Participant

      Expired

      <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>

    • 9 years ago brnEnvato
      Participant

      Expired

      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

    • 9 years ago Ruco
      Keymaster

      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!

Viewing 2 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password