• Hey everyone.
    I just start using wordpress,and i am not good with php so i have one question.
    I wanna make 2 pages for example Page1 and Page2 in main menu bar and two categories for posts “category1” and “category2”. Page1 will be template-blog1.php and Page2 template-blog2.php. Now i need to arrange that posts (those who are category1) shows on Page1, and posts(those who are category2) shows on Page.
    I saw that code for calling post is “<?php if (have_posts()) : while (have_posts()) : the_post(); ?> ” so I just need to call exactly category that i need.
    I hope that i explain my problem like i should and everyone understand. If there is anyone who is good with php pls help me.
    Thanks a lot,and sry for bad english .

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different categories on different pages’ is closed to new replies.