Timeline for custom home page and custom index page?
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 18, 2020 at 14:11 | comment | added | Tony Djukic | Not a lot of code to go on here and also 'doesn't work' isn't really an informative explanation... ...what happens instead? | |
Dec 18, 2020 at 11:33 | comment | added | Heisenberg |
@TomJNowell Doesn't work. I put custom code for homepage in front-page.php than put regular while loop in index.php and home.php pages but still http://example.com/page/11 load front-page.php style and code.
|
|
Dec 18, 2020 at 11:23 | comment | added | Tom J Nowell♦ |
front-page.php is for the immediate homepage, rather than the pagination, so put the contents of home.php into front-page.php , then put the contents of index.php in home.php
|
|
Dec 18, 2020 at 11:15 | history | edited | Heisenberg | CC BY-SA 4.0 |
added 56 characters in body
|
Dec 18, 2020 at 11:14 | comment | added | Heisenberg | @tom-j-nowell I try front-page.php and it doesn't work too. | |
Dec 18, 2020 at 11:03 | comment | added | Tom J Nowell♦ |
front-page.php is probably what you want ( is there a hyphen in the middle of the filename? )
|
|
Dec 18, 2020 at 10:53 | comment | added | Heisenberg | @kero I edit question, I mean home.php | |
Dec 18, 2020 at 10:52 | history | edited | Heisenberg | CC BY-SA 4.0 |
deleted 8 characters in body
|
Dec 18, 2020 at 10:37 | comment | added | kero | homepage.php does not exist in the WP hierarchy, how are you linking it? Did you try front-page.php instead? | |
Dec 18, 2020 at 10:16 | review | First posts | |||
Dec 18, 2020 at 13:35 | |||||
Dec 18, 2020 at 10:08 | history | asked | Heisenberg | CC BY-SA 4.0 |