课程: Learning JavaScript Debugging

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Setting up the WordPress example

Setting up the WordPress example

- [Instructor] The next example is going to involve working on a WordPress theme in Visual Studio Code. In this video, we're going to do some setup for that WordPress portion. This will require a local web server, just as our React example did. We're still using MAMP, but I'm going to make a configuration change this time. Previously, we didn't care about what port the web server was running on because perfect parody between your setup and mine wasn't important. But WordPress hard codes links to images and pages, so to try and save some headaches, we're going to get as close as possible to give you the best chance to follow along easily. First, we're going to copy or move this DBGWP folder from the exercise files on the desktop into MAMP's HT docs folder. I'm going to copy them. Next, we need to make our MAMP configuration change. We can stop the server if it's running. And now we can open the MAMP preferences and make…

内容