Codex tools: Log in
Languages: English • 日本語 • Português do Brasil • (Add your language)
Contents |
By default, WordPress shows your most recent Posts on the front page of your site. But many WordPress users want to have a static front page or splash page as the front page instead. This "static front page" look is common for those who wish to not have a "blog" look to their site, giving it a more CMS (content management system) feel.
When you create a static front page for your site, you must also create a way for WordPress to show your most recent posts in a "virtual directory" called blog
, news
, or whatever else you choose to call it. This is true whether or not you are actually using Posts in WordPress.
Unlike a traditional WordPress "blog" front page, featuring the The WordPress Loop, which generates a list of your most recent posts, the static front page is a customized Page that displays static content. It can be customized to direct people to featured content, or highlight posts, articles, categories, or contributors.
Creating a virtual static front page does not require editing or coding of files or templates. Using the default configuration for a "static front page" in WordPress does not remove the sidebar or change the look of the entire site, just the content area.
To create the static front page, go to the WordPress Administration Panels.
/index.php?p=423
defeats the purpose of making a static front page.
While we are calling this a "static front page," you can change the content on that web page at any time by editing the Page.
Not all WordPress Themes will easily convert to a static front page. Here are some troubleshooting tips to ensure the WordPress Theme you choose will work.
Some themes have a top navigation bar containing links to Pages. By default most themes set "Home" as a link to the home page - in this case the static front page. Since you have created a separate page with the title "Home", there is a likelihood of having two "Home" links in your menu.
To remedy this, edit the appropriate template file featuring the code of the navigation bar with the template tag wp_list_pages
. In 99.9% of WordPress themes, this is the header.php file. Set the parameters to change the link title. In some cases, commenting (disabling) or removing the the line in the theme's code that displays the 'Home' link will do the trick.