• I want to make a custom tag list, with post count, and have it display in a custom order. I am using the code below which works but I do not know how to get the list to display in the order I put them in, in the code:

    <P><?php
    //include tag ID
    $tags = get_tags('include=10011,1104,1146,1268');
    if ($tags) {
    foreach ($tags as $tag) {
    echo '<a href="' . get_tag_link ($tag->term_id) . '" rel="tag">' . $tag->name . ' (' . $tag->count . ') </a>';
    }
    }
    ?>
    </P>

    Is there some kind of orderby snippet I can add? If anyone knows how to do this please alter my code with the fix. Thanks.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Tag List with Custom Order’ is closed to new replies.