Pages that are not automatically added to the menu
Hi,
how can I prevent a page from being added to the menu automatically? I want to add "Site notice" and "Disclaimer" and the e.g. bottom of the page.
Chris
how can I prevent a page from being added to the menu automatically? I want to add "Site notice" and "Disclaimer" and the e.g. bottom of the page.
Chris
mm you will need edit the theme, what theme are you using ?
Business Casual at the moment.
For displaying theses pages I need to edit the specific theme, right? "Flagging" pages as "hidden" would need a change in the bludit code, wouldn't it?
Chris
For displaying theses pages I need to edit the specific theme, right? "Flagging" pages as "hidden" would need a change in the bludit code, wouldn't it?
Chris
To display pages you should use
This become from my theme so you have to edit some html classes inside ECHO.
Code: Select all
<?php
$parents = $pagesParents[NO_PARENT_CHAR];
foreach($parents as $Parent) {
echo '<li class="nav-item"><a class="pure-button pure-button-primary" href="'.$Parent->permalink().'">'.$Parent->title().'</a></li> ';
}
?>