Posted By

psteinweber on 04/28/11


Tagged

page wordpress thesis 404


Versions (?)

Thesis: Custom 404 Page


 / Published in: PHP
 

  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  

You need to login to post a comment.