Created
September 20, 2008 14:33
-
-
Save beastaugh/11755 to your computer and use it in GitHub Desktop.
Change Tarski's error 404 page content.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Custom 404 Content | |
Plugin URI: http://tarskitheme.com/ | |
Description: Change Tarski's error 404 page content. | |
Author: Benedict Eastaugh | |
Version: 1.0 | |
Author URI: http://extralogical.net/ | |
*/ | |
function my_404_content() { | |
return "Change this string to your custom error message."; | |
} | |
add_filter('th_404_content', 'my_404_content'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment