Thread Starter
tiddy
(@tiddy)
OK, I know why now.
The wpdb on the api->get_fields returns the current site, and not the other site, even when you call switch_to_blog before you call the $cfs global class on the page template.
I’ve added a multisite option to switch_to_blog at the beginning of the get_fields (includes/api.php) function, and return to the original blog at the end, and it works now.
I don’t know if that it will make other things fail, but for me it works now 🙂
Salutations.
Thread Starter
tiddy
(@tiddy)
array(0) { }
It returns an empty array… sniff sniff.
So I will have to make a direct query to the site cfs_values database to get the correct loop in loop results?