DIsplay content for page-home.php (2 posts)

  1. techcastoni
    Posted 5 years ago #

    I've set the Home page in WordPress Admin to be the static homepage for my WordPress site and I have created a template file called page-home.php. I've used the function the_content() to echo the content of the page, but nothing appears. What am I doing wrong?

  2. Try renaming the file to front-page.php and it should be applied for the front page.

    There are some other methods too. See:

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.