<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://8j0rn.dagbok.ru/history/Wp:theme:storefront:add-breadcrumbs-all-pages?feed=atom</id>
	<title>Wp:theme:storefront:add-breadcrumbs-all-pages - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://8j0rn.dagbok.ru/history/Wp:theme:storefront:add-breadcrumbs-all-pages?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://8j0rn.dagbok.ru/history/Wp:theme:storefront:add-breadcrumbs-all-pages"/>
	<updated>2026-10-26T20:01:48Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://8j0rn.dagbok.ru/index.php?title=Wp:theme:storefront:add-breadcrumbs-all-pages&amp;diff=288&amp;oldid=prev</id>
		<title>8j0rn: Новая страница: «Добавляем хлебные крошки (breadcrumbs) на все страницы темы StoreFront через functionc.php:  &lt;syntaxhighlight lang=&quot;php&quot;&gt; // Добавляем хлебные крошки на front под шапкой function add_custom_breadcrumbs() {     if (function_exists(&#039;woocommerce_breadcrumb&#039;)) {         woocommerce_breadcrumb();     } } add_action(&#039;storefront_before_content&#039;, &#039;add_custom_breadcrumbs&#039;); &lt;/syntaxhighlight...»</title>
		<link rel="alternate" type="text/html" href="https://8j0rn.dagbok.ru/index.php?title=Wp:theme:storefront:add-breadcrumbs-all-pages&amp;diff=288&amp;oldid=prev"/>
		<updated>2025-03-08T12:51:11Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «Добавляем хлебные крошки (breadcrumbs) на все страницы темы StoreFront через functionc.php:  &amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt; // Добавляем хлебные крошки на front под шапкой function add_custom_breadcrumbs() {     if (function_exists(&amp;#039;woocommerce_breadcrumb&amp;#039;)) {         woocommerce_breadcrumb();     } } add_action(&amp;#039;storefront_before_content&amp;#039;, &amp;#039;add_custom_breadcrumbs&amp;#039;); &amp;lt;/syntaxhighlight...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Добавляем хлебные крошки (breadcrumbs) на все страницы темы StoreFront через functionc.php:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Добавляем хлебные крошки на front под шапкой&lt;br /&gt;
function add_custom_breadcrumbs() {&lt;br /&gt;
    if (function_exists(&amp;#039;woocommerce_breadcrumb&amp;#039;)) {&lt;br /&gt;
        woocommerce_breadcrumb();&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
add_action(&amp;#039;storefront_before_content&amp;#039;, &amp;#039;add_custom_breadcrumbs&amp;#039;);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
или если установлен плагин YOAST:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Добавляем хлебные крошки (breadcrumbs)&lt;br /&gt;
function add_yoast_breadcrumbs_after_header() {&lt;br /&gt;
    if (function_exists(&amp;#039;yoast_breadcrumb&amp;#039;)) {&lt;br /&gt;
        yoast_breadcrumb(&amp;#039;&amp;lt;div id=&amp;quot;breadcrumbs&amp;quot;&amp;gt;&amp;#039;, &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
add_action(&amp;#039;storefront_before_content&amp;#039;, &amp;#039;add_yoast_breadcrumbs_after_header&amp;#039;, 10);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>8j0rn</name></author>
	</entry>
</feed>