snipt

Ctrl+h for KB shortcuts

PHP

yoast breadcrumb

1
2
3
<?php if ( function_exists('yoast_breadcrumb') ) {
	yoast_breadcrumb('<ul class="breadcrumbs"><li><span>','</span></li></ul>');
} ?>
https://snipt.net/embed/5ded47ab3e550f80aade793cff3b3493/
/raw/5ded47ab3e550f80aade793cff3b3493/
5ded47ab3e550f80aade793cff3b3493
php
PHP
3
2019-07-19T10:12:24
True
False
False
/api/public/snipt/37530/
yoast-breadcrumb
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> <span class="k">if</span> <span class="p">(</span> <span class="nb">function_exists</span><span class="p">(</span><span class="s1">&#39;yoast_breadcrumb&#39;</span><span class="p">)</span> <span class="p">)</span> <span class="p">{</span> </span><span id="L-2"><a name="L-2"></a> <span class="nx">yoast_breadcrumb</span><span class="p">(</span><span class="s1">&#39;&lt;ul class=&quot;breadcrumbs&quot;&gt;&lt;li&gt;&lt;span&gt;&#39;</span><span class="p">,</span><span class="s1">&#39;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&#39;</span><span class="p">);</span> </span><span id="L-3"><a name="L-3"></a><span class="p">}</span> <span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
breadcrumb, yoast