Thesis: Custom 404 Page


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /*--------------------------------------------------*/
  2. /* Custom 404 Page */
  3. /*--------------------------------------------------*/
  4.  
  5. function custom_thesis_404_title() {
  6. ?>
  7. Seite nicht gefunden
  8. <?
  9. }
  10. remove_action('thesis_hook_404_title', 'thesis_404_title');
  11. add_action('thesis_hook_404_title', 'custom_thesis_404_title');
  12. function custom_thesis_404_content() {
  13. ?>
  14. <p>&nbsp;</p>
  15. <p>Text</p>
  16. <?
  17. }
  18. remove_action('thesis_hook_404_content', 'thesis_404_content');
  19. add_action('thesis_hook_404_content', 'custom_thesis_404_content');
  20.  
  21. remove_action('thesis_hook_custom_template','thesis_custom_template_sample');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.