Site icon Hip-Hop Website Design and Development

template_redirect() does not appear to be working

sort of a rookie query however right here goes:

I am engaged on a WordPress theme from scratch on my native machine, and I am establishing a static web page for the Weblog. I’ve my archive.php file for all of the posts after which a single.php for particular person posts. Nevertheless, once I put these information in my root folder (themes -> theme identify), together with index.php, the file all the time appears to default to index.php. Along with that, I used to be attempting to make use of web page.php as a default to any web page styling, however that additionally appears to be defaulting to web page.php. This is some details about what I’ve executed.

I do know this query is sort of open-ended, however I figured I might give it a shot to see if anybody has had the same downside. Any assistance is appreciated.