Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created October 18, 2013 11:50
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tommcfarlin/30cee0e7dc18d4243dfe to your computer and use it in GitHub Desktop.
Save tommcfarlin/30cee0e7dc18d4243dfe to your computer and use it in GitHub Desktop.
[WordPress] How to create a symbolic link between a nested directory in a repository and the `wp-content/plugins` directory.
/*
* 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