Reply To: Product tag breadcrumb issue

Home Page Forums Porto | Multi-Purpose & WooCommerce Theme Product tag breadcrumb issue Reply To: Product tag breadcrumb issue

#883
Lodrigo Jan
Participant
      Expired

      Hello.
      I am a contributor of Porto WordPress Theme.

      Please add a new function(porto_custom_breadcrumb) to the apply_filter hook – ‘porto_breadcrumbs’.
      Next, you should copy the content of the porto_breadcrumbs function to porto_custom_breadcrumb function and edit the code you want to override.

      Please try the below code.

      add_filter( 'porto_breadcrumbs', 'porto_custom_breadcrumb' );
      function porto_custom_breadcrumb( $output ) {
      /** Code of Porto_breadcrumbs function **/
      $output .= sprintf( "<li>" . esc_html__( "Product Tag", "porto" ) . " - %s</li>", $html );=>
      $output .= sprintf( "<li>" . esc_html__( "Product Tag", "porto" ) . '%s'</li>', $html );
      /** Code of Porto_breadcrumbs function **/
      return $output;
      }
      
      • This reply was modified 10 months, 1 week ago by Lodrigo Jan.
      • This reply was modified 10 months, 1 week ago by Lodrigo Jan.
      • This reply was modified 10 months, 1 week ago by Alex.
      • This reply was modified 10 months, 1 week ago by Alex.
      • This reply was modified 10 months, 1 week ago by Alex.
      Attachments:
      You must be logged in to view attached files.
      Customize Icon
      Need Customization? We specialize in delivering high-quality web and mobile design/development services to our clientele. Should you require customization services, please do not hesitate to reach out to us at your convenience.