Posted By

muhammet on 03/07/09


Tagged

textmate wp


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Bluewall
rezzz


Wordpress Related Pages


 / Published in: Other
 

  1. <?php
  2. if($post->post_parent)
  3. $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0&sort_column=ID");
  4. else
  5. $children = "";
  6. if ($children) { ?>
  7. <br /><h2>Folgendes k├Ânnte Sie auch interessieren:</h2>
  8. <ul id="related_pages">
  9. <?php echo $children; ?>
  10. </ul>
  11. <?php } ?>

Report this snippet  

You need to login to post a comment.