Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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