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

mohammad aghanabi m.websoft at gmail.com
Thu Sep 2 17:58:56 UTC 2010


u mean there is no way to try ?

On Thu, Sep 2, 2010 at 9:26 PM, Otto <otto at ottodestruct.com> wrote:

> 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
> >
> _______________________________________________
> 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