How To Add Syntax Highlighter to WordPress Post/Pages

In Self Hosted WordPress Theme Based Website/blog Showing Syntax Highlighter Code is Very Easy. You just have to do is Just Download Syntax Highlighter Plugin from Here. Install Plug-in. After Downloading Plugin Just Follow Steps Below.

1. Just login Into your WordPress Dashboard.
2. Click on Plugin Tab from Left Menu.
3. Now You’re on Installed Plugins Page. Click On “Add New” Then “Upload Plugin
4. Select Plugin File what you have Downloaded Recently & Install Plugin.

If you don’t Find Any Error then find another plugin that suits your Theme Version. If not Than Your Done.

Now Plugin has installed successfully. Now The Main Question is how to Use Syntax Highlighter. To know How to Handle with this Please Find Steps Below

syntax highlighter code

Create A New Post or Static Page. Just Use above code  to Show your Text/Code as Syntax Highlighter, Below is the Example;

[code lang=”xml”]
</——–Code Starts Here—–>
<!DOCTYPE html>
<meta charset=”UTF-8″>
<title>Title of the document</title>

Content of the document……

</——–Code Ends Here—–>


Whenever You Need to Syntax your Code or Text you use these Simple Tags.

Hope You Enjoy The Tutorial.

0.00 avg. rating (0% score) - 0 votes