Hello
Today I will explain how to upload plugin to wordpress account.
First make your plugin ready and remove all unnecessary codes, comments from your code. Make proper structure for files.
- Install SVN to your system.
- now make like this path : /var/lib/svn/plugin_name/trunk
- Open terminal and avigate to the folder where you placed your plugin files (/var/lib/svn/plugin_name/trunk).
- Use the command svn add to add your plugin files to the local repository. For example, svn add * to add all the files.
- Use the command svn commit to commit your changes to the local repository. In the commit message, include a brief description of the changes you made to the plugin. For example, svn commit -m "Initial plugin upload"
- Use the command svn update to push your changes to the WordPress plugin repository. The URL should be https://plugins.svn.wordpress.org/plugin_name
- After this command you'll be prompted for your wordpress.org username and password, enter them to complete the upload process
- Once the upload is complete, you should be able to see your plugin listed in the WordPress plugin repository.
- Please note that if the plugin name you are trying to use is already taken, you will receive an error message. In this case, you will need to choose a different plugin name.
- Also note that, once you have uploaded a plugin to the WordPress plugin repository, you will need to continue using SVN to update the plugin.
-----------------------------------------------------------------------------------------------------
Delete some folder
- svn delete Under-Construction
- svn commit -m "Deleting Under-Construction"
------------------------------------------------------------------------------------------------------
Update Plugin:-
- Paste all your files here to yout plugin svn folder. For example: /var/lib/svn/under-construction-for-specific-pages/trunk
- Open a terminal and go to your plugin svn path. For example: cd var/lib/svn/under-construction-for-specific-pages/trunk
- Run this command : svn update *
- it will update all files automatically
- after successfull updation, run this command : svn commit -m "updating Under-Construction"
- Now check your wordpress plugin path, It will take 10-15 minutes to get update.
No comments:
Post a Comment