• Resolved seoirse

    (@seoirse)


    Hi….I’m not sure if what I want to do is possible with the Spotless theme, but I would like to try. My photo blog is at https://www.coppercoastworkshops.com/minimalistics/

    In the header menu there are three pages listed – archive, about and RSS feed – and I would like to add two new static pages. I’ve tried to publish a new page, but it doesn’t produce a link from the header menu and I can’ find it anywhere.

    I’ve also tried to add a page as child from the “about” page, but can’t find any evidence of it being there either.

    Apart from a reference on the forum to Widget enabling the theme, which I don’t think is applicable, I see anything else. Can anyone advise – even if it’s just to be told that it can’t be done!

    Many thanks….Seoirse

Viewing 2 replies - 1 through 2 (of 2 total)
  • hello again…

    I just downloaded that theme. It does not automatically add new pages to the Nav. You have to add them manually.

    The code is in header.php and looks like this.
    <a href="<?php bloginfo('url'); ?>/about" title="about">about</a> &middot; <a href="<?php bloginfo('url'); ?>/archive" title="archive">archive</a> &middot; <a title="SUSCRIBE" href="<?php bloginfo('rss2_url'); ?>">rss</a>

    If you want to add a new page called “gallery” in between archive and rss, the new page would look like this
    <a href="<?php bloginfo('url'); ?>/gallery" title="gallery">gallery</a> &middot;

    and the whole thing would look like this
    <a href="<?php bloginfo('url'); ?>/about" title="about">about</a> &middot; <a href="<?php bloginfo('url'); ?>/archive" title="archive">archive</a> &middot; <a href="<?php bloginfo('url'); ?>/gallery" title="gallery">gallery</a> &middot; <a title="SUSCRIBE" href="<?php bloginfo('rss2_url'); ?>">rss</a>

    You just repeat that new line for each page you want to add, substituting the page slug for gallery.

    Thread Starter seoirse

    (@seoirse)

    Hi St

    Spot on again. The extra page is added and I’m very pleased with the result. Thanks again for your help it’s been invaluable.

    Best Wishes

    Seoirse

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding a static page to the Spotless theme’ is closed to new replies.