[wp-hackers] calling a theme file from functions.php

Otto otto at ottodestruct.com
Thu Sep 2 17:56:55 UTC 2010


No. A theme's functions.php should never cause any output just from
being loaded. doing so can break your site.

-Otto



On Thu, Sep 2, 2010 at 12:54 PM, mohammad aghanabi <m.websoft at gmail.com> wrote:
> hello;
>
> can we include a template page like index.php in functions.php and call it
> from there ?
>
> thanks
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list