如何在WordPress中将默认主页更改为已安装模板的页面

时间:2014-01-02 08:12:30

标签: wordpress

安装模板并在wordpress中激活后,我的网站显示默认页面。如何根据模板更改主页?我的模板包含瓷砖,请联系我们页面?

我应该在wp-include文件中做一些更改吗?

主要模板首页的HTML .php

<div class="page-navi"> <a class="home-page page-transition" href="#home" onClick="gotoPageWithTrans2(0)" title="Go Home"></a> <a class="prev-page page-transition" href="#about" onClick="gotoPageWithTrans3(1)" title="Go To Previous Page"></a> </div> <h1>Our Team</h1> <nav class="submenu page3-submenu"> <ul> <li><a href="#about" class="page-transition" onClick="gotoPageWithTrans5(1)">About Us</a></li> <li class="current"><a href="#team">Our Team</a></li> <li class="inline"><a href="#works" class="page-transition" onClick="gotoPageWithTrans4(3)">Our Works</a></li> <li><a href="#contacts" class="page-transition" onClick="gotoPageWithTrans4(4)">Contact Us</a></li> <li><a href="#blog" class="page-transition" onClick="gotoPageWithTrans4(5)">Our Blog</a></li> <li><a href="#feedback" class="page-transition" onClick="gotoPageWithTrans4(6)">Feedback</a></li> </ul>

1 个答案:

答案 0 :(得分:0)

试试这个:

Log In to Admin
Select 'Reading' from 'Settings' menu.
Select  'A static page (select below)' from 'Front page displays' option.
Select any page or post added && save it.

由于