How to display the Loop in another template page
I’m the basic WordPress beginner with experience in HTML and CSS but not php..
I managed to display a static front page thanks to a “home.php” template in my themes folder, now I would like to use the Loop to display site news and updates on another page.
So I created a “News” page based on a “news.php” template and I successfully added a Mini Loop to it (as explained at http://codex.wordpress.org/Creating_a_Static_Front_Page#Static_Page_with_Mini-Loop) but the Mini Loop is just not enough detailed..
A copy / paste of the Loop code from my “index.php” into my “news.php” does not work; does someone have a code example to display the Loop on that News page or maybe a more detailed Mini Loop with date, number of comments etc..?
Thanks for your time 🙂
- The topic ‘How to display the Loop in another template page’ is closed to new replies.