• Resolved shuugo

    (@shuugo)


    Well, as topic title says, I want to have two different “Categories” in my sidebar. What I mean is, I want things that are in Categories 1 to only be displayed there. If you have “cars” in Categories 1, I don’t want it to be displayed in Categories 2. Is there a way to do that?

    Thanks a lot in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Yes. Don’t file posts in Category 2 in Category 1 as well. Sorry but, as far as I can tell from your question, it really is that simple.

    Thread Starter shuugo

    (@shuugo)

    I think I wasn’t clear in my question ><.

    What I meant is that I have two “Categories” widgets (forgot to mention that in the earlier post) in my sidebar, and I want them to display different categories instead of displaying the same categories. Is it really still a simple thing to do? I swear I’m not finding a way to do this here >< sorry if it really is a dumb question.

    The category widget isn’t quite clever enough to manage that…

    You could use some custom written code to do the job, but it’s not something you’ll going to be able to do from the widget management, if that’s what you’re asking…

    Thread Starter shuugo

    (@shuugo)

    Do you have any idea of where I could find instructions on how to delevop such a code ><?

    Thanks a lot for the answers.

    Shuugo,

    Is there any reason you’re using the widget? You could instead utilize two loops in the sidebar to display your categories individually.

    [loop 1 = catgeory 1]
    [loop 2 = catgeory 2]

    Widgets are easy but not always as flexible as we would like. Take a look at the codex for multiple loop usage.

    https://www.doc4design.com

    Thread Starter shuugo

    (@shuugo)

    @doc4: there’s no reason for me to use widgets except for the fact that they’re the only resource I know how to deal with in WordPress >< I am a total newbie and I don’t know how to deal with the loops @_@ I’ve tried reading it, but didn’t understand much…

    I think it would help if you could clarify precisely what it is you want to do…

    Your description although helpful is a bit vague in detailing what you’re attempting to archieve.

    Perhaps you could expand on the description?

    Thread Starter shuugo

    (@shuugo)

    Sorry >_<…I’ll try to explain it again.

    I am currently using the “Categories” widget to organize my posts into categories that can be browsed by the users (which is crucial, since it’s going to be a lyrics site). The thing is, I will have translations to both English and Portuguese, and I want them in separate pages. For that purpose, I thought I could use the widget “Categories” twice, so that I could separate the English translations from the Portuguese translations. The problem is that both widgets display the same content, and that’s not what I want, I want some kind of way to separate the list of categories between those widgets. Any other method with similar results would suffice too, but I don’t know much about WordPress.

    I think that’s it >< hope it’s clear now.

    Ok wel it sounds to me like you essentially will have 2 of everything, 1 version in english, 1 in portuguese…

    If you’re going to do that i’d suggest having 2 top level categories..

    English
    – Category
    – Category

    Portuguese
    – Category
    – Category

    Make you additional categories all sub-categories of either English or Portuguese…

    Then in your sidebar file created 2 lists of categories, one that lists all sub-categories of ENG, and the other obviously grabs sub-categories of POR.

    Then again perhaps the built in language support may be better suited, but this really depends how you’re laying out the content i guess…

    Are you planning to have duplicate articles, 1 for each language, or are you writing in 1 language and just translating the content…

    I think you ideally need to decide how the content is to be managed before you go changing X, Y, and Z all over the place, if that makes sense…

    Creating 2 lists that grab from 2 top level categories (as per the example) is simple enough, that i can help you with…. no problem there, but i have a feeling on the whole you’re perhaps looking to do a little more then this…

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Is there a way to have two SEPARATE “categories” listings?’ is closed to new replies.