• Hi everyone,

    I have been trying to fix up custom blog page for almost 2 days but for some reason, things are not working as expected.

    Here is the scenario:

    1. Home Page – home.php – template name – Home Page – it basically displays some custom data using query_posts()

    2. Blog Page – index.php – template name – Blog – it displays blog posts.

    In the admin panel, I created following pages:

    1. Home – Template Home Page assigned
    2. Blog – Template Blog assigned

    Under Settings > Reading, under Front page displays, Front Page is set as Home and Post page as Blog. (Yes, the radio button for A Static Page is selected)

    Okay, now the problem is, on the blog page, instead of taking data from Blog, it takes from Home Page template. I have no idea why it’s happening, I tried several things but I am not able to get it working.

    I have done the same kind of thing on one of my other blogs and it works fine without any issue. (The home page did not have dynamic data)

    I think the problem might be very simple but for some reason, I am not able to figure out what’s wrong…

    Any kind of tip / help is appreciated.

    Thanks & Regards,
    Deep

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am getting the exact same problem, did you ever get a solution?

    fanalejr

    (@fanalejr)

    Hey guys, don’t know if you figured out your problem yet, but you need to get rid of your home.php template page (wordpress uses that in the hierarchy before index in this scenario) – just change the name of it or something – then wordpress will use the standard index.php to run the blog.

    Hope this helps

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with custom blog page’ is closed to new replies.