• Resolved New_WP

    (@baxter89)


    Good morning,
    I created a “contact” page through the editor and using a custom template. However, when I go to the “header template element” section to add my “contact” page to the menu, it does not appear in the list.
    Also, I couldn’t find how to display the “archive” page in the menu.

    https://snipboard.io/yCLTjz.jpg

    it offers me to create or add a link for the Contact page

    Should I create a contact and blog page in the Pages section and go to settings and activate the static page?

    Thank you for your help.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator jordesign

    (@jordesign)

    Hi @baxter89

    Good morning,
    I created a “contact” page through the editor and using a custom template. However, when I go to the “header template element” section to add my “contact” page to the menu, it does not appear in the list.
    Also, I couldn’t find how to display the “archive” page in the menu.

    https://snipboard.io/yCLTjz.jpg

    it offers me to create or add a link for the Contact page

    Should I create a contact and blog page in the Pages section and go to settings and activate the static page?

    It sounds as though you’ve added all your ‘Contact’ contact to a template within the site. Those templates can be used to decide the overall structure and layout and then be applied to specific pages in the site. However, they cannot be linked to directly as a location visitors can access.

    In order to have a link to the Contact content in your header/menu – you’ll need to have an actual ‘Contact’ page set up.

    You’ll be able to go to Pages > Add New and call that page ‘Contact’. The next step would be to apply the Contact template you created to that page. You”ll see the option to change that in the Settings sidebar on the right.

    Once you’ve set up that page to use the template – you’ll be able to add it to your top menu. Could you please give that a try and let me know how you go?

    Thread Starter New_WP

    (@baxter89)

    Good morning,

    Thank you, it works well for the contact page. I wanted to do the same for the archive page, but it doesn’t work. If I activate the “static page” in the settings and declare “Articles page: Blog”, it opens the home page for me. If I don’t enable the “static page” in the settings, I can’t assign the archive page in the page template because it doesn’t appear.

    How can I access the blog in the menu?

    THANKS.

    Moderator Kathryn Presner

    (@zoonini)

    Hi @baxter89 – it depends, do you want your blog to be on the homepage, or on a separate page within your site?

    If you want it to be on the homepage, then choose the Custom Link block and add a manual link to your homepage, or simply a slash /

    If you want it to be on another page:

    • Create the new page at Pages > Add New
    • In Settings > Reading, assign this new page as your blog page, and select your homepage as the static front page.
    • In your Navigation block, add the new blog page you just created

    Let me know how it goes.

    Thread Starter New_WP

    (@baxter89)

    I used the second method because I don’t want any articles on the homepage.
    I created in the Pages section: Home and Blog
    In settings and reading: I have static layout: Home and Blog
    In the site editor I added in the header, the Blog link in the menu.
    When you go to the site and click on Blog in the menu it displays the home page of the site editor?
    Normally it should open the archive page that corresponds to the articles?

    https://snipboard.io/JzViYD.jpg

    https://snipboard.io/pNbrHo.jpg

    https://snipboard.io/txbwLD.jpg

    https://snipboard.io/PaKjVz.jpg

    https://snipboard.io/3gmwU7.jpg

    Moderator Kathryn Presner

    (@zoonini)

    Normally it should open the archive page that corresponds to the articles?

    I know this can be very confusing because of the way it’s named, but the blog page that you assign in Settings > Reading uses the Home template (Accueil), not the Archive template.

    If you visit the templates area, you’ll see this explanation for the Home template:

    Displays the latest posts as either the site homepage or a custom page defined under reading settings. If it exists, the Front Page template overrides this template when posts are shown on the front page.

    So to edit the display of your blog page, you’d edit the Home template.

    The Archive template is used to drive the display of category, date, and other archive pages.

    Thread Starter New_WP

    (@baxter89)

    Thank you for your answers

    Moderator Kathryn Presner

    (@zoonini)

    You’re very welcome.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Menu’ is closed to new replies.