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


because I am working in WordPress. Pages are not posts. WordPress is set up to only get posts for the front page. So in order to get all pages as well. I need a query that will get all the pages as well as posts into the front page. Doing this is difficult as far as I am concerned. I have been trying for over a year to figure this out without using ajax. it’s tricky. I have many different ways of doing it just with different results. Still just looking for the best result