Forums

Styling WordPress error pages (3 posts)

  1. kcire
    Member
    Posted 4 years ago #

    When someone wants to leave a comment and forgets to fill out a required field it will be redirected to a ugly plain WordPress page that doesn't fit the design.

    I have looked into the specific file (wp-comments-post.php) but do not understand enough of it to alter all of this...

    Is there a easy way to change the looks of error pages?

    It seems to miss all header and footer things and so, but when I add these all hell breaks loose...

  2. Otto
    Tech Ninja
    Posted 4 years ago #

    The actual location of this HTML is inside the wp-die() function in wp-includes/functions.php.

    Short of editing that file, there's no current way to change the look of that page.

  3. kcire
    Member
    Posted 4 years ago #

    I will look into the functions.php, thanks! Maybe this is something to focus on?...

Topic Closed

This topic has been closed to new replies.

About this Topic