1

My Home pages(index.php) are not being loaded by index.php, instead they are being loaded in page.php or single.php I'm not able to figure out the reason for this.

2

2 Answers 2

2

From Settings->Readings you have set a page as home page. If you set a home-page and blog-page form Settings->readings then home-page will show form page.php and blog will show from index.php. If you want a default and permanent structure for front-page/home-page you may set front-page.php, It will show on home-page. Thanks.

Sign up to request clarification or add additional context in comments.

Comments

1

Check the WordPress hierarchy out. If you want it to load index.php you have to delete single.php for single posts and page.php for pages.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.