• Hi,
    I am looking to duplicate my static homepage and use it on other pages but have different wording.
    I Have been trying to do this for hours now and have not been able to achive this.

    My website is https://compufixsolutions.co.uk
    where the paragraph of text is will be different per page.

    if someone can help me achive this i will be very greatful.

Viewing 1 replies (of 1 total)
  • jack randall

    (@theotherlebowski)

    duplicate your theme’s page.php file, move the duplicate over to your child theme (hopefully you’re using a child theme… if not, take a moment or two before doing anything else to learn about them and set one up).

    rename the duplicated page.php file to something you need it to reflect in terms of content like page-football.php

    in this file add Template Name: Football (for example!) in the commented out section at the top:

    /**
    Template Name: Football
    **/

    Next create a new page in the wordpress dashboard and call it Football. before you publish it you should see a section where you can select the template for this page; click on the drop down and select your new Football Template and publish it.

    now depending on where you entered the text in the original homepage page (i guess in the text editor) you can enter your new text in this Football page and then it should show up as looking and feeling the same with different text.

    hopefully that makes sense ??

Viewing 1 replies (of 1 total)
  • The topic ‘Dulicating static home page with different content’ is closed to new replies.