diff --git a/system/includes/functions.php b/system/includes/functions.php index 1c90943..ab7efb4 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1465,11 +1465,29 @@ function tag_cloud($custom = null) } if(empty($custom)) { - echo ''; + + // Font-size increment + // this is the increase per tag quantity (times used) + $step = ($max_size - $min_size)/($spread); + + foreach ($tag_collection as $tag => $count) { + $size = $min_size + (($count - $min_qty) * $step); + echo ' '.tag_i18n($tag).' '; + } + } else { return $tag_collection; } diff --git a/themes/blog/layout.html.php b/themes/blog/layout.html.php index 5e3a5c0..f325315 100644 --- a/themes/blog/layout.html.php +++ b/themes/blog/layout.html.php @@ -7,8 +7,6 @@ <?php echo $title;?> - - @@ -172,15 +170,11 @@ diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php index 05fa8af..1d02b22 100644 --- a/themes/clean/layout.html.php +++ b/themes/clean/layout.html.php @@ -7,9 +7,6 @@ - - - @@ -36,14 +33,10 @@

-

Popular Tags

- - +

Tags

+
+ +
diff --git a/themes/logs/layout.html.php b/themes/logs/layout.html.php index 270a8e3..59a589e 100644 --- a/themes/logs/layout.html.php +++ b/themes/logs/layout.html.php @@ -7,8 +7,6 @@ - - @@ -79,14 +77,10 @@
-

Tags

- - +

+
+ +
diff --git a/themes/readable/layout.html.php b/themes/readable/layout.html.php index 5fcb73a..a25244a 100644 --- a/themes/readable/layout.html.php +++ b/themes/readable/layout.html.php @@ -7,9 +7,6 @@ - - - diff --git a/themes/twentyfifteen/layout.html.php b/themes/twentyfifteen/layout.html.php index 138caff..f72dbaa 100644 --- a/themes/twentyfifteen/layout.html.php +++ b/themes/twentyfifteen/layout.html.php @@ -5,8 +5,6 @@ <?php echo $title;?> - - @@ -101,14 +99,10 @@ diff --git a/themes/twentysixteen/layout.html.php b/themes/twentysixteen/layout.html.php index 39aef17..40af4ef 100644 --- a/themes/twentysixteen/layout.html.php +++ b/themes/twentysixteen/layout.html.php @@ -5,7 +5,6 @@ <?php echo $title;?> - @@ -110,14 +109,10 @@