<?php
/**
 * Template Name: Tags
 **/
get_header(); ?>

<div id="primary" class="content-area categories-list">
	<main id="main" class="site-main" role="main">
		<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
		<header class="entry-header">
			<?php the_title( '<h1><i class="fa fa-tags"></i>', '</h1>' ); ?>
		</header>

		<?php the_content(); ?>

		<?php
			$args = array(
				'smallest'                  => 12,
				'largest'                   => 24,
				'unit'                      => 'px',
				'number'                    => 0,
				'format'                    => 'flat',
				'separator'                 => '',
				'orderby'                   => 'name',
				'order'                     => 'ASC',
				'exclude'                   => null,
				'include'                   => null,
				'topic_count_text_callback' => 'default_topic_count_text',
				'link'                      => 'view',
				'taxonomy'                  => 'post_tag',
				'echo'                      => true,
				'child_of'                  => null,
			);
			?>
				
		<?php wp_tag_cloud( $args ); ?>
		<?php endwhile; endif; ?>
	</main><!-- #main -->
</div><!-- #primary -->

<?php
get_footer();
