1

I have a enter image description here in my theme directory and I would like to set the WP to be static based on page. I didnt create any pages so far because my assumption was the enter image description here must be listed as a page in the front page display list but it is not!

Do I have to explicitly create a Page with enter image description here template and then set as Front Page? enter image description here

was't that Front Page pointed to enter image description here automatically? or I am missing something?!

  • If you want your front-page.php as your home page then you have to select "Your latest posts" option from settings -> readings instead of "A static front page" option and save changes. And also what content is showing on front page right now? is it content of index.php 's file or what? – Rishabh May 4 '17 at 6:45
  • Thanks Rishabh, but I am trying to create a website with static pages! – Behseini May 4 '17 at 6:58
  • Then you have to create a page in dashboard -> Add pages and go to settings -> readings and there choose newly created page on option "A static page" as simple as that, I am not getting whats issue you are facing in this. – Rishabh May 4 '17 at 7:11
  • please take a look at this link codex.wordpress.org/… – Behseini May 4 '17 at 7:15
  • but I can not find thefront-page.php in dashboard -> Add pages-->Template list. so how can I set a page as the front-page.php? – Behseini May 4 '17 at 7:17
0

This front-page.php is flie templates. You need to select page for front page(This display first page = homepage).

Your homepage display same design

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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