A Cry for Help: developing a simple plugin.
-
Greetings all,
I have come up with an idea for what I think could be a very interesting plugin, but I am having trouble integrating the already written php code into WP. Here is what I would like to do:
— Have a menu under ‘options’ in the admin pannel that lets users set a variety of options regarding how the plugin is to perform.
My setup would be (I think, based on what I have read in the codex): File A, the one that does all the work, File B, allows for customization of the paramters used in File A, and File C, the one that calls the customization page from WP. Does this make sense?
Here is my sample code to call the customization page and create an options page in the admin backend (note that it doesn’t work!):
The code goes here, but I can’t paste it! Frustrating!
This is based on the example provided in the codex, but I sure can’t get it to work! What am I doing wrong? I’ve looked at other plugins that do this but they all seem to miles ahead of mine in complexity. This should be simple: allow users to set parameters in a menu (instead of editing them inside the php).
The plugin itself doesn’t do anything with any wordpress variables (at the moment) but rather it is a page WP users would link to that would provide specific information for visitors. Can anyone provide any assistance or point a php/ wp novice in the right direction?
- The topic ‘A Cry for Help: developing a simple plugin.’ is closed to new replies.