Hidden Pages
Is there a way to officially designate pages as published but hidden. At the moment I keep them in draft mode and reference them directly which is a "fix" but I fear it will not work in the future now I've highlighted the feature.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
This will come with Bludit v.4:
https://github.com/bludit/bludit/issues/1057
For test purposes you can download the Alpha version at
https://github.com/bludit/bludit/releases
https://github.com/bludit/bludit/issues/1057
For test purposes you can download the Alpha version at
https://github.com/bludit/bludit/releases
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
- LRAM
- Master Bludit
- Posts: 199
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 23 times
- Been thanked: 2 times
- Contact:
This worked for me
Change it to
Code: Select all
<!-- Static pages -->
<?php foreach ($staticContent as $staticPage): ?><li>
<a href="<?php echo $staticPage->permalink() ?>"><?php echo $staticPage->title() ?></a>
</li>
<?php endforeach ?>
Code: Select all
<?php foreach ($staticContent as $staticPage): ?>
<?php if ($staticPage->slug() != "404") { // hide 404 error page from menu ?>
<li>
<a href="<?php echo $staticPage->permalink() ?>"><?php echo $staticPage->title() ?></a>
</li>
<?php } ?>
<?php endforeach ?>
https://sucrepop.com
Candies for the ears
Candies for the ears