Portfolio
- LRAM
- Master Bludit
- Posts: 199
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 23 times
- Been thanked: 2 times
- Contact:
Hi
on this website
https://lucy-racquel-and-me.com/
I need to create a sub page. a page only available from a link of an ordinary page, not visible immediatly
Is there a way to do that ?
thanks
on this website
https://lucy-racquel-and-me.com/
I need to create a sub page. a page only available from a link of an ordinary page, not visible immediatly
Is there a way to do that ?
thanks
https://sucrepop.com
Candies for the ears
Candies for the ears
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
Depending of the theme/navigation child pages are not shown. Otherwise you can exclude the child page with an if-condition using the slug.
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:
Thank Edi
Unfortunately, I'm not good enough at coding for that kind of things
I'll try another way
haev a good day
Unfortunately, I'm not good enough at coding for that kind of things
I'll try another way
haev a good day
https://sucrepop.com
Candies for the ears
Candies for the ears
- LRAM
- Master Bludit
- Posts: 199
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 23 times
- Been thanked: 2 times
- Contact:
I use both
the static for the menu
the defaut for the songs and their art cover
I want to add a page unvisible at first glane, only available with a link from a defaut page
the static for the menu
the defaut for the songs and their art cover
I want to add a page unvisible at first glane, only available with a link from a defaut page
https://sucrepop.com
Candies for the ears
Candies for the ears
- LRAM
- Master Bludit
- Posts: 199
- Joined: Sat Sep 24, 2016 4:02 pm
- Location: France
- Has thanked: 23 times
- Been thanked: 2 times
- Contact:
it's the standard portfolio theme
I only made change on the navbar.php to add my social media icon
Here it is
https://mega.nz/file/bZ4TkCyT#D3CUETNec ... 8iD3S1etVk
I only made change on the navbar.php to add my social media icon
Here it is
https://mega.nz/file/bZ4TkCyT#D3CUETNec ... 8iD3S1etVk
https://sucrepop.com
Candies for the ears
Candies for the ears
- 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 use in the file navbar.php in the directory /bl-themes/portfolio-master/php the following:
instead of
Code: Select all
<?php
foreach ($staticContent as $staticPage) {
$url = $site->url().'/'.$staticPage->slug();
if ($staticPage->slug() != "404" && $staticPage->permalink() == $url) {
echo '<li>';
echo '<a href="'.$staticPage->permalink().'">'.$staticPage->title().'</a>';
echo '</li>';
}
}
?>
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 ?>
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets