Posted By

laurentzziu on 11/15/10


Tagged

display wordpress subpages


Versions (?)

Wordpress Subpages, Tags, Blogroll and Tag Cloud


 / Published in: PHP
 

  1. //Subpages
  2. <?php$children = wp_list_pages('title_li=&child_of='.$post->ID.'&echo=0');if ($children) { ?><ul> <?php echo $children; ?>
  3. </ul>
  4. <?php } ?>
  5.  
  6. //Tags
  7. <?php the_tags(); ?>
  8.  
  9. //Blogroll
  10. <ul>
  11. <?php get_links_list(); ?>
  12. </ul>
  13.  
  14. //Tag Cloud
  15. <?php wp_tag_cloud('smallest=8&largest=36&'); ?>

Report this snippet  

You need to login to post a comment.