Edit Home page in WordPress [closed]

天涯浪子 提交于 2019-12-12 01:24:36

问题


How do I make changes to the Home page in WordPress? When I go to the website URL (www.linkzgamez.com) it has a Home screen that I would like to make changes to, but I can't find it anywhere in WordPress. All of the other links on the Home page I can find and update/control in WP, but not the Home page which is set as the default theme. I even deleted another page in WP but it still appears on the Home screen which I can't locate to edit it. How do I find it?


回答1:


I suggest you read the Wordpress Codex on creating / editing themes and templates:

http://codex.wordpress.org/Templates

In most cases the home page is controlled by the index.php file within a theme.




回答2:


I just had a quick look and it looks as if it is set to the default - showing the last 10 posts (even though you currently only have one post).

If you don't want to display posts on the front page you could create a new "Page" called "Home" and then go to:

Settings -> Reading -> Select "Front page displays a static page" and then select "Home" from the dropdown menu.

Hope this helps ;)




回答3:


I suggest you read up on the Template Hierarchy.

If these files (home.php, index.php, front-page.php) don't exist in your theme folder; WordPress will use the ones in the default theme.



来源:https://stackoverflow.com/questions/14301631/edit-home-page-in-wordpress

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!