I have WordPress installed on my server and it all works fine.
If I go to my index.php it displays all my blogs as expected.
I am trying to pull my blogs into a different php page with little luck.
I have been researching this for some time now. I have read i a lot of placed that is you make it WordPress ready and add the loop it should work.
i add require(‘wp-blog-header.php’); – this works.
however the loop cannot find any of my posts.
If i past exactly the same code into index.php it works.
So as soon as the file name is changes it can not find my posts.
Any help on this would be hugely appreciated!
- The topic ‘renaming index.php’ is closed to new replies.