Code: Select all
echo '<nav id="nav">
<h2 class="plugin-label">Newest Content</h2>
<ul>';
foreach ($content as $page):
echo '<li><a href="#'.$page->slug().'">'.$page->title().'</a></li>';
endforeach;
echo '</ul></nav>';
Code: Select all
echo '<nav id="nav">
<h2 class="plugin-label">Newest Content</h2>
<ul>';
foreach ($content as $page):
echo '<li><a href="#'.$page->slug().'">'.$page->title().'</a></li>';
endforeach;
echo '</ul></nav>';
Sorry, you are right.rahuldottech wrote: ↑Sat Jan 12, 2019 7:42 pm This is not code from the plug-in, it is already present in the sidebar of the Striped theme.