Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="nav">
- <?php
- $pages = get_pages('sort_column=menu_order');
- if ($pages):
- foreach ($pages as $page):
- ?>
- <h1><?php echo '<a href="' .$page->guid. '">' .$page->post_title. '</a>'; ?></h1>
- <?php endforeach; endif; ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement