Grow your CSS skills. Land your dream job.

WordPress as a Book Club manager

  • # October 23, 2008 at 9:22 am

    I’m designing a wordpress site as a home for my book club, but I’m stumped on one thing. Let me explain.

    The way I want the site to work is this: every month has one blog post; it announces the book for the month. The home page shows only the present month’s post, but I want users to be able to click a nav-button that says "past" to go to a list of past books, as well as a "future" button to see what’s coming up. Essentially, this is just a matter of assigning the posts to a category and modifying the loop to show posts from the right one depending on what page you’re on, right?

    Well I can’t figure out how to make it work. I thought I should use the "pages" function of wordpress to create the past and future pages, but then when I put the loop into those pages’ tempates the loop won’t go find posts–it’s as if the loop is out of the loop once it’s tied to a static page.

    Any suggestions on how I can bend wordpress to be more of a CMS in this way? Feel free to check out the site so far; it’s at http://www.skullsaflame.com.

    # October 24, 2008 at 9:22 am

    I wouldn’t use pages. I would just write a regular post once a month. Then have wordpess limit to show just one post on the front page. Than clicking past would show a list (with excerpts?) of the past posts using the previous_posts_link function.

    # October 24, 2008 at 5:00 pm

    Yeah seems pretty straight forward. Just use regular posts and show only one at a time. Maybe use an "archives" plugin to show the previous months

    http://www.geekwithlaptop.com/projects/clean-archives/

    The "future" thing could be a "page" though…

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".