Hi i have this problem when i’m trying to upload wordpress pluggin:
Optional WordPress Plugin ZIP must contain at least one .php file.
what can i do ? my pluggin have this tree :
/arw_shortcode.jpg
/arw_shortcode.php
/arw_shortcode.js
/arw_shortcode_table.php
/uninstall.php
is my first upload , if anyone can help me
thanxs a lot !
To create a wordpress plugin, the file must be contained within a folder inside the zip. Come up with a unique folder name that nobody else will use. If the name is used by another plugin it will conflict and error out when adding to wordpress. So your tree should look like:
my_unique_folder_name/arw_shortcode.jpg
my_unique_folder_name/arw_shortcode.php
my_unique_folder_name/arw_shortcode.js
my_unique_folder_name/arw_shortcode_table.php
my_unique_folder_name/uninstall.php
Hi, thanxs ! , finally : D , thanxs u so much , i’m spanish and is so hard to know what happens jaja , thanxs you again dude
WebSmacker said
To create a wordpress plugin, the file must be contained within a folder inside the zip. Come up with a unique folder name that nobody else will use. If the name is used by another plugin it will conflict and error out when adding to wordpress. So your tree should look like:
my_unique_folder_name/arw_shortcode.jpg
my_unique_folder_name/arw_shortcode.php
my_unique_folder_name/arw_shortcode.js
my_unique_folder_name/arw_shortcode_table.php
my_unique_folder_name/uninstall.php