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 » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

custom 404: Dunstan-style Error Page Plugin


  #1  
Old Apr 1, 2009, 03:30 AM
twincascos
 
3 posts · Apr 2009
Instructions for use of the Dunstan-style Error Page plugin is to replace
the content of the theme 404 file with:
PHP Code:
<?php afdn_error_page(); ?>
Any suggestions of where I might make the function call from inside of the Atahualpa theme files.
I see there is no 404 file, so maybe it could go in index, or functions.

Thanx for your time.
  #2  
Old Apr 1, 2009, 04:36 AM
twincascos
 
3 posts · Apr 2009
Found the answer:
edit index.php end of file has:
PHP Code:
<h2><?php _e('Not Found','atahualpa'); ?></h2>
    <p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?></p>
replace with:
PHP Code:
<?php if ( is_404() ) {
    if (
function_exists('afdn_error_page')) afdn_error_page();
    } 
?> 
<?php endif; ?>
I highly recommend this plugin, improves 404 responce 1,000%
  #3  
Old Dec 7, 2010, 03:13 AM
mathur.rajeev
 
6 posts · Nov 2010
I am using wordpress 3.0.2 and it not working??

Any Idea?
  #4  
Old Dec 20, 2010, 09:26 AM
kjetil
 
45 posts · Jul 2009
Oslo - Norway
Send a message via Skype™ to kjetil
More precisely, you should do as commented in the index.php file:
"This can be edited at Atahualpa Theme Options -> Style & edit the Center column" - at the very bottom.
I would think that inserting ones own text here would be the best option for most of us.
Eventually - maybe this plugin could help? (Haven't tried it myself)
__________________
Kjetil
- Dolcevita.no

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to customize 404 error page? wfzimmerman Atahualpa 3 Wordpress theme 21 Oct 2, 2016 07:50 PM
Custom 404 page paulae Atahualpa 3 Wordpress theme 15 Jul 5, 2011 05:42 AM
[SOLVED] Permalink or 404 error - page not displaying correctly woolef Atahualpa 3 Wordpress theme 19 Apr 4, 2010 03:08 PM
404 error seneque Atahualpa 3 Wordpress theme 1 Apr 11, 2009 11:20 PM
[SOLVED] 404 error with wp-print and wp-email Alexi Plugins & Atahualpa 8 Dec 28, 2008 01:38 AM


All times are GMT -6. The time now is 04:58 AM.


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