Plugin Location/Structure for wp_enque_style() Admin Page
-
I find learning WordPress like learning a foreign language. I have a dictionary but no idea how to make sentences.
my current plugin directory structure is:
my-plugin |-admin | |-css | | |-style.css | | |-index.php | | | |-admin-menu.php | |-index.php | |-settings-page.php | |-index.php |-my-plugin.php
I want
style.css
to load withsettings-page.php
. I know I need to use some form ofwp_enqueue_style()
or theadmin
version with anadd_action()
. I can find all of that information all over the place. What I can’t find is what is the proper file I am supposed to put those functions in to make it work properly.Any help greatly appreciated.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Plugin Location/Structure for wp_enque_style() Admin Page’ is closed to new replies.