-
Author
-
August 9, 2018 at 18:38 #205862
shinny0129
ParticipantHi,
I would like to ask you “how I can add a font icon before the <Home> text” on Breadcrumbs.
Please let me know how I can do.
To this, I found some “difference” and “issue on the code” which you sent me.
1) The breadcrumbs except woocommerce works different.
For the test, I overwritten function-breadcrumbs.php to see how it shows up.
Line 216, I added the <i> and it works fine but not on woocommerce.
As I asked you before, you have sent me the code below;
https://pastebin.com/raw/0v2r0Hrs
I overwritten line 39 from “home” to add <i>, but it does not work at all.
I have erased this code from function.php and used overwritten function-breadcrumbs.php, woocommerce page will NOT show <i> (Other pages are fine).
Above all this test, I concluded that the breadcrumbs are working differently with others.
2) Another issue on the code
https://pastebin.com/raw/0v2r0Hrs
Line 46, it calls {heading} with <h1>, but it turns up to <span> it is really strange.
Please compare two breadcrumbs below;
woo: https://cute8.net/paris/enjoy/spot/257/
blog: https://cute8.net/videos/562/
I have tried to write <h1> instead of using {heading}, it works fine.
There is no point to use this.
~~~~~—–~~~~~~~
With these problems, All I want to do is to show “home icon” before “home” text.
Please let me know the easiest way to do this. (NOT overwriting the “function-breadcrumbs.php” on direct!)
Also please rewrite the code above, so that I can manage the woocommerce title and breadcrumbs in the right way.
All best.
-
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.