I’ve looked at the WordPress documentation but that seems to be about sharing the entire database. That’s not for us as these are all independent sites.
I looked at using the API but we really want the entire front end available on the individual sites.
Is there a way to do this directly in Participant’s database? If not, has anyone done this trying to replicate the tables? Worse comes to worst, we’ll use a frame or even just a link. Thanks
]]>(The ‘network shared media’ plugin does not work in the Galleries I’ve tried so far).
]]>I don’t think the multi-site mode will work because he wants 3 totally different URLs, with 3 different styles. So they appear separate but he can pull various product categories to appear on each site.
Can this be done please? And how would you do it?
Thank you, Julian
]]>I’m trying to create the solution offered in this blog post
I’ve asked Mike the blog owner and I am asking here, hoping someone can help. The brick wall I’ve hit is my production setup on aws elastic beanstalk keeps drawing on the local host version despite the wp-config-local.php file not being in the git repo on aws.
To me, it seems that whichever environment completes the install,is taking precedent over the local config file and the code changes noted in Mike’s blog for the wp-config file. On the flip-side I’ve done the install on the elastic beanstalk environment, but beyond the index page, the local version then calls on the elastic beanstalk environment, not the local host version. The problem with that, is any plugin updates will sit on the server machine and not in the git repo to be synced with any load balancing machines – the whole point of the solution.
I am wondering if this is a point in the right direction?
Any help would be really appreciated.
Thanks
Mandy
[Moderator Note: Please ensure that you are embedding links correctly in your posts.]
]]>The functionality in the secondary install would theoretically be achieved by having a checkbox on each Custom Post Type and post and only those posts with checkboxes selected will be shown. Maybe it will be as simple as using a category, for example a category called “secondary site”.
Should i rather use a Multisite install or is it overkill for this setup?
]]>I’m new to multisite, and I hope it is exactly what I’m looking for. The questions revolves around whether one can pull information (via PHP) for one site that is hosted on another.
This is the situation:
I am building a site/set of sites which are all related – a front page (like a welcome page), an online catalogue of books, and a blog for articles by authors and news etc.
The catalogue part is up and running without trouble, and I don’t envisage any trouble setting up the blog as I want it. I had planned to configure these as subdomains of the main page.
What I want to be able to do is pull select information from both the catalogue and the blog on to the front page – new books and new articles for example.
Currently, information for the catalogue is entered via a form which generates custom fields, which are then pulled by a customised single.php to generate the pages automatically.
Is it possible to pull a few of these fields – say title, thumbnail, author – onto the front page?
Hope that makes some sort of sense!
]]>Looking at the database I now have two sets of tables with the prefixes looking OK.
I can log in to the first site OK, but when I try to log in to the second site it doesn’t recognise the username and password. The web address of the first site is then displayed in my browser bar.
Am I missing a simple step or setting?
Cheers
]]>global $wpdb
$wpdb->set_prefix(‘www’);
$querystr =”
SELECT $wpdb->posts.* FROM $wpdb->posts
WHERE $wpdb->posts.post_type = ‘post’
ORDER BY $wpdb->posts.post_date DESC
LIMIT 5″;
$pageposts = $wpdb->get_results($querystr, OBJECT);
But $pageposts is empty.
Any idea what I’m doing wrong?
]]>