PHP: Exclude Tag
-
I am using the following code to generate a list of most used tags:
[moderator remark: the code below is partially broken; don’t use for copy/paste]
<div id="tab3" class="tab_content"> <p class='tag_cloud'> <?php $tags = get_tags(array('orderby' => 'count', 'order' => 'DESC', 'number' => '28')); foreach ((array) $tags as $tag) { ?> <?php echo '<a>term_id) . '" rel="tag">' . $tag->name . '</a>'; ?> <?php } ?> </p> </div>
I want to exclude 1 tag, but I have no idea to do that (I tried using information from the internet but with no luck). Can someone please help me out?
I use the code here: https://fastforwardandrewind.com
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘PHP: Exclude Tag’ is closed to new replies.