Posts not populating the loop
-
I have inherited a WP site & it’s custom theme. It is a bit wonky and I am trying to rebuild it here and there to take advantage of the The Loop. My problem is that I have a template with the loop in it, and it is not flowing the existing posts into it. I have read that other had success with re-caching, using a different theme, and turning off all plug-ins to see if that helped them narrow down the problem. I have tried all, to no avail.
My General>Reading settings are on “Front page displays: your latest posts” – although I’ve got a static front page, and I want the posts to appear on an internal page.
My template file is named page_about.php and I’ve listed the file below. I currently have content on the page that has been entered on the Page interface with the “about” template activated. Here is the page: https://friendskc.org/index.php/about/news-and-events/
Can anyone help me figure out how to get the posts flowing in there so that we don’t have to enter information in posts and in pages?
Thanks!!!
[Code moderated as per the Forum Rules. Please use the pastebin]
- The topic ‘Posts not populating the loop’ is closed to new replies.