WordPress.org

Ready to get started?Download WordPress

Forums

Categories problem (4 posts)

  1. EvandrOliveira
    Member
    Posted 7 years ago #

    Hello there!!
    Well, I'm brazillian so if I write some mistakes..sorry.hehe

    Well, I'm developing a site in wordpress, and my main page is divided in two columns ok where each one show a part of some posts, ok.

    But I want that in the left column appears the post from a specific category, and in the right column appear posts from another category. I don't know how to do that, because if I use the function "the_content()" it just take all the posts from all categories and I just can't specify the category I want...

    I know that if I add in the address "?cat=(number)" Will appear just the post from the categoru I chose.. but to call these posts in the main page by the function "the_contet()" I really have no idea how to do that..
    I tried to search for the original file in php to make some changes, but if you have some way to help me.. I would be delighted.. thanks for your attention..

    ;)

  2. moshu
    Member
    Posted 7 years ago #

    You may want to read about multiple Loops.
    The_Loop

  3. Chris_K
    Member
    Posted 7 years ago #

  4. EvandrOliveira
    Member
    Posted 7 years ago #

    Hey, thank you very much moshu and HandySolo...
    These tutorials were very useful.
    My problem already is solved. =)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags