treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] How do I assign categories to pages in wordpress ?

  • In my present project i faced this problem & thought that i might get the solution but it was bit difficult for me to get that solved so i thought to ask it here ...

    So the problem is that i have number of categories that contain post like

    Category 1 contain 5 post

    Category 2 contain 15 post

    Now the problem is how is it possible to add this category to a particular page so that next time i do a new post in a category 1 and that post itself got placed in the page i assigned to that category, so if there is any piece of code that i will need to add or any other plugin then please let me know as i have to solve this as soon as possible ....

    So friends please help me out here ...

    Thanks
  • Are you using the WordPress custom menus? If so the easiest way would be to no worry about assigning a category to a page, but instead just call that particular category in the menu.

    So the menu might be:

    Home - Page
    About - Page
    Category 1 - Category (posts)
    Category 2 - Category (posts)
    Contact - Page

    You can set this up from the Dashboard > Appearance > Menu

    Then just drag in a category instead of a page.

    Hope this helps
  • Will check it out & let you know ...

    Thanks for fast reply .