Title: [Plugin: Useful 404&#8217;s] Exact code to insert
Last modified: August 19, 2016

---

# [Plugin: Useful 404’s] Exact code to insert

 *  [Kjetil](https://wordpress.org/support/users/kjetilgf/)
 * (@kjetilgf)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-useful-404s-exact-code-to-insert/)
 * Looks nice – but to make it work:
 * – What is the exact code I’ll have to insert in my 404.php file? (The ReadMe 
   says “Put the function call `useful404s();` in your `404.php` template file below
   the title.”, but how to write the complete code?)
 * – And – will it be correct to insert it just below the `<?php get_header(); ?
   >` code?
    Thanks, Kjetil

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [scorenalizer](https://wordpress.org/support/users/scorenalizer/)
 * (@scorenalizer)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-useful-404s-exact-code-to-insert/#post-1056633)
 * Simply yes it will be correct. the header will be not changed.. but u will be
   followed as 404 Not Found and your 404.php will be working…
 *  [devbit](https://wordpress.org/support/users/devbit/)
 * (@devbit)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-useful-404s-exact-code-to-insert/#post-1056638)
 * Just add the code: `<?php useful404s(); ?>` into your 404.php template where 
   you would like the output you set in the options to appear – generally somewhere
   under your heading tag.
 *  Thread Starter [Kjetil](https://wordpress.org/support/users/kjetilgf/)
 * (@kjetilgf)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-useful-404s-exact-code-to-insert/#post-1056823)
 * Thanks a lot
    devbit – that was just what I needed. A little back’n forth with
   placing the code in in the 404.php file, and we’re up and running. :o)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Useful 404’s] Exact code to insert’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [Kjetil](https://wordpress.org/support/users/kjetilgf/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-useful-404s-exact-code-to-insert/#post-1056823)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
