Ideally I would like to do this with both my PC and Mac OSX boxes, but for now I would be thrilled with just the Mac OSX.
I am trying to keep my WP Themes & Plugin Local Development synced using Dropbox. I am using XAMPP for both Windows and Mac as my LAMP Stack and am wondering what I have to set in order to get the Mac. Based off the Codex I can do this via setting these two items:
define('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/somedir');
define('WP_CONTENT_URL', 'http://example.com/somedir');
I am successful in changing WP_CONTENT_DIR
to /Users/seth/Dropbox/Xammp-Content/wordpress/wp-content/, which allows me to see my available themes and activate them, however any of the resources (styles.css, images, etc.) doesn’t resolve and thus I have a bunch of failed GETs on the resources and the theme is unstyled.
Upon further inspection this is the URL resolved for styles.css
http://localhost:8080/wp-content/themes/[theme-name]/styles.css
Which again is a failed resource to load.
I have no idea what to set WP_CONTENT_URL
to…
Any help? Appreciate it.