![]() |
|
How to remove the 'Archive' page? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: How to remove the 'Archive' page? (/thread-10144.html) |
How to remove the 'Archive' page? - egrigson - 2012-07-04 I'd like to remove the Archive page which I think it provided by default. Obviously I can delete the archive.php file in the relevant theme but the menu entry persists. How can I remove the menu entry? Thanks, Ed. How to remove the 'Archive' page? - acrylian - 2012-07-04 You have to remove the link from the theme used, depending on which that is from all theme files. How to remove the 'Archive' page? - egrigson - 2012-07-04 Got it, thanks. For anyone else wondering how to do this (for the zpMasonry theme) I commented out the line referencing archive.php in file inc-menu.php (around line 45 - I've already tinkered with the original) in the 'nav' div element. Ed. How to remove the 'Archive' page? - sedaray - 2013-11-15 I want to do this as well. I'm using a copy of the default theme, found the reference in index.php but don't know where the line starts (I only understand vanilla html, not php) where (and how?) do I comment out, please? How to remove the 'Archive' page? - sedaray - 2013-11-15 I also added a slideshow option, but for some reason a few of the photos don't display in the slideshow. They don't have illegal characters in the name, I can't think of any other reason they wouldn't show. How to remove the 'Archive' page? - fretzl - 2013-11-15 To answer your first question: In
Please start a new topic for your second question. How to remove the 'Archive' page? - sedaray - 2013-11-15 thank you for the reply.
How to remove the 'Archive' page? - fretzl - 2013-11-15 Something is preventing you from editing the files on the back end. Edit the files on your desktop and upload them to your theme folder using FTP. The pipe(|) should also be removed. |