This may not be a Local problem. i have a Wordpress site set up on my browser. I am learning PHP using VSC. When I run the code I get an unrecognized function error for have_post() function so I assume VSC does not recognize the dependency files in Wordpress. The VSC code is using the files created for the Wordpress set up by Local,
Can I have the VSC software recognize the wordpress files to use the wordpress functions ?
Thanks nick-B, my problem isn’t a PHP problem, my problem is that VSC doesn’t recognize the function files in wordpress so it doesn’t acknowledge the standard wordpress functions.
Thanks,
Thanks, you’re correct but I did have have_posts() in the code. The problem is that it doesn’t recognize any wordpress. function. I received info on an article from Delicious Brains that I haven’t had time to work with but I think it will fix the problem. Thank you for taking the time to respond. Please keep watching as I have a lot of questions.