tags() static public method

static public tags ( $indexname = 'tags-by-popularity' )
Beispiel #1
0
</a>
						<span class="age"><?php 
        echo $post->published->age();
        ?>
</span>
					</li>
				<?php 
    }
    ?>
			</ol>
		</div>
		<div class="col">
			<h2>Popular tags</h2>
			<ol class="tags">
			<?php 
    foreach (gb::tags() as $tag => $popularity) {
        if ($popularity < 0.2) {
            break;
        }
        ?>
				<li class="p<?php 
        echo intval(round($popularity * 10.0));
        ?>
"><?php 
        echo gb_tag_link($tag);
        ?>
</li>
			<?php 
    }
    ?>
			</ol>