I'm playing around with Network (child) theme to show Q&A questions on main site's homepage.
The thing is that I was expecting Network being able to simply replace
network/library/functions/custom-functions.php with my own (modified version):
Then I realize that functions.php is requiring dirname( __FILE__ ).
So I have had to copy functions.php and the whole library/functions/ dir.
near line 85 at functions.php there is a fatal error.
Fatal error: Cannot redeclare network_widgets_init() (previously declared in /var/www/soyciencias.org/wordpress/wp-content/themes/sc+network/functions.php:86) in /var/www/soyciencias.org/wordpress/wp-content/themes/network/functions.php on line 122
properly for the next update. It worked for me.
if ( ! function_exists( 'network_themeoptions_output' ) ) : ... endif;
P.S. it would be great to make Network being able to simply replace single php files from library/functions/ maybe by looking first for stylesheetdir and then for themplatepath or something like that