WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multiple blog-like areas on a site (newbie) (15 posts)

  1. peredur
    Member
    Posted 3 years ago #

    I've been asked to create a site for an author. Looking at what she wants, I realise that there are several areas of the site that would be blog-like. For example there is the obvious 'News' area where she can post where she will next be signing books or giving a presentation, but there is also bibliographical area where she will want to add her publications as each one is published.

    The bibliographical area will be split in two, for novels and for short fiction. Obviously there could be more (essays, articles, poems, etc). Each would be blog-like, consisting of a list in reverse data order with each item linking to the single page version of the article.

    Is there a way of doing this in WP without creating multiple blogs? It must be a fairly common requirement, and having to create half a dozen installations to satisfy it seems a bit excessive. It's the only way I've found so far, though.

    Sorry if there is a really obvious answer to this that I've missed. If there is, a reply with just a URL (and the obligatory RTFM) would be fine. Sometimes when you're new to something you read the answer without realising that it is the answer!

    Cheers

    PAE

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. peredur
    Member
    Posted 3 years ago #

    OK. I read those. Am I right in thinking that basing a solution on these would involve assuming that a particular category has been assigned to all the posts that need to be put in a particular loop? Something like, "novels", "short-stories", "news" and so on.

    The trouble I see with this is that I'd be relying on my client allocating the correct category to each post. If this is the only way to do it then I'll have to live with it; but I can see it being a maintenance nightmare with my client phoning me at regular intervals because posts aren't appearing where she thinks they should.

    I may be overstating this: and I'll never know until I try it, of course. It does seem a bit, 'inelegant', though.

    Or have I misunderstood what's involved?

    Thanks for the links.

    Cheers

    PAE

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    The trouble I see with this is that I'd be relying on my client allocating the correct category to each post.

    Category allocation is a basic part of creating & publishing posts. Most people seem to be able to handle it without any problems. I'm sorry but she'll have to learn how to use her own site.

    As for being "inelegant", post categorisation (or taxonomy) is at the core of WordPress. If your client can't handle this, then perhaps she shouldn't be using WordPress. Sorry if that sounds harsh but that's the reality of the situation,

  5. peredur
    Member
    Posted 3 years ago #

    No, that's OK.

    Now I know that's how it's got to be done, I'll make sure I do the proper training.

    I confess I am still struggling a bit trying to work out how I can discover or specify the URL my main navigation menu item should point to. If I can point to the right location, I'm reasonably certain I can devise an appropriate loop (famous last words).

    I probably need to go away and play with a test site for a bit before bothering the forum again.

    Thanks very much for taking the time to respond. It is appreciated.

    Cheers

    PAE

  6. peredur
    Member
    Posted 3 years ago #

    Duh!

    @esmi: I just looked at quirm.net and saw how the category links work. So if I use a category I can forget about coding, can't I, and just assign a URL like:

    http://mysite.com/category/bibliograph/novels (or whatever)

    (Assuming I've configured the permalinks correctly and all that)

    Hope I didn't try your patience too much! And apologies for replying to myself.

    Cheers

    PAE

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    So if I use a category I can forget about coding, can't I, and just assign a URL

    Yes. WordPress will create the url automatically based upon your custom permalink structure.,

  8. peredur
    Member
    Posted 3 years ago #

    You're a star, esmi.

    Thanks for yuor help and patience.

    Cheers

    PAE

  9. esmi
    Forum Moderator
    Posted 3 years ago #

    No problem :-)

  10. peredur
    Member
    Posted 3 years ago #

    Hmm. It seems I still have a problem.

    Apparently category listings don't respect post 'stickiness'. So it looks as though I'll have to do some coding after all because I'd like a sticky first post for each category. Oh well, it's what I get paid for.

    Cheers

    PAE

  11. esmi
    Forum Moderator
    Posted 3 years ago #

    category listings don't respect post 'stickiness'.

    Correct. It only works on the main posts page by default. But you could use multiple Loops in your category template file to list sticky posts first and the others after.

  12. peredur
    Member
    Posted 3 years ago #

    Yes. I found this as well:

    Codex/category-templates

    I think I'll probably go for that. It's static text I need, really. The only advantage in using a post would be that it would be editable by the user: but since I only want to say something like, "This is the News area of the site where you can see all the tremendously exciting things my client has been getting up to" (or something), and something similar for other categories... I can't imagine it would change a lot, if at all.

    Or am I just being chicken?

    I'll see what my client thinks.

    Once again, my thanks.

    Cheers

    PAE

  13. esmi
    Forum Moderator
    Posted 3 years ago #

    If it's just static text, then multiple loops with custom queries seems like overkill. You could always leverage the category description into holding that static text and than output it into the category pages. As a field, category descriptions seem to be fairly under-used.

  14. smrdo
    Member
    Posted 3 years ago #

    you could also use magic fields - to create a custom write panel for each type of post (news, bibliography etc) - you than set that write panel so it automatically assigns a chosen category to a new post.

  15. peredur
    Member
    Posted 3 years ago #

    Thanks. I'll look it up.

    Cheers

    PAE

Topic Closed

This topic has been closed to new replies.

About this Topic