Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[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