1.在template.php中添加函數phptemplate_show_frontpage():
2.在自定義themes目錄下創建page-front.tpl.php文件:拷貝page.tpl.php到page-front.tpl.php,將:
替換成:
1.在template.php中添加函數phptemplate_show_frontpage():
2.在自定義themes目錄下創建page-front.tpl.php文件:拷貝page.tpl.php到page-front.tpl.php,將:
替換成: