Problem:
Is it possible to use a View which retrieves data from another part of a multisite?
Solution:
It may be possible with custom coding, but needs testing.
You would use the switch_to_blog function and then the render_view function.
Relevant Documentation:
https://codex.wordpress.org/Function_Reference/switch_to_blog
https://toolset.com/documentation/programmer-reference/views-api/#render_view
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 3 replies, has 2 voices.
Last updated by 6 years, 9 months ago.
Assisted by: Nigel.