Skip to content

Commit

Permalink
adding omeka nav to home page
Browse files Browse the repository at this point in the history
  • Loading branch information
sashafr committed Mar 7, 2019
1 parent cb6b16d commit 1bc58a3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config.ini
Expand Up @@ -653,6 +653,12 @@ default_page_search.options.label = "Page Search"
default_page_search.options.description = "Check this box to include (Simple Pages) pages by default when sitewide search is activated."
default_page_search.options.value = "0"

; Home Page Menu
home_menu.type = "checkbox"
home_menu.options.label = "Home Page Menu"
home_menu.options.description = "Check this box to display the built-in Omeka navigation bar on the home page."
home_menu.options.value = "1"


[groups]

Expand Down
4 changes: 4 additions & 0 deletions index.php
Expand Up @@ -186,8 +186,12 @@
<!-- Footer -->
<footer id="footer" class="wrapper style1-alt">
<div class="inner">
<?php if(get_theme_option('home_menu')): ?>
<?php echo public_nav_main()->setUlClass("menu"); ?>
<?php endif ?>
<ul class="menu">
<li><?php echo get_theme_option('custom_footer_html');?></li>
<p>Theme developed by the <a href="https://github.com/upenndigitalscholarship">Penn Libraries</a> | <a href="https://github.com/upenndigitalscholarship/flow">Get the Code</a></p>
</ul>
</div>
</footer>
Expand Down

0 comments on commit 1bc58a3

Please sign in to comment.