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

Sinan sinan at sinanisler.com
Sun Feb 19 02:45:35 UTC 2012


Thanks Dion I know its error and lot of error :D

obviously my inxlude cant work ı want get index.php but what is the true
way.

that is the question.


19 Şubat 2012 04:42 tarihinde Sinan <sinan at sinanisler.com> yazdı:

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


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


More information about the wp-hackers mailing list