<?php 
    $current_category_id = get_queried_object_id(); // ID текущей категории
    $category_url = get_category_link($current_category_id);

?>

<ul class="breadcrumbs__rfo">
        <li class="breadcrumbs-home__rfo">
            <span><a href="<?=home_url()?>/rfo">Главная</a></span>
            <span class="breadcrumbs-arrow">
                <svg width="6" height="18" viewBox="0 0 6 18" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M1.5 12.75L5.25 9L1.5 5.25" stroke="#4F4F4F" stroke-linecap="round" stroke-linejoin="round" />
                </svg>
            </span>
        </li>
        <li><a href="<?=get_category_url();?>"><?=get_category_name();?></a></li>
    </ul>
