• i want to modify index.php in my theme to display the most recent post from each of several categories.

    so, i created a few different include files. first one is loop-index-projects.php, another is loop-motor-sports-news.php, etc. each one has a very basic example of the loop with a query_posts before it and a reset_posts after it.

    unfortunately i’m getting an undefined call to query_posts error. any idea why?

    https://tucker-restoration.com/ for output

  • The topic ‘Call to undefined function query_posts()’ is closed to new replies.