1. Home
  2. Wordpress
  3. Is 404

Check if the given page is a 404.

#wordpress#php#template
if( is_404() ) {
    echo "Ups, page not found!";
}
copy
Full Wordpress cheatsheet