Multisite – Showing all global events in a sub-site
-
I have set-up a Multi-site in WordPress, and use the global tables mode to share events between the different sites.
I could manage to show events that were created in a sub-site to appear on the main-site. However, I require the opposite: I would like to show events that were created in the main-site to appear on the sub-site. I tried to do this by using the ‘blog’ search attribute on the sub-site, but this doesn’t work.
Is there a way of doing this?
This is the code I use on my sub-site:
<?php
if (class_exists(‘EM_Events’)) {
echo EM_Events::output( array(‘blog’=>’0’,’format’=>’Event: #_EVENTLINK
‘) );
}
?>—
Thank you!
- The topic ‘Multisite – Showing all global events in a sub-site’ is closed to new replies.