WordPress Request Post All Post ID in a Loop? [closed]
Currently from your code I can see you are looping for post IDs from 1 to 1000 that isn’t good. WordPress have lot of functions by which you can fetch post IDs, content and other information. One of them (according to your need) is get_pages() Check the documentation of get_pages() there are lot of examples. … Read more