[wp-hackers] home.php and trying custom php

Sinan sinan at sinanisler.com
Sun Feb 19 02:42:41 UTC 2012


wordpress will read home.php before index.php  redirect not work.


2012/2/19 Doug Stewart <zamoose at gmail.com>

> Send a redirect. Including is the wrong answer.
>
> Also, this sort of question is best placed in the WordPress.org forums
> or perhaps even the WordPress StackExchange. Not appropriate for
> wp-hackers.
>
> On Sat, Feb 18, 2012 at 9:18 PM, Sinan <sinan at sinanisler.com> wrote:
> > Hello,
> >
> > I make home.php and put this code;
> >
> > <?php if(1==2){ echo "Custom Hello World"; } else {
> >
> > include('index.php');
> >
> >
> > } ?>
> >
> > I expect index.php comes, but its not opening-running only blank page
> > coming.
> >
> > Anyone know what code will be work in this case?
> >
> >
> > Thanks.
> >
> >
> > --
> > Sinan İŞLER
> > sinanisler.com <http://www.sinanisler.com>
> > fb.com/sinanisler
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
>
>
> --
> -Doug
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Sinan İŞLER
sinanisler.com <http://www.sinanisler.com>
fb.com/sinanisler


More information about the wp-hackers mailing list