I have a function ( or whatever you call it ) in (site)/home.php ( its $stats ) and i'm wanting it on themes/themename/layout.php How could i do this?
if your site (file) tree like this -site/home.php -site/themes/themename/layout.php Code (markup): put this line on your layout.php file, before you call your function. include ('../../home.php'); PHP: