I have problems with this site link is throwing me an error but I do not know why it can be done, although in the function I had declared this; I deleted it completely and it keeps throwing me the error. Or it can be server cache problems where you are working but.
function yoast_breadcrumb() {
if (!is_home()) {
echo '<span><a href="';
echo get_option('home');
echo '">';
echo "Inicio";
echo "</a><i class='fa fa-chevron-right' aria-hidden='true'></i>";
if (is_category() || is_single()) {
echo '<a href="';
echo the_permalink();
echo '">';
the_category('title_li=');
echo "</a></span>";
if (is_single()) {
echo '<a href="';
echo the_permalink();
echo '">';
echo the_title();
echo "</a><i class='fa fa-chevron-right' aria-hidden='true'></i>";
}
} elseif (is_page()) {
echo '<a href="';
echo the_permalink();
echo '">';
echo the_title();
echo "</a>";
}
}
}