Viewing 1 replies (of 1 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @rruyter,

    Sorry for the late reply. Unfortunately this is out of the scope of the plugin. <- elektronica in your example is not really a back button, but rather a part of breadcrumbs that points to the upper level. Generally, if your theme is not overriding the default WooCommerce global/breadcrumb.php template, you would need to add this code after echo $wrap_before; line:

    
    if ( ( $size = sizeof( $breadcrumb ) ) > 1 ) {
    	$crumb = $breadcrumb[ $size - 2 ];
    	echo '<a href="' . esc_url( $crumb[1] ) . '">' . '< ' . esc_html( $crumb[0] ) . '</a>' . ' ';
    }
    

    Hope that helps. Please let me know if you have any questions.

Viewing 1 replies (of 1 total)

The topic ‘Integrate back button with breadcrumbs’ is closed to new replies.