Wordpress theme with front page and index at the same time? -


when using wordpress' front-page.php file on theme, supposing site hosted @ http://example.com/, initial page (get /) retrieve contents. doing that, link index.php lists latest posts categories?

i expected get /posts or take me index.php, doesn't :(

can me?

in wp admin panel, under settings -> read, can specify "home page" , "posts page" (by picking them dropdown of pages on site). whatever specify "home page" take front-page.php template (if exists, otherwise revert default page.php template), , whatever specify 'posts' page considered 'posts feed' expect on homepage , use index.php template if no home.php template exists.

the template hierarchy flexible enough can manage stuff in whatever way want - see codex details http://codex.wordpress.org/template_hierarchy


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -