plugins – how to define a html folder to make it work with WordPress commands

Question

so is it possible to define a folder outside the wp-$folders ?

i created a html page and i want to use WordPress hooks and filters in it simply the WordPress PHP syntax

im still learning php – and i dont know what file should i call to make it work

my wordpress file system looks like

wordpress 
|
|
|_ helloworld _ index.php ( contain php code + html - js - css )
|_ wp-admin
|_ wp-content
|_ wp-includes
normal WordPress file system
..
.

i want the index.php that inside the hello word (dir) to make it able to run WordPress commands and not be just static page

Note : i dont want to turn the html into a template (:

0
mok 2 months 2021-03-27T14:41:29-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse