The Site Cloud page template was a very simple template to create.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <?php /* * Template Name: Site Cloud */ get_header(); ?> <div id=“primary”> <div id=“content” role=“main”> <header class=“page-header”> <div class=“post-headline”><h1>Site Cloud</h1></div> </header> <h2>Categories</h2> <p align=‘justify’> <?php wp_tag_cloud( array( ‘taxonomy’ => ‘category’, ‘number’ => 0 ) ); ?> </p> <h2>Tags</h2> <p align=‘justify’> <?php wp_tag_cloud( array( ‘number’ => 0 ) ); ?> </p> </div><!– #content –> </div><!– #primary –> <?php get_sidebar(); get_footer(); ?> |
All it really does is call the WordPress ‘wp_tag_cloud’ function twice, first creating a tag cloud of the Categories and then of the Tags.
The short URL of the present article is: http://www.terryobrien.me/oZEH1
Personal Links