Thesis Custom 404 Code

by Mark Vernik

Post image for Thesis Custom 404 Code

There is a time the “G’narly Dude” custom 404 in Thesis just doesn’t fit your image. So you want to change it. BUT HOW?

No worries. Here is the code. As always I keep code I use and so I can always find it quickly I post it here. Please feel free to add in the comments your own creative slants. Love learning from readers.

/* Custom 404 Hooks */

function custom_thesis_404_title() {

?>

The Link You Are Looking For Has Been Moved

<? }

remove_action('thesis_hook_404_title', 'thesis_404_title');

add_action('thesis_hook_404_title', 'custom_thesis_404_title');

function custom_thesis_404_content() {

?>

<p>Perhaps You Can Try HereClick here.</p>

<? }

remove_action('thesis_hook_404_content', 'thesis_404_content');

add_action('thesis_hook_404_content', 'custom_thesis_404_content');

Leave a Comment

Previous post:

Next post: