Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] 404 error custom (http://forum.bytesforall.com/showthread.php?t=16032)

Jerry Nov 19, 2011 08:05 PM

[SOLVED] 404 error custom
 
Hi,
I found the 'sorry that page isn't here' in the theme and thought I would add a link to my archives page, but when I put the link in I get an error message site wide.

Is there a way to do this?

Thanks for your help :)

juggledad Nov 20, 2011 04:10 AM

What version of Atahualpa and WP?
What did you do and where did you do it?

Jerry Nov 22, 2011 09:20 PM

Hi, juggledad

It's version: 3.2.1

I went to index.php and changed the wording that appears on the 404 error page

I tried to add a hyperlink but that seemed to bring up an error message, I'm not always
sure what to do with those :)

Anyways thanks for sharing your knowledge with me

lmilesw Nov 22, 2011 10:20 PM

If you want to create you own 404 page you can copy the 404.php from the Twenty Eleven theme and put it in the Atahualpa folder. Then modify it as you wish. There are also plugins that will help you with this as well.

juggledad Nov 23, 2011 05:24 AM

edit index.php and change line 54 from
HTML Code:

<p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?></p>
to
HTML Code:

<p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?><a href='http://yourdomain.com/'>press here to go home</a></p>

Jerry Nov 23, 2011 10:01 AM

Thanks juggledad
That did the trick


All times are GMT -6. The time now is 09:10 AM.

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