Support » Fixing WordPress » Copying home.php to Static front page

  • Do you guys know what code is not letting my static front page be an exact copy of my home.php? I copied the code straight out of the home.php file and pasted it into the page template file I made for the static front page. They look ALMOST identical except that the slider doesn’t display the posts with the same formatting as the home.php post page does.

    Any ideas?

    I there something I need to change to make it identical to the post page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Why not duplicate the home.php files as front-page.php ? That should obviate the need for the static home page.

    Thread Starter zakkleifeste1

    (@zakkleifeste1)

    My template doesn’t have a front-page.php. Should I just make one named that? Sorry if I sound dumb lol. When it comes to WordPress I pretty much just copy, paste, and pray 😉

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Nah it’s okay 🙂

    Get rid of the template and undo the static front page.

    Make a copy of home.php without ANY changes, and name that file front-page.php – See if that works?

    Thread Starter zakkleifeste1

    (@zakkleifeste1)

    Also, if I did that will it give me the option of showing my posts on a separate blog page?

    Thread Starter zakkleifeste1

    (@zakkleifeste1)

    Yeah I tried it, but it seems like it would be complicated to make posts page after that.

    But after looking at it the ONLY thing that is different between the posts page and the static front page is the post formatting, yet they have the same code? When you assign a page to be a post page in wordpress does it go grab some html or css code from somewhere and not do it for the static front page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Copying home.php to Static front page’ is closed to new replies.