{"id":1915,"date":"2019-11-06T05:14:37","date_gmt":"2019-11-06T05:14:37","guid":{"rendered":"http:\/\/www.wordprax.com\/blog\/?p=1915"},"modified":"2019-11-12T09:53:18","modified_gmt":"2019-11-12T09:53:18","slug":"the-definitive-guide-for-publishing-your-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/www.wordprax.com\/blog\/the-definitive-guide-for-publishing-your-wordpress-plugin\/","title":{"rendered":"The Definitive Guide for Publishing Your WordPress Plugin"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"600\" src=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/wordprax-1.jpg\" alt=\"\" class=\"wp-image-1921\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/wordprax-1.jpg 900w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/wordprax-1-300x200.jpg 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/wordprax-1-768x512.jpg 768w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/wordprax-1-450x300.jpg 450w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p>With more than 50,000 free plugins and the number is increasing every day, the WordPress Plugin Directory is the city mall for every user of WordPress. This is the best destination, where a user will find desired plugins covering all functionalities and features for their next WP powered web applications.<br><br> <\/p>\n\n\n\n<p>All the plugins available in the Plugin Directory are free to distribute and use. These are licensed under the General Public License (GPL) and many pioneers have published their plugins in the WordPress Plugin Directory. If you are planning to create and publish your own plugin in the WordPress plugin directory, then this is a must-read blog for you.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Why Should You Publish Your WP Plugin?<\/h4>\n\n\n\n<p>The reasons people publish their <a href=\"https:\/\/www.wordprax.com\/services\/wordpress-plugin-development\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">WordPress plugins<\/a>&nbsp;in the Plugin Directory are obviously varied. Here, I have mentioned a couple of examples for the reasons:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You need the functionality in a plugin that doesn\u2019t exist in the directory.<\/li><li>You see an opportunity in the market.<\/li><li>You want to create a community around your custom plugin.<\/li><li>Your desired plugin does not provide additional functionality that you need.<\/li><li>You are very much frustrated by how much some of the plugins charge for the extra extensions and you think that you can easily create those features at a much lower cost.<\/li><li>You want to simplify some of the functionalities in such a way that does not exist.<\/li><li>You want a contribution to WordPress Plugin Directory so as to be a part of the community.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">All about Subversion version control<\/h4>\n\n\n\n<p>The commands of Subversion are executed from the OSX command line, where it is installed natively. You can also download Subclipse, which is a Subversion plugin for Eclipse. In addition to this, you can download TortoiseSVN, which is a popular Windows Subversion client.<br><br><\/p>\n\n\n\n<p>Mastering Subversion is difficult for many developers making many syntax errors is common while doing so. Have a look at some subversion vocabulary.<br><br><\/p>\n\n\n\n<p>Let\u2019s get versed in the language of Subversion:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Repository<\/strong>\u2014 the central platform where the <a href=\"https:\/\/www.wordprax.com\/services\/hire-wordpress-developers\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">WordPress developers<\/a>&nbsp;retrieve and store their work. By storing the entire changes in the repository, all these changes are made available to other WordPress developers. The WordPress repository is integrated directly into its plugin and theme update &amp; after the publishing processes.<\/li><li><strong>Trunk<\/strong>\u2014 it is a directory where the active development happens.<\/li><li><strong>Tags <\/strong>\u2014 it is a directory with every version of the WordPress plugin. You should number your versions of the plugin with three digits, like 2.0.0, while the first digit is known as a major rewrite, the second digit the feature update of that plugin, and the third digit is a bug fix.<\/li><li><strong>Check out<\/strong>&nbsp;\u2014 it is the process where one can check out the plugin for the development process and all the updates or changes are copied locally. If you have never checked out a plugin before, it\u2019ll copy all the tags, assets, and trunk locally.<\/li><li><strong>Commit<\/strong>\u2014 after you have tested updates to the plugin, developers commit the change. Typically, this is pushing a new version using an updated tag, which then publishes to the repository. If the tag number of updates in readme.txt file is greater than what is in the version of the plugin on the client\u2019s installation, it\u2019ll alert them that a brand new plugin is ready to install.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Register &amp; request the distribution of plugin with WordPress<\/h4>\n\n\n\n<p>The first step to using the repository is WordPress registration. The very next step of this is to submit the plugin for distribution in the Repository of WordPress. When firms <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.wordprax.com\/services\/hire-wordpress-developers\/\" target=\"_blank\">hire WordPress developers<\/a>&nbsp;team, they will also let you know how many brand new plugins are in the queue of review. You need to make the request only once, and after that, the team at WordPress will review your plugin and approve this plugin for the inclusion purpose (as long as you do not have any issues in glaring).<br><br><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Pro tip:<\/strong> You can keep the name of your plugin short and verify it is not already in use by searching the directory of the plugin.<br><br><\/p><\/blockquote>\n\n\n\n<p>After approval of the plugin, you will receive an acceptance email from WordPress. Here\u2019s a screenshot that you may receive for a new plugin that is being published.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"593\" height=\"510\" src=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img1.jpg\" alt=\"\" class=\"wp-image-1916\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img1.jpg 593w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img1-300x258.jpg 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img1-349x300.jpg 349w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Set up the Subversion environment locally<\/h4>\n\n\n\n<p>On the local computer, you have a Subversion directory in the root directory folder, with all of your plugins in the sub directories under there. It is much easier to manage than having plugins and files all over the place. Whenever it is checked out, it is always from this working directory.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"639\" height=\"309\" src=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img2.jpg\" alt=\"\" class=\"wp-image-1917\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img2.jpg 639w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img2-300x145.jpg 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img2-500x242.jpg 500w\" sizes=\"auto, (max-width: 639px) 100vw, 639px\" \/><\/figure>\n\n\n\n<p>If you work on a plethora of directories, you will find that each time you check out your plugin, all the tags, assets, and trunk are copied locally. By maintaining a single directory, only the changed files are locally updated.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">How to check out the WordPress plugin<\/h4>\n\n\n\n<p>For checking the WordPress plugin, you can Open Terminal on OSX (or your Subversion client) and let\u2019s get started from here.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. Change directories locally to your Subversion directory.<\/h4>\n\n\n\n<p><strong>cd Subversion<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"92\" src=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img3.jpg\" alt=\"\" class=\"wp-image-1918\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img3.jpg 637w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img3-300x43.jpg 300w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img3-500x72.jpg 500w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">2. Check out your plugin.<\/h4>\n\n\n\n<p>After that, you\u2019ll be prompted for the password and username which you used to register with WordPress. Your directories and plugin will be added locally if they already don\u2019t exist.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"498\" height=\"121\" src=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img4.jpg\" alt=\"\" class=\"wp-image-1919\" srcset=\"https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img4.jpg 498w, https:\/\/www.wordprax.com\/blog\/wp-content\/uploads\/2019\/11\/img4-300x73.jpg 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/figure>\n\n\n\n<p><strong>Note: <\/strong>Any files or folders that you add manually within the trunk directory must be registered using Subversion. Here is an example of adding your icon.svg file to assets directory in the folder<\/p>\n\n\n\n<p><strong>SVN add tweet-this-shortcode\/assets\/icon.svg<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Or for deleting:<\/h4>\n\n\n\n<p><strong>svn rm tweetthis-shortcode\/assets\/icon.svg<\/strong><br><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">3. Add plugin files to the new tag directory.<\/h4>\n\n\n\n<p>After adding all of the files and directories for the plugin within the trunk directory, you will then want to add these to a new tag directory with the all-new version as the folder name mentioned here.<\/p>\n\n\n\n<p>svn copy tweet-this-shortcode\/trunk\/* tweet-this-shortcode\/tags\/2.0.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">4. Check in the plugin.<\/h4>\n\n\n\n<p><strong>svn ci -m &#8220;Version 2.0.0&#8221;<\/strong><strong><\/strong><\/p>\n\n\n\n<p>After that, all the files are transferred to the repository, and then after a successful message is provided if your plugin is checked in. in addition to this, you will receive an email notification that details the check-in of your plugin. Even, it provides a color-coded copy of all the details of the adds, edits, &amp; removals.<br><br><\/p>\n\n\n\n<p>After seeing the WordPress plugin in its repository at URL that was provided in the mail, you have to add a review (by disclosing that you the author of that plugin) and that it works on the latest versions of WordPress. You have to be sure to keep track of all the support forums &amp; observe all the download stats so that you can see how well the WordPress community appreciates your Plugin submission!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Let\u2019s Wrap Up<\/h4>\n\n\n\n<p>I hope with the help of this blog, I have clear the idea of WordPress plugin submission. Whether you want to publish a light version of a commercial plugin or publish the plugin in order to contribute to the WordPress community, the WordPress.org Directory is one of the best places to distribute your hard work. It provides you wide exposure and offers a number of professional tools for promoting and distributing your plugins. If you an entrepreneur and business owner who want to have your own plugin for your WP powered website, you can contact a <a href=\"https:\/\/www.wordprax.com\/services\/wordpress-plugin-development\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">custom WordPress plugin development company<\/a>&nbsp;that helps you in creating plugins from scratch.<\/p>\n","protected":false},"excerpt":{"rendered":"With more than 50,000 free plugins and the number is increasing every day, the WordPress Plugin Directory is the city mall for every user of WordPress. This is the best destination, where a user will find desired plugins covering all","protected":false},"author":1,"featured_media":1921,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[30,37,10,9,29],"class_list":["post-1915","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-development","tag-wordpress-developer","tag-wordpress-development","tag-wordpress-plugin-development","tag-wordpress-plugin-development-service","tag-wordpress-plugins"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":10,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts\/1915\/revisions"}],"predecessor-version":[{"id":1932,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/posts\/1915\/revisions\/1932"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/media\/1921"}],"wp:attachment":[{"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/media?parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/categories?post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wordprax.com\/blog\/wp-json\/wp\/v2\/tags?post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}