/* Custom 404 Hooks */
function custom_thesis_404_title() {
?>
Oops, looks like you found one of our mistakes. We're sorry!
<ol>
0) {
?>
<li>Were you looking for <strong>one of the following</strong> posts or pages?
<ul>
<li><a href="ID); ?>">post_title; ?></a></li>
</ul>
If not, don't worry, here are a few more options:</li>
<li><strong>If you typed in an address…</strong> make sure the spelling, case, and punctuation are correct. Then try reloading the page.</li>
<li><strong>Look</strong> for it in the <a href="http://code.garyjones.co.uk/sitemap/">sitemap.</a></li>
<li><strong>Start over again</strong> at the <a href="/">homepage</a> (and please contact me to say what went wrong, so I can fix it).</li>
</ol>
<?php
remove_action('thesis_hook_after_content', 'thesis_post_navigation');
}
remove_action('thesis_hook_404_content', 'thesis_404_content');
add_action('thesis_hook_404_content', 'custom_thesis_404_content');
Custom 404 (Page Not Found) for Thesis
2010-02-25 By Leave a Comment
Sidebars Class for Thesis
2010-02-24 By 38 Comments
Adding new sidebars (widget areas) can sometimes be a bit of a pain with the Thesis theme, so this class not only adds the concept of sidebar sets, but also makes adding them require just two lines of code per set.
Set up
- Create a new folder inside the Thesis
custom/folder calledclasses - Copy the following to a blank file and save it to
custom/classes/GT_Sidebars.php: