Search found 4 matches
Search found 4 matches • Page 1 of 1
Is there a link to the installation? http://bludit.eu5.net/ <!-- Static pages --> <?php $current_page = $_SERVER['REQUEST_URI']; foreach ($staticContent as $staticPage) : ?> <li <?php if ($current_page == '/' . $staticPage->slug()) echo 'class="current-menu-item"'; ?>> <a href="<?php echo $staticPa...
I'm also looking for a solution. I downloaded the theme, but it doesn't work, class='current' does not apply to the current pageEdi wrote: ↑Tue Jan 29, 2019 7:54 pmThe theme Keep It Simple gives you an example:
https://github.com/bludit-themes/keep-i ... ar.php#L29