Homepage
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
You can set it at "Settings" > "General" in the Tab "Advanced". There is a section "Predefined pages".
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
Modify in the file navbar.php in the directory /bl-themes/styler-master/php the section "Static pages" with the following (line 12 to <?php endforeach ?>):
Code: Select all
<!-- Static pages -->
<?php
foreach ($staticContent as $staticPage) {
$pagetitle = strtolower($staticPage->title());
if($pagetitle !== $site->homepage()) {
echo '<li class="nav-item" data-aos="fade-down" data-aos-duration="600">';
echo '<a class="nav-link" href="'.$staticPage->permalink().'">'.$staticPage->title().'</a>';
echo '</li>';
}
}
?>
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets