Skip to content

Instantly share code, notes, and snippets.

@savankaneriya
Created September 13, 2022 06:21
Show Gist options
  • Save savankaneriya/95bb0aad6b3b26179bb31bf07f80e9b9 to your computer and use it in GitHub Desktop.
Save savankaneriya/95bb0aad6b3b26179bb31bf07f80e9b9 to your computer and use it in GitHub Desktop.
Create symlink for plugin in wordpress development
/*
* Given the repository for the 'WordPress Plugin Boilerplate' and knowing that the actual
* plugin resides in the `plugin-name` directory, then you'd need to do the following:
*
* 1. Navigate to `wp-content/plugins`
* 2. Execute the following terminal command:
*/
> ln -s WordPress-Plugin-Boilerplate/plugin-name/ plugin-name
/*
* Similarly, given that you're working with the a Subversion repository and
* the code resides in the `trunk` directory, then you'd need to do the following:
*
* 1. Navigate to `wp-content/plugins`
* 2. Execute the following terminal command:
*/
> ln -s Your-Plugin-Name/trunk/ Your-Plugin-Name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment