Using PHP with Wordpress

frosty :

I am currently trying to develop a website for fun just to practice. I have written some PHP code locally on my computer together with some css and html. My question is if anyone is familiar with Wordpress? And if so, am I able to import my php files and css into wordpress and use both code and the tools that wordpress has?

Thanks in advance!

thingEvery :

Absolutely yes. The first thing you should do is create a child theme.

In it, you will have a style.css file in which you can add all your custom CSS.

Also in there will be a functions.php file. You can add custom PHP in there.

If you're looking to do something more complicated, then look into writing a plugin.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=346359&siteId=1