Blog page breadcrumb style
-
Hello
the plugin works well.
I am working on localhost with storefront theme (Woocommerce plugin installed) and breadcrumbs styled using a (slightly modified) version of one of your css examples (in child theme).To get the styling to apply to pages not associated with the Woocommerce plugin I had to add a body class to those pages
add_filter( 'body_class','amazingstorefront_body_classes' ); function amazingstorefront_body_classes( $classes ) { if ( ! is_shop() ) { $classes[] = 'woocommerce'; } return $classes; }
All was fine until I reduced the number of posts on the Blog (not Home) page to check pagination.
With pagination the breadcrumbs are
“Home-> Blog-> Page2” on the second page.
The breadcrumbs don’t add an ‘a’ tag (link) to “Blog”, so it remains unstyled (which took me a while to work out). I first thought it a problem with the css.This isn’t a problem with the “Woocommerce Breadcrumbs” plugin, but wondered if it is expected behavior of the ‘Woocommerce plugin / Storefront combination’, and if there is a way around it?
- The topic ‘Blog page breadcrumb style’ is closed to new replies.