How to Change WordPress From Strict to Transitional
WordPress allows you to change the HTML document type used by your website by editing a portion of code in the header file for your template. If your blog currently uses the "Strict" document type, you may find that certain coding elements do not work as you would expect, such as strikethrough text. You can correct this by changing the document type to "Transitional."
Instructions
-
-
1
Open the "Appearance" menu on the left side of the WordPress dashboard, and then click "Editor."
-
2
Confirm that the pull-down menu next to "Select theme to edit" displays your current WordPress theme. If it does not, select the theme and click the "Select" button.
-
-
3
Click the "Header" link under "Templates."
-
4
Locate the code "<!DOCTYPE html>" or "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">" in the header, and change it to "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">." It may be helpful to copy and paste the code from this article to avoid a typing error.
-
5
Click the "Update File" button at the bottom of the page.
-
1