I have created my first WP plugin. The plugin dir contains several files, “my_plugin.php,” a css files, script, readme, etc.
Oddly, I cannot find a thing on the web on “how do I put these files into a zip archive” so that the plugin can be installed via Admin > Plugins “add new.”
Windows’ “add to zip folder” doesn’t work, as the zipped folder is loaded into the media uploads dir on the server.
Thanks!
The files should be in the root of the archived file.
Added the above line to the plugin php file. Working live now. Thanks!