Well a good place to start might be to provide a link to the code (template code), so people here can spot any errors that may exist.
Please paste code into a pastebin and report the link back here.
http://wordpress.pastebin.ca/
or
http://wordpress.pastebin.com
Thank you,
It’s the default loop to display posts, I’m just trying to create a blog page since I’ve already created my static front page.
The code is at : http://wordpress.pastebin.ca/1668414
I don’t believe you should have space before the opening PHP tag, remove the additional space and see if the page then loads, if not i’ll take a further look.
Thank you for your help T3…
I solved the issue – In the “reading” area of WP-Admin I selected my static page, but then I also selected the Posts page and set it to the page that I wanted my blog to display on, because I thought that’s what this was reserved for (what does the posts selection actually do??).
Anyhow, I deselected the Posts page and now my custom templates work fine.
Now my new issue is that I have no idea what that Posts selector/drop down is for? 🙂
Aaron
The posts page setting in the admin, is so you can have your posts display on a page (they’d not necessarily be on a page usually).
So lets say you create a page (not a post) called fruit, the URL is yoursite.com/fruit, you also select this page as you post page.
Now in order to view posts, you’d view yoursite.com/fruit …
This option is usually used in conjunction with the front page option.
Page templates however, are as the name suggests, a template you can attach to a page, whether that’s to display a red banner, a green dot, or any realistic item you might have, it’s simply a means to make particular pages use a unique template (for example you could exclude the header and footer).
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
I also tried to set a separate page as the blog in settings | reading. When it failed to format correctly I realised that the CSS pointed to an ID that does not appear in the blog version of the page!
Seemed easier to write a custom page rather than risk messing up by trying to revise the default page to work, then found out it was not using my new page. Problem solved thanks to this post. Guess this thread can be changed to resolved.
Cheers