Skip to content

Commit

Permalink
Added Wordpress menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisZeta committed Mar 27, 2013
1 parent 76f2423 commit 6ad0fa7
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions wp-content/themes/svbtle/header.php
Expand Up @@ -50,15 +50,9 @@
<h3><?php bloginfo( 'description' ); ?></h3>

<ul id="user_nav">
<?php
$pages = get_pages();
foreach ( $pages as $page ): ?>

<li>
<a href="<?php echo get_page_link( $page->ID ) ?>" title=""><?php echo $page->post_title ?></a>
</li>

<?php endforeach; ?>

<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>

<?php if (!empty($options['twitter_username'])): ?>
<li class="link twitter">
<a target="_blank" href="http://twitter.com/<?php echo $options['twitter_username'] ?>">@<?php echo $options['twitter_username'] ?></a>
Expand Down

0 comments on commit 6ad0fa7

Please sign in to comment.