Plugin almost finished, I have a couple of questions on Best Practices and such
-
I am coming to completion on a plugin, and have a couple of questions for a seasoned plugin dev.
Of course my plugin works on my default install, but I am wondering about people who have custom installs. Specifically:
- I am displaying a seperate page from my plugin. Which is better: To include the page in the plugin directory, so that it is easy to remove the entire plugin by removing one directory, or include it in the wp root directory, so that it is easy to call?
- If it is better to keep all pages in the plugin directory, how do I confidently reference files in the root? (I’ve seen installs where all WP files are in their own dir, with index.php in the root)
- How can I reference files in the plugin directory, when people can move the directory anywhere, or copy the files directly into the /plugins dir?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin almost finished, I have a couple of questions on Best Practices and such’ is closed to new replies.