Member
Member
egrigson   2012-07-04, 17:54
#1

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.

Administrator
Administrator
acrylian   2012-07-04, 17:59
#2

You have to remove the link from the theme used, depending on which that is from all theme files.

Member
Member
egrigson   2012-07-04, 18:31
#3

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.

Member
Member
sedaray   2013-11-15, 03:16
#4

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?

Member
Member
sedaray   2013-11-15, 03:33
#5

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.
Aha - the photos with information to be displayed (there is a link only on these photos) will not display in the slideshow.
And the titles are white on white, or black on black in other settings - I'm dumping the slideshow.
Any other plugins available?

Administrator
Administrator
fretzl   2013-11-15, 06:59
#6

To answer your first question:

In index.php, album.php, image.php, search.php and password.php find and remove this line:

|

Please start a new topic for your second question.
Things get mixed up and incomprehensible otherwise.

Member
Member
sedaray   2013-11-15, 10:43
#7

thank you for the reply.
I guessed this and tried it but when I update the file I get an error message: I wonder if the pipe ( | ) should stay?

Not Acceptable
An appropriate representation of the requested resource /gallery/zp-core/admin-themes-editor.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Administrator
Administrator
fretzl   2013-11-15, 15:43
#8

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.