• 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)
  • 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…

    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

    (@kjetilgf)

    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.