• New here, not much programming experience…
    I want to have an archive page that shows a list of posts by title only, so I implented the nicer archives php I found here last night. Now I want to make the nicer archives look more like the blog page, so I did some substitution from the index.php to the archives.php so it would use the same stylesheet. I still need some help.
    Here is my main blog page:
    https://www.chiricahuanaturalist.net/wordpress/
    Here is my archives page:
    https://www.chiricahuanaturalist.net/wordpress/archives.php
    I have stared at the php code on archives.php but cannot find how to make the page look the same, that is, put the archive links in the white part… Thanks for all help!
    ps, edited to add I did just look at it from firefox and safari, and the links are in the white part but the menu is still at the bottom, and the links and dates need styles applied to make them fit in. In IE however, the links are in the dark green and practically illegible as a result. I guess I need help in adding the existing styles to this archives page without breaking the php stuff. thanks again…

Viewing 3 replies - 1 through 3 (of 3 total)
  • 1) you can use something generic, such as:
    https://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/
    2) you can access the archives post by manipulating your .htacess file.
    3) the MtViewVirus code (which I use) doesn’t replace anything within the primary index.php file. It uses an entirely separate file. You call it by editing the .htaccess file.

    Thread Starter mparmer

    (@mparmer)

    Thanks for your suggestions – sorry I don’t know how to quote a post in this forum, but jumbo wrote:
    ======quote=====
    3) the MtViewVirus code (which I use) doesn’t replace anything within the primary index.php file. It uses an entirely separate file. You call it by editing the .htaccess file.
    ====end quote=====
    Maybe I misspoke, but the instructions include the following
    =====quote======
    Now, create a copy of your index.php file and rename it to arch.php. This will help to preserve the look of your menu, header, footer, etc.
    We need to make a few edits…
    Add this line above the line $blog=1; at the top of the file.
    $posts_per_page = ‘-1’;
    ====end quote=====
    I did not find the line $blog=1; anywhere in the index.php file which is copied to make the arch.php file,so I have not figured out where to add the line.
    I’m still struggling with the archives issue – thanks again for your help.

    I’m also current;y having trouble with nicer archives ause they only show the number of posts that I specified to appear in themain blog can anyone help me get all the stuff to show

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nicer Archives Help’ is closed to new replies.