WordPress how to add own PHP code made up of multiple files and an imported package?

26 views Asked by At

I want to add a table to a page that changes depending on a selection (button) on that same page, that also uses a HTML grabber package that I've imported to my vendor directory in the project. Is there any way to add this code to WordPress?

I've tried running my site locally through Xampp but the only way to edit pages is through the database and I can only add lines of HTML. I expected WordPress to have a folder structure with a file for each page where I could simply add my PHP code and the imported package to a vendor folder. Now I'm not sure it is possible.I've tried running my site locally through Xampp but the only way to edit pages is through the database and I can only add lines of HTML.

Thanks in advance!

0

There are 0 answers