• hi, im pretty new to all this wordpress stuff and could do with some help.
    I’m trying to code an index.php that has 1 loop for a ‘News’ page and 1 loop for a ‘Portfolio’ page.
    Although I want both loops to do the same thing (display 5 posts),
    how do code it so it differentiates between the ‘News’ page and ‘Portfolio’ page.

    thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘index.php multiple loop for different pages.’ is closed to new replies.