Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter zagnex

    (@zagnex)

    It turns out that I just had to use <?php require('./newspaper/wp-blog-header.php'); ?> on an index.php page that was outside of the wordpress directory.

    I’m so happy it’s working now 🙂

    Thread Starter zagnex

    (@zagnex)

    Maybe someone else could shed some light on my problem?

    Thread Starter zagnex

    (@zagnex)

    WordPress assumes that its own index.php file is going to be called, but because you’ve got a home.php file, your server is actually serving

    yourdomain.com/home.php?page_id=43

    — which is obviously not going to work.

    That’s what I was thinking, but an individual post with the ending “?p=6” does, in fact, work.

    Is there anything I can do to change home.php to something else but still be able to use The Loop to call specific articles?

    Also, I tried changing the permalinks to “Month and Name”, but that messed up my template and the horizontal navigation was put where the logo image should have been.

    Thread Starter zagnex

    (@zagnex)

    I don’t think you understood my first post. I have a “splash page” in the form of home.php. I was hoping that after making home.php, I would still be able to access index.php because index.php has all of my articles. However, home.php seems to have overridden everything that leads to index.php.

    My question is: is there any way I can get back to JUST index.php without deleting home.php?

    Or, it’s because the “blog” page hasn’t been set. Have you created an empty Page and assigned it as the “Posts page” in Settings -> Reading?

    I just tried that, but the page I created (the url ends in “?page_id=43”) is now also linking to home.php

Viewing 4 replies - 1 through 4 (of 4 total)