• Hi,

    I’m hoping someone can save my day by letting me know how to use a template for home.php

    I have set my homepage to static, and have set my posts to display on a seperate page called ‘latest news’ I have done this, but wordpress overrides the template for this page, so I need to edit home.php which I read from the docs about ‘reading page’ you cannot edit, it advises to make a page called ‘myhome.php’ and edit this, which I have done and uploaded, but home.php is still being used.

    This would not be a problem, if it was displaying correctly, but I have some issues, with ‘more articles’ and previous articles being listed and displaying wrong, Please see here

    So can anybody help me ? I would be extremely grateful.

    Many thanks,

    tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve got the same problem.
    I’ve created a static home page and, as with all my static pages I do not want the clutter of a sidebar – I want to navigate to the blog part of my site through a horizontal dropdown menu via a button named, with superb originality, “blog”.
    I cannot find anywhere the code to put under href=”…” to give me this – I want the blog section to be like any other blog with the most recent posts running down the page. I tried “index.php” but that only gives my static home page.

    Found the solution In the link on your menu or whatever navigation system you are using put in the following code :

    href = "https://mysite.url/index.php?page=1"

    This seems to give sufficient instructions to WordPress to do the necessary. Anyway it seems to work for the moment !

    Thread Starter tommo77funk

    (@tommo77funk)

    Hi,

    Managed to solve my problem with delicate deleting of elements in home.php.

    Guess we’re both sorted then ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to edit home.php or use myhome.php – problem with posts page :(’ is closed to new replies.