22 lines
601 B
PHP
22 lines
601 B
PHP
<?php
|
|
|
|
$args = array(
|
|
'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'number' => 999,
|
|
'format' => 'array', 'orderby' => 'name', 'order' => 'ASC',
|
|
'exclude' => '', 'include' => '');
|
|
|
|
$tags = get_tags($args);
|
|
|
|
?>
|
|
|
|
<div class="card card-primary">
|
|
<div class="card-header"><i class="fa fa-tags" aria-hidden="true"></i> Tags</div>
|
|
<div class="card-body">
|
|
<ul class="tag-list">
|
|
<?php foreach ($tags as $tag) {?>
|
|
<li><a href="<?php bloginfo('url'); ?>/tag/<?php echo $tag->slug ?>"><?php echo $tag->name ?></a></li>
|
|
<?php } ?>
|
|
</ul>
|
|
</div>
|
|
</div>
|