I would like to make a theme from scratch and make a certain page as a homepage/index page
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just include a
front-page.phptemplate file with the theme, you can then include all the content you want in that template file.But when you said, make a certain page as homepage, you may be referring to the
/wp-admin/options-reading.phpreading settings subpanel where the user can set which existing page will be the homepage or the latest blog posts. Note that this will affect the behavior of the Loop in yourfront-page.phpfile.More info can be found in Creating a Static Front Page in the WordPress docs and also the Template Hierarchy.