What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-25 08:05:54
yoast breadcrumbs adding fontawesome seperator
function filter_wpseo_breadcrumb_separator($this_options_breadcrumbs_sep) { return '<i class="fa fas fa-chevron-right"></i>'; }; add_filter('wpseo_breadcrumb_separator', 'filter_wpseo_breadcrumb_separator', 10, 1); Add solution -
Other 2022-01-23 02:05:47
woocommerce if it is shop page remove breadcrumbs
// Remove breadcrumbs only from shop page add_filter( 'woocommerce_before_main_content', 'remove_breadcrumbs'); function remove_breadcrumbs() { if(!is_product() && !is_product_category()) { remove_action( 'woocommerce_before_main_conte... Add solution -
Other 2021-10-16 21:09:04
wordpress breadcrumbs according to menu structure
// helper function to find a menu item in an array of items function wpd_get_menu_item( $field, $object_id, $items ){ foreach( $items as $item ){ if( $item->$field == $object_id ) return $item; } return false; } function wpd_nav_me... Add solution -
CSS 2021-10-13 10:32:03
bootstrap Accessibility
Since breadcrumbs provide a navigation, it’s a good idea to add a meaningful label such as aria-label="breadcrumb" to describe the type of navigation provided in the <nav> element, as well as applying an aria-current="page&quo... Add solution -
Other 2021-09-27 18:05:05
breadcrumbs shopify
{% unless template == 'index' or template == 'cart' or template == 'list-collections' %} <nav class="breadcrumb" role="navigation" aria-label="breadcrumbs"> <a href="/" title="Home">Home</... Add solution -
Other 2021-09-16 10:02:01
get_bloginfo( 'url' ); in breadcrumb
function bloglow_get_breadcrumb_navigation() { $delimiter = '»'; $home = "Home"; // get_bloginfo('name'); $before = '<span>'; $after = '</span>'; echo '<div id="breadcrumb"><!-- Bloglow b... Add solution
Best helpers
Ranking is empty