diff options
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/header.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/includes/header.php b/includes/header.php index 1021383..7682580 100644 --- a/includes/header.php +++ b/includes/header.php @@ -66,8 +66,14 @@ <p class="nav-content"> <a href="<?php $this->options->SiteUrl(); ?>" class="nav-title"><?php $this->options->title(); ?></a> <span class="nav-content-item"> - <?php $this->widget('Widget_Contents_Page_List') - ->parse('<a href="{permalink}">{title}</a>'); ?> + <?php + if($this->options->customNav=='') { + $this->widget('Widget_Contents_Page_List') + ->parse('<a href="{permalink}">{title}</a>'); + } + else { + echo Contents::paresNav($this->options->customNav); + }?> </span> </p> <button class="nav-icon-button search-button" id="search-open-button"><i class="iconfont icon-chaxun"></i></button> @@ -143,4 +149,4 @@ </div> </div> </header> - <br><br><br> + <br><br><br>
\ No newline at end of file |
