how to add custom breadcrumbs in wordpress?

We’ve created a custom function called get_breadcrumb() to generate the breadcrumb links. You only need to add the get_breadcrumb() function code in functions.php file of the current theme. function get_breadcrumb() { echo ‘<a href=”‘.home_url().'” rel=”nofollow”>Home</a>’; if (is_category() || is_single()) { echo “&nbsp;&nbsp;&#187;&nbsp;&nbsp;”; the_category(‘ &bull; ‘); if (is_single()) { echo ” &nbsp;&nbsp;&#187;&nbsp;&nbsp; “; the_title(); } } … Read more

How to replace home link anchor text with image

Your question is much more like a CSS question. The anchor a by default is display as inline. So it doesn’t have height and width unless text, image etc inside with finite dimension. To make it work, just add display:block; to the css so it expands to match the parent container. li.trail-begin { display: inline-block; … Read more

How to add woocommerce products header title in woocommerce_breadcrumb hook to function.php

I am supprised that this question still accepts answers once woocommerce is a plugin and out of the scope of this chat. Anyhow for what I have understood you want to show the product title on the woocommerce breadcrumb, Woocommerce breadcrumb already does that by default, there is no need of any changes, just remove … Read more