zagnex
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: home.php and the index.php that used to show…It turns out that I just had to use
<?php require('./newspaper/wp-blog-header.php'); ?>on anindex.phppage that was outside of the wordpress directory.I’m so happy it’s working now 🙂
Forum: Fixing WordPress
In reply to: home.php and the index.php that used to show…Maybe someone else could shed some light on my problem?
Forum: Fixing WordPress
In reply to: home.php and the index.php that used to show…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.
Forum: Fixing WordPress
In reply to: home.php and the index.php that used to show…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