Alphabetizing posts randomly omits tags
-
I’m using Simple Tagging and the Alphabetize your Posts hack for The Loop.
When a user clicks on a Category it displays the post title and the tag, with the whole list alphabetized.
Apples
piesBananas
splits
Coconut
milkBut for some reason some of the tags don’t display in a way that seems arbitrarily based on the number of posts displayed on the page (italics are tags that exist but do not show up):
A
tag1B
tag2C
tag1D
tag1E
tag2You can see what I’m talking about here: http://aphasian.info/letsfail/category/nes-game-schadenfreude/
There are obvious gaps where tags should display but do not. If you click on the permalink the tag is visible.
This is my code:
<?php $posts = query_posts($query_string . ‘&orderby=title&order=asc&posts_per_page=-1’);
if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”> <?php the_title(); ?> </h1>
<?php STP_PostTags(); ?>
<br>
<?php endwhile; ?>
- The topic ‘Alphabetizing posts randomly omits tags’ is closed to new replies.