The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End help with foreach loop Reply To: help with foreach loop


I need pages because WordPress has the ability to create them. So I am adding support for them. Yes, pages are not posts. They act differently then posts. That information is in the codex. If you pull a page into the frontpage for a single page site. then it will act as a post and not a page. That would be bad. Right now I have it set up so that you can still make pages and that page will get pulled into the front page. As I also stated. There are several ways to do this. I have tried many different ways. I do have this working. Just looking for a better way. If you have never made a one page WordPress site. I would suggest you try it before you pick my method apart to much. I don’t think it’s as straight forward as you think it is. Take a look at the theme I am making