0

On my WordPress site, I have an HTML page template serving as the home page and the posts page is a generic WP posts page. However, whichever page I set as the Posts Page in the Reading section of WP Dashboard, ends up loading the bare HTML of my homepage. I don't understand how or why this may be happening. Has anyone faced something similar?

1 Answer 1

1

I was able to find the problem. There was a home.php file in my themes directory in wp-content. Due to the template hierarchy of WordPress, the blogs page was reading from this home.php file, where I had some HTML. Since I was the one who had created this file, on deleting it, the Posts page worked correctly.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.