0

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!

1

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

Comments

0

You can create templates on WordPress.

How to create a template

On this template, you can save your PHP.

To add CSS to WordPress you can do that by going to Appearance > Customize > Custom CSS.

The path to your Custom CSS section may be different depending on what theme you use.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.