title: Adding next and previous buttons to static pages in wordpress?
body: <p>I'm trying to add next and previous buttons to the static pages on my wordpress site.</p>
  
  <p>I've been able to find some content on how to add these buttons to your blog post but haven't been able to find anything like this regarding static pages.</p>
  
  <p>I'd like to add next and previous buttons to appear on the child pages within all the parent pages on my site, so you'd be able to use a link to navigate to the next/previous page located within the same parent.</p>
  
  <p>Does anyone know how I could go about doing this or of any plugin that might help me out?</p>
  
  <p>--</p>
  
  <p>Thanks to markratledge, I've almost got it, but I just having one problem.</p>
  
  <p>It seems the next and previous links are working almost how I'd like but they are coming in in alphabetical order when I want to to match the order I've got my pages ordered in.</p>
  
  <p>this is what I've tried but it doesn't seem to work</p>
  
  <pre><code>$pagelist = get_pages('child_of='.$post-&gt;post_parent.'sort_column=menu_order');
  </code></pre>
  
  <p>Seems I just figured it out was missing &amp;... should look like this.</p>
  
  <pre><code>$pagelist = get_pages('child_of='.$post-&gt;post_parent.'&amp;sort_column=menu_order');
  </code></pre>