Connect to remote database using Localhost install

I think s_ha_dum is in the right track, but I think he got it backwards. You want to: develop/design locally connect to the REMOTE database and work with his content? You need a remote (staging) installation of WordPress, where the client can create/enter his content. You need your local WordPress site (localhost) to point to … Read more

What is the database table for pages?

the wp_posts include all post types (post, page, custom post..), and to differentiate between them there is a field called post_type used to specify the name of the current entry whether it’s a page, post or a custom post. Query below will get list of pages SELECT * FROM wp_posts where post_type=”page”;

Using Vagrant for customizable WordPress Multi-sites [closed]

You can try using the Genesis-Wordpress(Note: not the framework) project for this. It does more or less what you have described above including, Provisioning (with Ansible) Deployment (with Capistrano) Database Synchronization (with custom Capistrano tasks) It also uses the Vagrant Host Manager to workaround the /etc/hosts issue. So the site is served over port 80. … Read more