Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Where is 404.php?


  #1  
Old May 6, 2015, 12:37 PM
jms5017's Avatar
jms5017
 
115 posts · Jul 2010
NY/NJ Metro area
[SOLVED] Where is 404.php?

Every page on my site uses a custom template that has the menu in the left sidebar. However, if a 404 error is encountered, the 404 page is displayed using template format that looks messy.
Referring to this post
http://forum.bytesforall.com/showthr...found+template
I understand that I can just save my preferred layout as a '404.php" HOWEVER, I am afraid to do this without first looking at what is in the 404.php file and then saving it so that if I screw up, I can revert back to it. I realize a site backup solves the second part (the reverting back when I screw up) but I'd sure like to have a look at the working 404.php file so I know what needs to be in it...
Where the heck is the file?
  #2  
Old May 6, 2015, 03:06 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Quote:
Every page on my site uses a custom template that has the menu in the left sidebar.
do mean a virtual template or a physical template?

go to MTO->Main Template->Add Main Template
- name the template 404 and make it a copy of the 'index.php' template
- style it as you like.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 7, 2015, 06:04 AM
jms5017's Avatar
jms5017
 
115 posts · Jul 2010
NY/NJ Metro area
Thanks Juggledad - I guess its a virtual template, which I named left-sidebar..
Instead of starting with index.php I made a copy of left-sidebar, which already had most of the styling I want on the 404 page. I then tweaked the template a bit and all is well. Amazing theme!

Bookmarks




All times are GMT -6. The time now is 06:20 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.