• Ok so I wanted my homepage to be static so I changed the reading settings. This worked fine and I wanted a new page called ‘blog’ to be my new posts page. I created the template and it was looking fine but then I changed the ‘posts page’ to ‘blog’ in the reading settings. When i now visit the ‘blog’ page it actually displays the homepage. I am relatively new to WordPress and I can’t figure out why it would do this.

Viewing 12 replies - 1 through 12 (of 12 total)
  • # If you will not be using WordPress’ blogging functionality, you can skip the second page; otherwise, title it “Blog” (or you could call it “News”, “Articles”, etc.). This page will be a place-holder for showing the Posts on your site.

    1. Do not use a custom Page template for this page!
    2. DO NOT add content to the Blog Page. Leave it blank. Any content here will be ignored — only the Title is used.
    3. Publish the Page.

    reference
    http://codex.wordpress.org/Creating_a_Static_Front_Page

    Thread Starter samq@labelmedia.co.uk

    (@samqlabelmediacouk)

    Hi thanks for the comment but it still didn’t work. I kind of need it to work with my custom template to. It’s weird, when I preview the page it displays correctly but when i go to the page itself it displays the homepage.

    will not work with a custom template

    Thread Starter samq@labelmedia.co.uk

    (@samqlabelmediacouk)

    So if a blog isn’t on the homepage of your site you cant customize the appearance of it?

    So I can’t have a blog in the style of the rest of my site if it isn’t on the homepage?

    I don’t understand the question.
    how would it not be in the style of the rest of your site?
    can you supply a link to what you’re talking about?

    Thread Starter samq@labelmedia.co.uk

    (@samqlabelmediacouk)

    Hi, sorry that might have sounded confusing, I’m a little confused myself. I have disabled the ‘posts page’ function in reading settings so you can actually see the blog page.

    http://www.pelicanfly.co.uk/blog

    Thanks very much for you help.

    If you use a static Page as your site’s Front Page, and a static Page for your site’s blog posts, if you want to modify the markup of the Page for your blog posts, use the template file home.php.

    Thread Starter samq@labelmedia.co.uk

    (@samqlabelmediacouk)

    Is it possible to move the static pages from wordpress and place them in the route of my hosting? Thus keeping the home.php (blog) in wordpress and linking to it from my navigation? Or would home.php always load upon arrival to the site?

    Is it possible to move the static pages from wordpress and place them in the route of my hosting? Thus keeping the home.php (blog) in wordpress and linking to it from my navigation? Or would home.php always load upon arrival to the site?

    I think you’re fundamentally misunderstanding how the WordPress templating system works.

    If you “move” the static Pages outside of WordPress, they’re no longer part of WordPress. Of course, you can do that, but WordPress will no longer know about them, or be able to interact with them.

    Thread Starter samq@labelmedia.co.uk

    (@samqlabelmediacouk)

    I think you’re fundamentally misunderstanding how the WordPress templating system works.

    Theres every chance.

    To be honest there is very little interaction between them anyways. Initially I wanted to use WordPress as a CMS and a blogging platform. But if that is only possible by changing the structure of my site I’d rather keep the two functions separate. And plus it is almost as quick for me to edit and upload content in my static pages from coda as it is to go into wordpress and edit them in the html view which is what I would use.

    Does this make sense?

    To be honest there is very little interaction between them anyways. Initially I wanted to use WordPress as a CMS and a blogging platform. But if that is only possible by changing the structure of my site I’d rather keep the two functions separate. And plus it is almost as quick for me to edit and upload content in my static pages from coda as it is to go into wordpress and edit them in the html view which is what I would use.
    Does this make sense?

    Well, if you want to use WordPress as a CMS – that is, as the system to manage your content, then yes, you’ll have to restructure a bit. WordPress can only know about content that is in its database.

    Really, it’s all a matter of what works best for you.

    I took that route (WordPress only for my blog posts, and static HTML for everything else) for several years, before porting all of my static HTML content into WordPress. It took a while to port, but once done, I am so glad that I did, and I would never go back.

    Thread Starter samq@labelmedia.co.uk

    (@samqlabelmediacouk)

    Thanks very much for advice, lots to consider

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Changing the posts-page: loads the wrong page’ is closed to new replies.