• The question front page vs. post page is driving me crazy.

    In the twenty wordpress full editor in the twenty-three theme, I created the front page and set the Blog page as the post-page and the Home page as the home-page. Now I would like to understand how to modify the template of the home-page (the landing page) without modifying the template of the post-page and vice versa.

    Is it enough to create the front page in the full editor and indicate two static pages as home-page and post-page or have I missed something?

    • This topic was modified 1 year, 9 months ago by aailweb.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hasan

    (@hasanaytac)

    Hello, you need to design these pages independently of each other. If you use a template or a reusable template in the design, when you change something, everything on both pages changes.

    Thread Starter aailweb

    (@aailweb)

    Can you give me some advice? Even just an article or a post where it is explained how to solve in the best way my issue?

    Hi!
    This is indeed confusing.

    If you go to the WordPress admin > Pages, do you have a page called
    Blog with the text —?Posts Page after it?
    To edit the template for this page, go to WordPress admin > Appearance > Editor > Templates and make changes to the Home template.

    (This is because when WordPress was created, it was a blogging tool and the home was always the page where the posts were shown. We are stuck with it because nobody has been able to figure out how to solve it).

    If you go to the WordPress admin > Pages, do you have a page called Home with the text —?Front Page after it?

    If the answer is yes, you have two ways to edit the template for this page.
    Option one:
    Go to Editor > Templates. Look for a template called Front Page. If this template does not exist, create it from the + button “Add new template”.

    Option two, create a new custom template:
    Open this Home page in the block editor.
    Open the document sidebar and look for the Summary panel at the top.
    Look for the text that says Template, and click the link after it:
    This opens a new panel where there is an icon that you can click to add a new template.
    Create the new template and choose a name for it. Make your design changes and save.


    Thread Starter aailweb

    (@aailweb)

    Hi Carolina, many thanks for your kind, precise and detailed explanation.

    I made a test in a local WordPress sandbox instance created (with Local) for this purpose only:

    • I’ve created two static pages: “Home” and “Blog”.
    • In Settings > Reading > Your homepage displays: I’ve set A static page with Homepage: = “Home” and Posts page: = “Blog”.
    • Then I went to the full theme Editor > Templates > Add new and I created the Front Page template.

    The problem I’m suffering is: if I edit the Front Page template it also affects the Blog page. In other words: if I go to the URL of the Blog Page (domain-name.local/blog) I see the same template of the home (landing) page (domain-name.local).

    And this is is making me crazy.

    • This reply was modified 1 year, 9 months ago by aailweb.
    • This reply was modified 1 year, 9 months ago by aailweb.

    I am not able to reproduce this when I try the same.
    What are your permalink settings set to? Try setting them to post name.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Front page vs. post page is driving me crazy’ is closed to new replies.