Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Where is 404.php?


  #1  
Old May 6, 2015, 01:37 PM
jms5017's Avatar
jms5017
 
112 posts · Jul 2010
NY/NJ Metro area
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, 04:06 PM
juggledad's Avatar
juggledad
 
23,571 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, 07:04 AM
jms5017's Avatar
jms5017
 
112 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!

All times are GMT -6. The time now is 11:07 PM.


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