Wordpress Subpages, Tags, Blogroll and Tag Cloud


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.