DM of the Rings Archives

By Shamus
on Nov 13, 2006
Filed under:
Notices

WordPress has this annoying “feature” where it lets you choose how many posts to display on one page. If I was a blogger with many short posts several times a day, then I’d probably choose to have a lot of posts on the front page. Since my posts are either long or image-heavy, I usually limit the front page to 6 posts.

The problem is that WordPress uses this value for how many posts to display on archive pages as well. Viewing the archives (categorical or monthly) six posts at a time is just annoying. Archive pages just show titles and an excerpt of the text with all of the images stripped out, so there is no reason not to lists lots and lots of them. No reason except that WordPress won’t let me do it.

Grrr.

I’ve fiddled with the archive pages so that category archives now show all of the posts on one page. This was harder than it should have been.

The upshot of all of this is that the DM of the Rings posts are all gathered together on one page, which is something I notice a lot of people have been asking for.

Enjoyed this post? Please share!


6Six comments, I think. Maybe half a dozen.

From the Archives:

  1. Ubu Roi says:

    WP has some really annoying features at times. I’ve been going slowly crazy trying to deal with the WYSIWYG interface. Lots of times, I’d rather just shut the damn thing off, but NOOOOOOOOOOOO, you can’t do that. You can call up an HTML screen and edit that, but forget just doing the whole thing in HTML. I wouldn’t care, but you can’t do tables in WP’s WYSIWYG…

  2. Shamus says:

    In WP 2.0+, got to the “users” tab in the admin panel. At the bottom, un-check the “Use the visual rich editor when writing” box.

    I’ve submitted a bug report, suggesting that this box should be re-labeled “drive me to the very brink of madness with the WYSIWYG editor.”

    We’ll see if that change shows up in the next release.

  3. ScottS-M says:

    I was just looking into something similar. Did you end up using query_posts(“cat=2&showposts=99”) or something similar? Or is there a handier way of doing it?

  4. Shamus says:

    I didn’t try “showposts”. The Codex is happy to tell you all about modifying queries, but the actual parameters of queries must be sooper seekrit, since I couldn’t find much. I wanted 50 posts per page, but the “prev page” and “next page” links didn’t work right when I modified the post count. What I ended up doing was:

    query_posts (“&posts_per_page=-1&cat=$cat&order=ASC”);

    Since setting “posts_per_page” to -1 will make it show all, it doesn’t matter that the Prev/Next links don’t work.

  5. drow says:

    i dunno. wordpress has been nifty every time i’ve played with it, but i can’t wrap my poor sober brain around its quirks.

Leave a Reply to drow

Comments are moderated and may not be posted immediately. Required fields are marked *

*
*

Thanks for joining the discussion. Be nice, don't post angry, and enjoy yourself. This is supposed to be fun.

You can enclose spoilers in <strike> tags like so:
<strike>Darth Vader is Luke's father!</strike>

You can make things italics like this:
Can you imagine having Darth Vader as your <i>father</i>?

You can make things bold like this:
I'm <b>very</b> glad Darth Vader isn't my father.

You can make links like this:
I'm reading about <a href="http://en.wikipedia.org/wiki/Darth_Vader">Darth Vader</a> on Wikipedia!

You can quote someone like this:
Darth Vader said <blockquote>Luke, I am your father.</blockquote>