Symlink a directory to wp-content/themes

You can add this to your VagrantFile for “shared folders:”

config.vm.synced_folder "/path/to/your/host/projectfolder/theme", 
    "/path/to/your/vagrant/wp-content/theme", 
    owner: 'www-data', 
    group: 'www-data', 
    mount_options: ["dmode=775", "fmode=664"]

http://docs.vagrantup.com/v2/synced-folders/basic_usage.html

Leave a Comment