0

I have created one main site and 100 multi-sites. But, I am facing one issue. I want to use a common slider for all sites, meaning that I can control and edit from main site.

How to update something on one site and relect the changes on all sites?

2

1 Answer 1

0

Do all your sub-sites use the same theme? If they do, then the most light-weight solution would be for you to hard-code the slider in your template file.

This will give you the flexibility of doing whatever you want with your slides and the script you're going to use, but at the same time it will mean that each time you want to change a slide you'll have to dive into the files and correct that. Usually that's not really hard as changing a slide would simply mean changing the url of an image, a link and perhaps some text. It shouldn't require more than 5 minutes.

If you use different themes on each site then you could create a php file on your wp-content folder (let's call it slide.php ) and then from each theme simply do a

<?php include PATH_TO_SLIDE.PHP_HERE; ?>

This way you can change the code in one place and slide will change network-wide.

If you are looking for a solution that will allow you to use a plugin I'm afraid that I am not aware of any plugins that can do that job...

I hope that helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.