[Resolved] Front page display, static/posts page
I’ve used WordPress in the past, but this is the fist time I’ve sat down to use it as a CMS — also the first time I’ve successfully been able to get my site’s theme to play nice with WordPress!
Anyway, my problem is that I’m using the “Front page displays” option in Options > Reading, with a page template as the front page (called ‘Home’), and another page template as the posts page (called ‘Posts’). The ‘Home’ page template contains the code to display posts; so I’ve created a page in WordPress with the text for the Home page that I want, and given it the template ‘Home’.
Then, I created a (blank) page in WordPress and gave it a template with the code from ‘index.php’ (from Kubrick’s theme folder) which displays all blog posts one after another.
Then I made some blog posts, which are to be shown on the ‘Posts’ page.
But when I go to the ‘Posts’ page in the site, the blog posts are shown, but with the template of the main page (‘Home’). I know this because there are some obvious differences in these two templates. This is wrong…why does the ‘Posts’ page, which is assigned a separate template, use the ‘Home’ template? It should use the ‘Posts’ template, which has a different structure…
I have no idea why this happens. I haven’t messed up the template names, I’ve double-checked. What could it be?
Help would be extremely appreciated!
Thanks very much in advance,
P.S. the site is currently on localhost, so there’s no link to give you guys.
- The topic ‘[Resolved] Front page display, static/posts page’ is closed to new replies.