No way to develop locally with bloginfo() & Remote MySQL?
-
How can my team develop css and javascript locally, but point their WordPress config to our development mysql database? All their css and javascript links in the theme still points to our development server and not their localhost despite defining WP_HOME & WP_SITEURL to point to $_SERVER[‘HTTP_HOST’] as advised in the WordPress docs.
Basically it looks like WordPress’s bloginfo(‘stylesheet_url’) & bloginfo(‘template_url’) always uses the siteurl in the database despite the WP_HOME & WP_SITEURL hack. Is there any way other than hardcoding links to point bloginfo() locally when developing?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘No way to develop locally with bloginfo() & Remote MySQL?’ is closed to new replies.