How to rename home.php
I have a little problem concerning the home.php
The problem is about the page numbers displayed on the footer.
When I create new posts the old ones automatically move down and once there are 5 posts in the homepage it creates another page.
When I click on the other page number the system remain on the first page and I cannot see the older posts.
I have been told that I am using the blog page template as the homepage. So I have changed the Reading settings to “Your latest Posts”, doing so I can change page but the homepage return to the blog layout and it is completely different from the current layout that I want.
If I want to keep the current layout I should rename the home.php as far as I know WordPress has a built in Editor, but it only lets you edit files, not create or rename them.
Do you have any idea how could I fix this problem? Is there any plugin that can help me? This is the website concerned: http://www.nonhotv.com/
You can’t simply rename WP pages via the server’s file system. All files are essentially code or templates. All content is stored in the data base. To change a page name, you edit the page and change it’s permalink.
Not sure why you have problems getting to older posts. This is typically a theme issue. I suspect your attempts to get your desired layout has confused your theme. The fact you got a default layout when you changed the reading settings tells me your layout changes were applied to the wrong template.
The correct approach would be to create a child theme which contains modified theme templates. Which brings us back to how to create and rename files. You use FTP. Your host control panel often has some sort of FTP functionality, or you can use a stand alone FTP client like Filezilla. You may need to specify an FTP username and password in your host control panel before a client like Filezilla will work. Other times your normal username and password will work.
Filezilla Security Tip: Never store passwords using filezilla site manager, they are stored as plain text.
- The topic ‘How to rename home.php’ is closed to new replies.