2 WP installs -> 1 db, how to…..?
I have installed 2 WP (one per website) which shares 1 DB. The WP tables are unique by their prefix (like websiteA_ vs websiteB_).
But now for the fun part, for certain websiteB pages/posts i like to use the corresponding websiteA page/post content.
– How or what would be the best way to accomplish this??
– Can i alter $myPosts = new WP_Query($args); ,to use websiteA tables based on the unique prefix for websiteA tables, in websiteB functions.php???
- The topic ‘2 WP installs -> 1 db, how to…..?’ is closed to new replies.