user2776464
user2776464

Reputation: 31

Wordpress front-page.php is active, how to add home.php to navigation?

I'm working on some wordpress theme where I used custom front-page.php to be my homepage, home.php is page where I have written posts loop. But the problem is how to include that home.php to my navigation? I have created custom navigation menu, and added some items in it, but I don't know how to add home.php?!

any help, please? :S

Upvotes: 0

Views: 799

Answers (1)

Nathan Dawson
Nathan Dawson

Reputation: 19308

Go to pages and create two pages. I'd suggest using the titles 'Home' and 'Blog'.

Go to Settings -> Reading. Choose 'A static page'. Select 'Home' for front page and 'Blog' for posts page.

The templates you've created (front-page.php & home.php) will automatically be applied.

You'll then be able to select the posts page, 'Blog', in the menu editor.

Upvotes: 2

Related Questions