• Resolved truthlighthouse

    (@truthlighthouse)


    Hello,

    I am having trouble locating my archives so that I can create a page link at the top of my website for people to go to it. I know that I can add

    <?php
    /*
    Template Name: Archive page
    */
    ?>

    to the top of archive.php to create a page template. However when I do that, “Archive page” now shows up as an option in the drop down but when I create the page, nothing is shown but the title. I found an entire code for the archive.php so I attempted to just paste the entire code over the existing code but all that did was create an archive page successfully but did not match my theme. I do know that an archive page is being created within the confines of my template since I located this link:

    http://www.truthlighthouse.com/2010/10/

    but I cannot create a page called Archives (or something similar) and have that page call up the information (without simply pasting a link which would get tedious because I would have to do it for each month).

    Anyone have any ideas on how to get archive.php to show up if I create a page and still be within the confines of my template?

    Thanks so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter truthlighthouse

    (@truthlighthouse)

    Also, I am confident this is a theme issue since when I switch back to another theme, the archive section is there and visible. But as soon as I switch to my desired theme, it is not available.

    P.S. I know virtually no code in PHP so any help using layman’s terms would be greatly appreciated.

    Thanks again!

    Thread Starter truthlighthouse

    (@truthlighthouse)

    Sorry for this latest bit I just discovered. It will show up as a widget on my sidebar if I want it to. So it is pulling it that way. But my ultimate desire is to not have it as a widget and instead listed as a page.

    Thread Starter truthlighthouse

    (@truthlighthouse)

    I fixed it. It was probably the longer way around but I created an archive1.php and when people loaded that page template, the archives would point to the original archive.php so it remained true to the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot find Archive page’ is closed to new replies.