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

Sinan sinan at sinanisler.com
Sun Feb 19 03:13:53 UTC 2012


Thanks Dion

I getting error(s) ı will debug but really hard the fix errors ı'm looking
another methods may be someone was make like this script I dont know I'm
searching for solution...


2012/2/19 Dion Hulse (dd32) <wordpress at dd32.id.au>

> On 19 February 2012 13:52, Doug Stewart <zamoose at gmail.com> wrote:
> > On Sat, Feb 18, 2012 at 9:42 PM, Dion Hulse (dd32) <wordpress at dd32.id.au>
> wrote:
> >> No, sending a redirect is completely wrong.
> >>
> > Explain, if you please. I'm not understanding 1) why you would even
> > try to include index.php in home.php 2) why a redirect would be the
> > wrong answer.
>
> If you didn't realise, this is a theming question, as theme files are
> included by WordPress, redirecting to another theme file via a HTTP
> redirect would never work.
>
> As to why you'd include index.php from home.php, well, honestly, I
> don't know what Sinan is attempting to achieve, and I don't question
> what most themers are attempting to do, but that's not to say there
> isn't a reason for it (for example, if a theme had a toggle to utilise
> the page or not perhaps)
>
> Sinan: The reason to enable debugging is so that you can see the error
> produced by your code, if you're just receiving a blank page, it's
> either a PHP Error, or you've got a blank index.php file.. which is
> entirely possible..
> _______________________________________________
> 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